Create a Seedance video
Create a Seedance video task on CometAPI. Seedance 2.0 supports exact WxH values up to 4K for text-to-video and reference-image generation.
WxH value from the table below for the size field.Use reference images
Only the Seedance 2.0 models acceptinput_reference. Add one input_reference file for image-guided generation. For advanced multi-reference prompts, repeat the same multipart field in upload order.
Seedance 2.0 is sensitive to how the prompt connects each reference image to the scene. Refer to the uploaded files by order, such as [Image 1], [Image 2], and [Image 3], then assign each image a clear role:
- Use
[Image 1]for the main subject, character, or product. - Use
[Image 2]for a secondary subject, prop, or companion. - Use
[Image 3]for the background, setting, lighting, or style.
Duration by model
If you omitseconds, CometAPI requests a 5-second clip. Send seconds as a string when you need a specific duration.
Size support by model
The table below follows the official Seedance resolution mapping and keeps the published size values in one place. For1080p, 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.
The 4K entries apply only to doubao-seedance-2-0. You can use them for text-to-video or for image-to-video requests that include input_reference. They do not apply to doubao-seedance-2-0-fast. Pass the exact WxH value shown in the table.
WxH value for the target model. Exact WxH support remains model-dependent, so inspect the completed media before relying on an undocumented size.Authorizations
Bearer token authentication. Use your CometAPI key.
Body
Text prompt that describes the video. Required. When using reference images, describe what each uploaded image should control, such as the subject from [Image 1], the secondary object from [Image 2], and the background or style from [Image 3]. Also state the action, camera motion, visual style, and scene.
"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 as an exact WxH value, such as 1280x720. For doubao-seedance-2-0 4K output, use 3840x2160, 3326x2494, 2880x2880, 2494x3326, 2160x3840, or 4398x1886. These 4K values work for text-to-video and requests with input_reference, but they do not apply to doubao-seedance-2-0-fast. Exact WxH support remains model-dependent, and an undocumented value can normalize to another size or fail.
^[1-9]\d{2,3}x[1-9]\d{2,3}$"1280x720"
"1920x1080"
"3840x2160"
"3326x2494"
"2880x2880"
"2494x3326"
"2160x3840"
"4398x1886"
"1112x834"
"960x960"
"834x1112"
"720x1280"
"1080x1920"
"1470x630"
Optional reference image uploaded as a multipart file. Repeat this field to send multiple reference images; the order of repeated fields is the order you should reference in the prompt as [Image 1], [Image 2], and so on. Use JPEG or PNG files for best compatibility. 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.
Response
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.