Seedance 2 · Video
Text to VideoNEW
📌 What is this:Generate a video from a text description.
💡 When to use:Use to turn a text idea straight into a clip.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/seedance2 |
| Query Result | GET | /api/cqt/info/seedance2?id={taskId} |
⏱ Recommended polling interval:Video generation is slow (~1-4 min); poll every 15s until status = succeeded / failed.
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | — | Fixed seedance2 (default) |
| prompt | string | Required | Video description |
| seconds | integer | — | Duration (sec) 4-15, default 5 (alias duration) |
| resolution | string | — | Resolution 480p / 720p, default 720p (1080p downgrades to 720p) |
| ratio | string | — | Ratio auto / 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 (or use size) |
| size | string | — | Pixel size e.g. 1280x720 (or use ratio) |
| generateAudio | boolean | — | Whether to generate audio, default false |
| seed | integer | — | Random seed (optional) |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/seedance2 \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "seedance2",
"prompt": "a cat surfing on a rainbow wave, cinematic",
"size": "1280x720",
"seconds": 15,
"resolution": "720p",
"ratio": "16:9",
"generateAudio": false
}'
# -> { "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"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | Status code; 200 means success |
| msg | string | Status message; "success" on success |
| data.id | string | Task ID (taskId); use it to poll GET /api/cqt/info |
| data.status | string | Task status: succeeded / failed / otherwise still processing |
| data.resultUrl | string | URL of the generated video; returned when status = succeeded, null otherwise |
| data.errorMsg | string | null | Failure reason; null on success |
| data.createTime | string | Task creation time |
| data.completeTime | string | null | Task completion time; null until finished |
Billing & Credits
5 credits x duration (sec) (x your user rate). Auto-refunded on failure.