content asset structure, and task polling response match the Volcengine Ark "Create Video Generation Task" API—existing Volcengine integrations only need to replace the base URL and API key.id.id.status reaches succeeded, read the video URL from content.video_url.SD|火山 token group also maintains backward compatibility with the legacy /doubao/api/v3/contents/generations/tasks prefix.SD|火山 or auto token groups. Check GET /v1/models for the exact models enabled on your account.model to the full Volcengine Ark model ID:| Model | Output Resolution | Duration | Reference Asset Limits | Draft Mode |
|---|---|---|---|---|
doubao-seedance-2-0-260128 | 480p, 720p, 1080p, 4k | 4–15 s, or -1 | 9 images, 3 videos, 3 audio clips | Unsupported |
doubao-seedance-2-0-fast-260128 | 480p, 720p | 4–15 s, or -1 | 9 images, 3 videos, 3 audio clips | Unsupported |
doubao-seedance-2-0-mini-260615 | 480p, 720p | 4–15 s, or -1 | 9 images, 3 videos, 3 audio clips | Unsupported |
doubao-seedance-2-5-260628 | 480p, 720p, 1080p, 4k | 4–30 s, or -1 | 30 images, 10 videos, 10 audio clips | Supported |
doubao-seedance-2-5-flash-261115 | 480p, 720p | 4–30 s, or -1 | 10 images, 5 videos, 5 audio clips | Unsupported |
4k.duration is -1, the model automatically chooses a duration within its valid range.| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Model ID from the table above. |
content | object[] | Yes | Ordered array of text prompts and media assets; see structure below. |
resolution | string | No | Output resolution; see supported values per model above. |
ratio | string | No | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, or adaptive. |
duration | integer | No | Output duration in seconds. |
generate_audio | boolean | No | Whether to generate video with audio. |
seed | integer | No | Random seed. |
watermark | boolean | No | Whether to apply a watermark. |
return_last_frame | boolean | No | Whether to return the final frame image. |
draft | boolean | No | Seedance 2.5 only: set to true to generate a 480p draft preview. |
omni_reference_task_type and tools) are also passed through as-is, subject to model support returned by the API. callback_url is not supported and immediately returns a parameter error—poll the task status endpoint instead. For upstream field definitions, see Volcengine Ark — Create Video Generation Task.content Items| Type | Structure | role |
|---|---|---|
| Text | {"type":"text","text":"..."} | Omit |
| Image | {"type":"image_url","image_url":{"url":"..."},"role":"..."} | reference_image, first_frame, or last_frame |
| Video | {"type":"video_url","video_url":{"url":"..."},"role":"reference_video"} | reference_video |
| Audio | {"type":"audio_url","audio_url":{"url":"..."},"role":"reference_audio"} | reference_audio |
| Draft | {"type":"draft_task","draft_task":{"id":"<draft_task_id>"}} | Omit |
asset:// URIs obtained via Seedance Asset Registration.@image1, @video1, @audio1, etc.{
"model": "doubao-seedance-2-5-flash-261115",
"content": [
{"type": "text", "text": "Early morning coastline as the camera slowly pushes forward"}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": false
}{
"model": "doubao-seedance-2-0-260128",
"content": [
{"type": "text", "text": "The character smiles and waves at the camera"},
{"type": "image_url", "image_url": {"url": "https://example.com/first.png"}, "role": "first_frame"}
],
"resolution": "1080p",
"ratio": "adaptive",
"duration": 5
}{
"model": "doubao-seedance-2-5-260628",
"content": [
{"type": "text", "text": "Feature the character from @image1, follow the camera movement in @video1, and generate a vertical video synced to the beat of @audio1"},
{"type": "image_url", "image_url": {"url": "https://example.com/character.png"}, "role": "reference_image"},
{"type": "video_url", "video_url": {"url": "https://example.com/motion.mp4"}, "role": "reference_video"},
{"type": "audio_url", "audio_url": {"url": "https://example.com/bgm.mp3"}, "role": "reference_audio"}
],
"resolution": "720p",
"ratio": "9:16",
"duration": 12
}draft: true and resolution: "480p" to generate a draft preview:{
"model": "doubao-seedance-2-5-260628",
"draft": true,
"resolution": "480p",
"content": [
{"type": "text", "text": "Virtual character smiling and waving"},
{"type": "image_url", "image_url": {"url": "https://example.com/portrait.png"}, "role": "reference_image"}
]
}status: "succeeded", submit a separate request referencing the draft task id to render the final video at 1080p or 4k:{
"model": "doubao-seedance-2-5-260628",
"content": [
{"type": "draft_task", "draft_task": {"id": "task_YOUR_DRAFT_ID"}}
],
"resolution": "4k"
}id:{"id": "task_EXAMPLE"}id is the Brioi task ID:{
"id": "task_EXAMPLE",
"model": "doubao-seedance-2-5-260628",
"status": "succeeded",
"content": {"video_url": "https://.../result.mp4"},
"resolution": "720p",
"ratio": "9:16",
"duration": 12,
"usage": {"completion_tokens": 129600, "total_tokens": 129600}
}status values: queued, running, succeeded, failed, cancelled, expired. On failure, inspect error.code and error.message. Output video URLs have a short TTL—download and save the file promptly. Poll every 5–10 seconds and stop once the task reaches a terminal state.usage.completion_tokens returned upon completion. Unit rates depend on the model, output resolution, and whether the input includes reference video, multiplied by your API key's token-group multiplier. An estimated charge is pre-authorized at submission and reconciled against actual usage upon completion; failed tasks receive a full refund of the pre-authorization.{"error": {"code": "InvalidParameter", "message": "Detailed error description"}}| HTTP Status | error.code | Common Cause |
|---|---|---|
400 | InvalidParameter | Invalid parameter—for example, unsupported resolution for the model, passing callback_url, or an empty content array |
401 | AuthenticationError | Missing or invalid API key |
403 | AccessDenied | Insufficient balance/quota, or no permission for the requested model |
404 | NotFound | Requested resource does not exist |
429 | AccountRateLimitExceeded | Rate limit exceeded |
500, 502, 503 | InternalServiceError | Transient service error or temporary unavailability |
status as failed with details in error.code and error.message.