Create a Seedance video task on CometAPI. The size field accepts exact WxH values and ratio preset labels. Use the documented Seedance resolution table for predictable results.
curl https://api.cometapi.com/v1/videos \
-H "Authorization: Bearer <COMETAPI_KEY>" \
-F 'prompt="A slow cinematic camera push across a coastal landscape at sunrise"' \
-F 'model="doubao-seedance-2-0"' \
-F 'seconds="4"' \
-F 'size="16:9"'{
"id": "task_abc123",
"task_id": "task_abc123",
"object": "video",
"model": "doubao-seedance-2-0",
"status": "queued",
"progress": 0,
"created_at": 1776681149
}Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
size field accepts exact WxH values and ratio preset labels. Ratio preset labels map to the model-specific default WxH values in the table below. If you need a specific 720p or 1080p output, pass the exact WxH value instead of only a ratio preset. Exact WxH support remains model-dependent, so use a documented size entry for the target model when the rendered resolution must stay fixed.1080p, the rightmost column lists the documented Seedance 1.5 Pro and Seedance 2.0 values. Seedance 2.0 Fast is not listed in that official 1080p table.
| Resolution | Aspect ratio | Pixel values for Seedance 1.0 series | Pixel values for Seedance 1.5 Pro / Seedance 2.0 / Seedance 2.0 Fast |
|---|---|---|---|
480p | 16:9 | 864×480 | 864×496 |
4:3 | 736×544 | 752×560 | |
1:1 | 640×640 | 640×640 | |
3:4 | 544×736 | 560×752 | |
9:16 | 480×864 | 496×864 | |
21:9 | 960×416 | 992×432 | |
720p | 16:9 | 1248×704 | 1280×720 |
4:3 | 1120×832 | 1112×834 | |
1:1 | 960×960 | 960×960 | |
3:4 | 832×1120 | 834×1112 | |
9:16 | 704×1248 | 720×1280 | |
21:9 | 1504×640 | 1470×630 | |
1080p | 16:9 | 1920×1088 | 1920×1080 |
4:3 | 1664×1248 | 1664×1248 | |
1:1 | 1440×1440 | 1440×1440 | |
3:4 | 1248×1664 | 1248×1664 | |
9:16 | 1088×1920 | 1080×1920 | |
21:9 | 2176×928 | 2206×946 |
doubao-seedance-1-5-pro family, ratio-only requests use the 720p row from the table above:
| Ratio preset | Default rendered size |
|---|---|
16:9 | 1280x720 |
4:3 | 1112x834 |
1:1 | 960x960 |
3:4 | 834x1112 |
9:16 | 720x1280 |
21:9 | 1470x630 |
WxH when the rendered resolution must stay fixed. For example, doubao-seedance-1-5-pro can render 1920x1080 and 1080x1920 as requested. Exact WxH remains model-dependent. doubao-seedance-2-0 can accept 1920x1080 and still render 1280x720.Bearer token authentication. Use your CometAPI key.
Text prompt that describes the video. Required.
"A slow cinematic camera push across a coastal landscape at sunrise."
Seedance model id. Only the two 2.0 models accept input_reference.
doubao-seedance-2-0, doubao-seedance-2-0-fast, doubao-seedance-1-5-pro, doubao-seedance-1-0-pro "doubao-seedance-2-0"
Video duration in seconds. The accepted range depends on the model: doubao-seedance-2-0 and doubao-seedance-2-0-fast accept 4 to 15, doubao-seedance-1-5-pro accepts 4 to 12, and doubao-seedance-1-0-pro accepts 2 to 10. The default is 5 for every model.
2 <= x <= 155
Output size. Use either a ratio preset label such as 16:9, 4:3, 1:1, 3:4, 9:16, or 21:9, or an exact WxH value such as 1280x720. Ratio preset labels map to model-specific default render sizes. If you need a fixed 720p or 1080p output, pass the exact WxH value instead of only a ratio preset. Exact WxH support remains model-dependent, and an undocumented or unsupported raw WxH value can normalize to another size or fail.
^(16:9|4:3|1:1|3:4|9:16|21:9|[1-9]\d{2,3}x[1-9]\d{2,3})$"16:9"
"1280x720"
"1920x1080"
"4:3"
"1112x834"
"1:1"
"960x960"
"3:4"
"834x1112"
"9:16"
"720x1280"
"1080x1920"
"21:9"
"1470x630"
Optional reference image. When included, the job runs in image-to-video mode and uses the image as the visual anchor. Only doubao-seedance-2-0 and doubao-seedance-2-0-fast accept this field; sending it with a 1.0 Pro or 1.5 Pro model returns HTTP 400.
Task created. Save the returned id and poll GET /v1/videos/{id}.
Task id. Use it as the path parameter for GET /v1/videos/{id}.
Object type, always video.
Echo of the requested model id.
Initial task status. Newly created tasks are returned as queued.
queued, in_progress, completed, failed, error Completion percentage. 0 at creation.
0 <= x <= 100Task creation time as a Unix timestamp in seconds.
Alias of id returned for compatibility. The value matches id.
curl https://api.cometapi.com/v1/videos \
-H "Authorization: Bearer <COMETAPI_KEY>" \
-F 'prompt="A slow cinematic camera push across a coastal landscape at sunrise"' \
-F 'model="doubao-seedance-2-0"' \
-F 'seconds="4"' \
-F 'size="16:9"'{
"id": "task_abc123",
"task_id": "task_abc123",
"object": "video",
"model": "doubao-seedance-2-0",
"status": "queued",
"progress": 0,
"created_at": 1776681149
}