Skip to content
Back to skills

Cos Upload

ASecurity

Upload a local file to AceData Cloud CDN and get back a public URL. Use whenever you produce a local artifact (image, audio, video, doc) that another API needs as a URL, or that you need to return/persist (e.g. feed a generated image into an image-to-video API, or publish a finished video).

  • 221 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
securitybashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill cos-upload --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cos Upload?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cos Upload
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-cos-upload/badge)](https://www.skillsdirectory.com/skills/neversight-cos-upload)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cos-upload
description: Upload a local file to AceData Cloud CDN and get back a public URL. Use whenever you produce a local artifact (image, audio, video, doc) that another API needs as a URL, or that you need to return/persist (e.g. feed a generated image into an image-to-video API, or publish a finished video).
license: Apache-2.0
metadata:
  author: acedatacloud
  version: "1.0"
compatibility: Requires ACEDATACLOUD_PLATFORM_TOKEN (see _shared/authentication.md). Some runtimes instead provide a bundled uploader — prefer that when present.
---

# Upload a file → AceData CDN URL

Turn a local file into a public `https://cdn.acedata.cloud/...` URL.

## Upload (multipart, synchronous)

```bash
curl -s -X POST https://platform.acedata.cloud/api/v1/files/ \
  -H "Authorization: Bearer $ACEDATACLOUD_PLATFORM_TOKEN" \
  -F "file=@/path/to/video.mp4"
```

Response:

```json
{"file_url": "https://cdn.acedata.cloud/7f849b80b9.mp4"}
```

→ use `file_url`. One file per request (loop for several).

## When to use

- **Feed a generated asset into another API by URL** — e.g. upload a gpt-image-2 still, then pass its URL to `seedance` / `kling` image-to-video.
- **Publish/return a finished artifact** (final video, cover image).
- **Persist intermediate artifacts** so a later run can re-download and continue.

## Notes

- Auth uses the **platform token** (`ACEDATACLOUD_PLATFORM_TOKEN`), not the per-service API token — the files endpoint is on `platform.acedata.cloud`, not `api.acedata.cloud`.
- If your runtime ships a bundled uploader (e.g. a worker that owns the storage creds), prefer it — it avoids handling the platform token directly.
- The returned URL is CDN-served and stable; safe to store and re-download later.

Files in this skill

  • SKILL.md1.7 KB
  • description_ar.txt540 B
  • description_cn.txt339 B
  • description_de.txt396 B
  • description_en.txt292 B
  • description_es.txt325 B
  • description_fr.txt368 B
  • description_it.txt337 B
  • description_ja.txt503 B
  • description_ko.txt353 B
  • description_ru.txt691 B
  • description_tw.txt339 B
  • stats.json70 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.