cos-upload
Installation
SKILL.md
Upload a file → AceData CDN URL
Turn a local file into a public https://cdn.acedata.cloud/... URL.
Upload (multipart, synchronous)
curl -s -X POST https://platform.acedata.cloud/api/v1/files/ \
-H "Authorization: Bearer $ACEDATACLOUD_PLATFORM_TOKEN" \
-F "file=@/path/to/video.mp4"
On HTTP 200, use the returned file_url rather than constructing a URL. The platform generates a unique uploads/<uuid> path and preserves the uploaded filename's safe extension. The returned mime is the MIME type written to object-storage metadata. One file per request (loop for several); the default limit is 100 MB per file.
Use a filename whose extension matches the actual content. The upload part's MIME type is stored as supplied; if omitted or application/octet-stream, the platform infers it from the filename using standard MIME mappings. Neither extension handling nor MIME inference converts the file's bytes.