CQTAI
Qwen Video · Video

Reference to VideoNEW

📌 What is thisUse one or more reference images to guide characters, style, or scene before generating video.
💡 When to useUse when character, product, or style consistency matters.

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-r2v / happyhorse-1.0-r2v / happyhorse-1.1-r2v
imageUrlsstring[]RequiredReference image URL(s). Note: jpg / png only, no webp. happyhorse accepts 1-9 images; reference the Nth with [Image N] in the prompt
promptstringVideo prompt / guidance instruction
durationintegerDuration in seconds, default 5, affects billing; happyhorse 3-15
aspectRatiostringRatio / resolution mapping; happyhorse also supports 4:5 / 5:4 / 9:21 / 21:9
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-r2v",
    "prompt": "保持参考图角色一致,在城市街头自然行走",
    "imageUrls": ["https://example.com/ref-1.jpg", "https://example.com/ref-2.jpg"],
    "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-r2v: 720P=60 / 1080P=100 credits/sec; happyhorse-1.0-r2v: 720P=90 / 1080P=160; happyhorse-1.1-r2v: 720P=90 / 1080P=120 (x your user rate). Auto-refunded on failure.