id, poll task status, and read the output video URL from metadata.url once completed.id from the creation response into {task_id} when polling. Models on this page are visible to API keys in the Seedance 2.0 [按秒] or auto token groups; check GET /v1/models for the authoritative list available to your account.Default aspect ratio: Seedance 2 defaults to 16:9whenaspect_ratiois omitted, whereas Seedance 2.5 defaults to9:16. Specifyaspect_ratioexplicitly when migrating between versions.
| Model | Description | Supported Resolutions |
|---|---|---|
seedance-2-0-mini | Mini variant sharing the exact request, asset, and async task contract of Seedance 2. | 480p, 720p |
seedance-2-0-fast | Faster generation speed suited for previews and batch production. | 480p, 720p |
seedance-2-0 | Prioritizes visual quality, fine detail, and temporal stability. | 480p, 720p, 1080p, 4K |
ref.| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | — | seedance-2-0-mini, seedance-2-0-fast, or seedance-2-0. |
prompt | string | Yes | — | Video prompt. Reference general assets using literal @图片N, @视频N, and @音频N tags. |
duration | integer | Yes | — | Output video duration; must be an integer from 4 to 15 seconds (4–15). |
resolution | string | No | 720p | Mini and Fast support 480p and 720p; seedance-2-0 additionally supports 1080p and 4K. |
aspect_ratio | string | No | 16:9 | Supports 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. |
ref | object[] | By scenario | — | Unified reference asset array; omit for text-to-video. |
ref Object| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Publicly readable direct HTTPS link to the media file (no login required). |
type | string | Yes | image, video, or audio. |
role | string | No | Optional for general reference assets; set first_frame for strict first frame or last_frame for strict last frame. |
type and role:type | Allowed role Values | When role Is Omitted |
|---|---|---|
image | reference_image, first_frame, last_frame | Treated as reference_image. |
video | reference_video | Treated as reference_video. |
audio | reference_audio | Treated as reference_audio. |
ref Contents | Generation Mode |
|---|---|
Omit ref | Text-to-video |
Only general reference_* assets | General image or multi-asset reference video |
One role=first_frame image | Strict first-frame video |
One first_frame image and one last_frame image | Strict first-and-last-frame video |
first_frame can be submitted alone; last_frame must be submitted together with first_frame.type set to image, with at most one first_frame and one last_frame in any array order.ref does not make it a strict first frame—you must explicitly set role=first_frame.1 within each media type in the order they appear in ref: the first image is @图片1, the first video is @视频1, and the first audio clip is @音频1. @图片1, @视频1, and @音频1 (and @图片N, @视频N, @音频N) are literal syntax tokens parsed by the Seedance backend—keep them unchanged in English prompts and do not translate them to @image1, @video1, or @audio1. Asset types and numbers in prompt must match the actual assets in ref; never reference nonexistent indices.role and do not require asset tags in prompt.| Media Type | Count | Formats | Per-File Limit | Additional Constraints |
|---|---|---|---|---|
| Image | 0–9 | JPEG, PNG, WebP | ≤ 30 MB | Width and height ≥ 300 px; long edge ≤ 4000 px; aspect ratio 0.4–2.5. |
| Video | 0–3 | MP4, MOV | 2–15 s, ≤ 50 MB | Cumulative duration ≤ 15 s; H.264/H.265 and 24–60 FPS recommended. |
| Audio | 0–3 | MP3, WAV | 2–15 s, ≤ 15 MB | Cumulative duration ≤ 15 s; cannot be the sole reference. |
ref count must be 1–15; 9 images, 3 videos, and 3 audio clips represent full capacity rather than minimum requirements. The platform never pads missing items or silently truncates excess assets.type; and remaining valid until task completion (avoid short-lived signed URLs near expiration).ref for text-to-video:{
"model": "seedance-2-0-fast",
"prompt": "A futuristic city street after rain, neon lights reflecting on the wet pavement, slow dolly-in camera movement",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}{
"model": "seedance-2-0",
"prompt": "Keep the character's face and outfit consistent with @图片1, follow the motion and camera pacing of @视频1, and match the speaking voice to @音频1.",
"duration": 10,
"resolution": "720p",
"aspect_ratio": "16:9",
"ref": [
{ "url": "https://example.com/character.png", "type": "image" },
{ "url": "https://example.com/motion-6s.mp4", "type": "video" },
{ "url": "https://example.com/voice-6s.mp3", "type": "audio" }
]
}first_frame for strict first-frame generation; when passing last_frame, first_frame is also required.{
"model": "seedance-2-0",
"prompt": "Smooth transition from early morning to night as city neon lights illuminate one by one",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9",
"ref": [
{ "url": "https://example.com/morning.png", "type": "image", "role": "first_frame" },
{ "url": "https://example.com/night.png", "type": "image", "role": "last_frame" }
]
}{
"model": "seedance-2-0-fast",
"prompt": "Generate a new video following the motion and camera pacing of @视频1",
"duration": 4,
"resolution": "720p",
"aspect_ratio": "16:9",
"ref": [
{ "url": "https://example.com/source-video.mp4", "type": "video" }
]
}id and use it to poll task status:{
"id": "task_xxxxxxxxxxxxxxxxxxxxxxxx",
"object": "video",
"model": "seedance-2-0",
"status": "queued",
"progress": 0,
"created_at": 1780682136
}| Status | Description |
|---|---|
queued | Task is queued for processing. |
in_progress | Video is currently being generated. |
completed | Video generation succeeded. |
failed | Task failed; inspect error. |
{
"id": "task_xxxxxxxxxxxxxxxxxxxxxxxx",
"status": "completed",
"metadata": {
"url": "https://example.com/result.mp4"
},
"result_url": "https://example.com/result.mp4"
}metadata.url upon completion; result_url carries the same URL as a fallback. Responses may also include auxiliary fields such as object, model, progress, or created_at whose presence may vary—do not depend on them. Result URLs expire, and expired tasks may omit the result URL on subsequent polls; download or persist the video immediately upon completion.{
"id": "task_xxxxxxxxxxxxxxxxxxxxxxxx",
"status": "failed",
"error": {
"code": "task_failed",
"message": "Prompt failed content moderation"
}
}status, and error.message.| HTTP Status | Common Causes |
|---|---|
400 | Invalid parameters, duration, resolution, aspect ratio, asset counts, or asset combinations; querying a nonexistent task also returns 400 with code set to task_not_exist |
401 | Missing or invalid API key |
403 | Insufficient balance/quota, or API key lacks permission for the model or token group |
429 | Rate limit exceeded |
503 | Service temporarily unavailable |
500 / 502 | Transient server error |
model, prompt, or duration; unsupported duration, resolution, or aspect ratio; incomplete ref objects; mismatched type and role; invalid first/last frame combinations; mixing general reference assets with strict frame assets; exceeding asset count, file size, dimension, duration, or aspect-ratio limits; submitting audio as the sole reference; referencing nonexistent or mismatched asset tags in prompt; unreachable or mismatched-MIME asset URLs; and prompts or assets triggering content moderation policies.status becomes failed with details in error.code and error.message. Do not pass chat completion fields such as messages, temperature, top_p, or stream to /v1/videos.