FFmpeg Media · FFmpeg Media

Upload FileComing Soon

🚧 Coming soon — docs preview only, online run not yet available.
📌 What is thisUpload a media file (multipart); returns a CDN URL synchronously.
💡 When to useThe first step for every operation — turn your local file into a usable input URL.

Endpoints

UsageMethodPath
Submit taskPOST/v1/ffmpeg/upload
Query ResultGET/v1/ffmpeg/info?id={taskId}
Recommended polling intervalPoll every 3-5s (response includes progress 0-100) until status = succeeded / failed. Single-task timeout is 300s with auto-refund.

Request Parameters

ParamTypeRequiredDescription
filefileRequiredMedia file, <=200MB (multipart form field)

Request Example

curl -X POST https://api.cqtai.com/v1/ffmpeg/upload \
  -H 'Authorization: Bearer <API_KEY>' \
  -F 'file=@/path/to/video.mp4'
# -> { "code":200, "data":"https://cdn.novapi.ai/tmp/1718700000000_ab12cd.mp4" }

Response Example

{
  "code": 200,
  "msg": "success",
  "data": "https://cdn.novapi.ai/tmp/1718700000000_ab12cd.mp4"
}

Billing & Credits

Flat 1 credit (not charged on failure) (x your user rate). Auto-refunded on failure.