Creates an asynchronous video generation task using Seedance 2.0 or Seedance 2.0 Fast.
Authorization header:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | No | seedance_2_0 | Supported values: seedance_2_0, seedance_2_0_fast |
prompt | string | Yes | - | Text prompt for video generation |
function_mode | string | No | omni_reference | Supported values: first_last_frames, omni_reference |
ratio | string | No | 16:9 | Supported values: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
duration | integer | No | 5 | Output duration in seconds. Range: 4 to 15 |
image_urls | string[] | No | [] | List of image URLs |
audio_urls | string[] | No | [] | List of audio URLs |
video_urls | string[] | No | [] | List of video URLs |
prompt is requiredmodel, ratio, and function_mode must use supported valuesduration must be between 4 and 15 secondsfunction_mode = first_last_frames, a maximum of 2 images is allowedfunction_mode = omni_reference, audio-only input is not allowed; at least one image or video must be included if audio is providedvideo_urls maximum: 3image_urls maximum: 9audio_urls maximum: 3task_idtask_id to query task status and retrieve the final resultcode with different message values, so client logic should inspect message when neededcode != 200 indicates the request failedmessage contains the specific error reasonBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Validation rules:
prompt is requiredmodel, ratio, and function_mode must use supported valuesduration must be between 4 and 15 secondsfunction_mode = first_last_frames, a maximum of 2 images is allowedfunction_mode = omni_reference, audio-only input is not allowed; at least one image or video must be included if audio is providedseedance_2_0, seedance_2_0_fast first_last_frames, omni_reference 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 4 <= x <= 15933