Qwen Video · Video Generation

Text to VideoNEW

📌 What is thisGenerate a video directly from a text prompt.
💡 When to useUse when you do not have a reference image and want to create a clip from an idea.

Endpoints

UsageMethodPath
Submit taskPOST/api/cqt/generator/qwen
Query ResultGET/api/cqt/info/qwen?id={taskId}
Recommended polling intervalVideo jobs usually take 1-5 minutes. Poll every 15-20s until status = succeeded / failed.

Request Parameters

ParamTypeRequiredDescription
modelstringRequiredwan2.7-t2v / wan2.5-t2v-preview / happyhorse-1.0-t2v / happyhorse-1.1-t2v
promptstringRequiredVideo prompt
durationintegerDuration in seconds, default 5, affects billing; wan2.5-preview supports only 5 / 10
aspectRatiostringRatio / resolution mapping: 16:9 and 9:16 usually map to 1080P; 1:1 maps to 720P
negativePromptstringNegative prompt
promptExtendbooleanWhether to extend the prompt, default true
audioUrlstringOptional audio URL when supported
webhookUrlstringCompletion webhook URL

Request Example

curl -X POST https://api.cqtai.com/api/cqt/generator/qwen \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "wan2.7-t2v",
    "prompt": "一只柯基在阳光草地上奔跑,慢动作,电影感",
    "aspectRatio": "16:9",
    "duration": 5
  }'
# -> { "code":200, "data":"<taskId>" }

Response Example

{
  "code": 200,
  "data": {
    "id": "<taskId>",
    "status": "succeeded",
    "resultUrl": "https://.../result.mp4",
    "createTime": "2026-06-15 10:00:00",
    "completeTime": "2026-06-15 10:02:00"
  }
}

Billing & Credits

wan2.7-t2v: 720P=60 / 1080P=100 credits/sec; wan2.5-t2v-preview: 480P=30 / 720P=60 / 1080P=100 credits/sec (x your user rate). Auto-refunded on failure.