Seedance 2.0 Video Generation API Documentation
Call the BeeRoute video generation API to generate video content. This document is dedicated to the Volcengine Ark Seedance 2.0 series of video generation models, supporting text-to-video, image-to-video (first frame), image-to-video (first and last frames), and multimodal reference-to-video (with free combinations of reference images, reference videos, and reference audio).
BeeRoute is fully compatible with the official Seedance 2.0/2.5 request paths and input/output parameters.
Submit a task:
- Official path:
https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks - BeeRoute path:
https://beeroute.ai/api/v3/contents/generations/tasks
Query a task:
- Official path:
https://ark.cn-beijing.volces.com/api/v3/contents/generations/tasks/{id} - BeeRoute path:
https://beeroute.ai/api/v3/contents/generations/tasks/{id}
View the official API documentation
View the official usage tutorial
Download the MD file of this document
1. Supported Models
Model List
| Model Name | Description | Applicable Scenarios |
|---|---|---|
doubao-seedance-2-0-260128 | Seedance 2.0 standard edition, supports 480p/720p/1080p | Text-to-video, image-to-video, multimodal reference-to-video |
doubao-seedance-2-0-fast-260128 | Seedance 2.0 fast edition, supports 480p/720p | Text-to-video, image-to-video, multimodal reference-to-video (faster, no 1080p support) |
doubao-seedance-2-5-260628 | Seedance 2.5, supports 480p/720p/1080p | Next-generation multimodal video creation model, now at an industrial-grade stage of "long-form narrative, strong reference, precise editing, multilingual". |
Seedance Video Generation Pricing
The system bills by seconds × resolution, with an automatic discount when video material input is included.
Base price per second (without video input):
| Model | 480P (USD/sec) | 720P (USD/sec) | 1080P (USD/sec) |
|---|---|---|---|
| doubao-seedance-2-0-260128 | $0.0684 | $0.1471 | $0.3666 |
| doubao-seedance-2-0-fast-260128 | $0.0547 | $0.1176 | Not supported |
| doubao-seedance-2-5-260628 | $0.0986 | $0.2221 | $0.5536 |
Automatic discount when video material input is included:
| Model | Discount factor | 720P discounted (USD/sec) |
|---|---|---|
| doubao-seedance-2-0-260128 | × 0.609 | $0.0896 |
| doubao-seedance-2-0-fast-260128 | × 0.595 | $0.07 |
| doubao-seedance-2-5-260628 | × 0.6 | $0.1332 |
Cost calculation examples (16:9 aspect ratio):
| Scenario | Model | Resolution | Duration | Unit price | Cost |
|---|---|---|---|---|---|
| Text-to-video | 2.0 | 720P | 5 sec | $0.1471/s | $0.7353 |
| Text-to-video | 2.0-fast | 720P | 5 sec | $0.1176/s | $0.5882 |
| Image-to-video | 2.0 | 480P | 10 sec | $0.0684/s | $0.6838 |
| Reference-to-video (with video) | 2.0 | 720P | 5 sec | $0.1471 × 0.609/s | $0.4478 |
| Text-to-video | 2.0 | 1080P | 5 sec | $0.3666/s | $1.8331 |
Billing notes:
- Billed by the actual generated video duration (seconds) × resolution multiplier; the
durationandresolutionparameters directly affect the cost.- When video material input is included (the request
contentcontains avideo_urltype), the system automatically multiplies by the discount factor.- Setting
duration: -1lets the model choose the duration automatically; if not specified, billing defaults to 5 seconds, so set it carefully.- Actual billing is subject to the group configuration in the admin console.
2. Generating Videos
Because video generation tasks take a relatively long time (typically 1–5 minutes), the API uses asynchronous calls. The whole flow consists of two core steps: "create task → poll for result".
API Endpoint
POST /v1/videos
Request Headers
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | User authentication token (Bearer sk-xxxx) |
| Content-Type | string | Yes | application/json |
Request Parameters (JSON Body)
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name. Valid values:doubao-seedance-2-5-260628 (latest)doubao-seedance-2-0-260128doubao-seedance-2-0-fast-260128 |
| content | array | Yes | Array of multimodal information fed into the model. See content parameter descriptions below. |
| resolution | string | No | Video resolution, default 720p. Options: 480p / 720p / 1080p (the fast model does not support 1080p). |
| ratio | string | No | Video aspect ratio, default adaptive (auto-adapt). Options: 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive. |
| duration | integer | No | Video duration (seconds), default 5. Range [4, 15], or set to -1 to let the model choose automatically.⚠️ Directly affects the cost; billed per second. |
| generate_audio | boolean | No | Whether to generate a video with audio (automatically generating voice, sound effects, and background music), default true. |
| seed | integer | No | Random seed, value [-1, 2^32-1], default -1 (random). The same seed can reproduce similar results. |
| watermark | boolean | No | Whether to add a watermark, default false. |
| return_last_frame | boolean | No | Whether to return the last-frame image of the video, default false. Can be used to chain continuous video generation. |
content parameter descriptions
content is an array; each element is distinguished by its type field. The following types can be freely combined:
Supported combinations:
- Text
- Text (optional) + image
- Text (optional) + video
- Text (optional) + image + audio
- Text (optional) + image + video
- Text (optional) + video + audio
- Text (optional) + image + video + audio
Text information
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Fixed as text |
| text | string | Yes | Text prompt describing the video you expect. Supports Chinese / English / Japanese / Spanish / Portuguese / Indonesian. Recommended: no more than 500 characters in Chinese, no more than 1000 words in English. |
{
"type": "text",
"text": "A kitten running under the moonlight"
}
Image information
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Fixed as image_url |
| image_url.url | string | Yes | Image URL or Base64 encoding (format: data:image/png;base64,{base64}) |
| role | string | Conditional | Image usage:first_frame: first-frame imagelast_frame: last-frame image (required in the first-and-last-frame scenario)reference_image: reference image (required in the multimodal reference scenario)Can be omitted in the first-frame scenario, defaulting to the first frame. |
{
"type": "image_url",
"image_url": { "url": "https://example.com/image.jpg" },
"role": "first_frame"
}
Image limits:
- Format: jpeg / png / webp / bmp / tiff / gif
- Aspect ratio (width/height): (0.4, 2.5)
- Width and height (px): (300, 6000)
- Single image size: ≤ 30 MB, request body ≤ 64 MB
- Count: 1 for first frame, 2 for first-and-last frames, 1–9 for reference images
Video information
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Fixed as video_url |
| video_url.url | string | Yes | The public URL of the video |
| role | string | Conditional | Fixed as reference_video: reference video |
{
"type": "video_url",
"video_url": { "url": "https://example.com/video.mp4" },
"role": "reference_video"
}
Video limits:
- Format: mp4 / mov
- Resolution: 480p / 720p / 1080p
- Single duration: [2, 15] seconds, up to 3, total duration ≤ 15s
- Single size: ≤ 50 MB
- Frame rate: [24, 60] FPS
Audio information
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Fixed as audio_url |
| audio_url.url | string | Yes | Audio URL or Base64 encoding (format: data:audio/wav;base64,{base64}) |
| role | string | Conditional | Fixed as reference_audio: reference audio |
{
"type": "audio_url",
"audio_url": { "url": "https://example.com/audio.mp3" },
"role": "reference_audio"
}
Audio limits:
- Format: wav / mp3
- Single duration: [2, 15] seconds, up to 3 segments, total duration ≤ 15s
- Single size: ≤ 15 MB
- Note: audio cannot be input alone; it must include at least 1 reference video or image
Request Examples
1. Text-to-video
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "A kitten running under the moonlight, its fur blowing in the wind, moonlight spilling over the grass"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}'
2. Image-to-video (first frame)
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "Bring the person in the image to life, with their hair blowing in the breeze"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/first_frame.jpg"
},
"role": "first_frame"
}
],
"resolution": "720p",
"duration": 5,
"generate_audio": false
}'
3. Image-to-video (first and last frames)
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "The camera rises gradually from eye level, with a soft lighting transition"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/first_frame.png"
},
"role": "first_frame"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/last_frame.png"
},
"role": "last_frame"
}
],
"resolution": "720p",
"duration": 5,
"generate_audio": false
}'
4. Multimodal reference-to-video (reference images)
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "The boy wearing glasses and a blue T-shirt in [Image 1] and the corgi puppy in [Image 2] sit on the lawn in [Image 3], 3D cartoon style"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/person.jpg"
},
"role": "reference_image"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/dog.jpg"
},
"role": "reference_image"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/lawn.jpg"
},
"role": "reference_image"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 8,
"generate_audio": true
}'
Tip: Reference images can be combined using natural language descriptions. Using the
[Image 1]xxx, [Image 2]xxxformat to precisely specify the purpose of each image is recommended for better results.
5. Multimodal reference-to-video (reference video + reference image + reference audio)
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "Following the camera movement of the reference video, make the character in the reference image dance to the rhythm of the reference audio"
},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/character.jpg"
},
"role": "reference_image"
},
{
"type": "video_url",
"video_url": {
"url": "https://example.com/reference_dance.mp4"
},
"role": "reference_video"
},
{
"type": "audio_url",
"audio_url": {
"url": "https://example.com/music.mp3"
},
"role": "reference_audio"
}
],
"resolution": "720p",
"duration": 10,
"generate_audio": true
}'
6. Fast edition model (fast)
curl --location --request POST 'https://beeroute.ai/v1/videos' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "doubao-seedance-2-0-fast-260128",
"content": [
{
"type": "text",
"text": "City at night, neon lights flickering, rainwater reflecting the lights"
}
],
"resolution": "720p",
"ratio": "21:9",
"duration": 5,
"generate_audio": true
}'
Note:
doubao-seedance-2-0-fast-260128does not support1080presolution; it supports only480p/720p.
Response Format
200 - Submission succeeded
{
"id": "task-xxxxxxxxxxxx"
}
Note: The task ID is valid for 7 days; after it expires, the result can no longer be queried. Do not create duplicate tasks; simply use the returned ID to poll for the result.
Error response
{
"code": "InvalidApiKey",
"message": "No API-key provided.",
"request_id": "7438d53d-6eb8-4596-8835-xxxxxx"
}
3. Querying Task Status
Video generation usually takes 1–5 minutes. Poll the status using the task ID, with a recommended interval of 15 seconds.
API Endpoint
GET /v1/videos/{video_id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| video_id | string | Yes | The id returned by the generation API |
Request Example
curl --location --request GET 'https://beeroute.ai/v1/videos/task-xxxxxxxxxxxx' \
--header 'Authorization: Bearer sk-xxx'
Response Format
200 - Completed successfully (Completed)
{
"id": "task-xxxxxxxxxxxx",
"object": "video.generation",
"model": "doubao-seedance-2-0-260128",
"status": "completed",
"progress": "100%",
"created_at": 1769263230,
"started_at": 1769263245,
"completed_at": 1769263322,
"video_url": "https://xxx/xxx.mp4"
}
200 - Processing (Processing)
{
"id": "task-xxxxxxxxxxxx",
"object": "video.generation",
"model": "doubao-seedance-2-0-260128",
"status": "processing",
"progress": "50%",
"created_at": 1769263230,
"started_at": 1769263245
}
200 - Queued (Queued)
{
"id": "task-xxxxxxxxxxxx",
"object": "video.generation",
"model": "doubao-seedance-2-0-260128",
"status": "queued",
"progress": "0%",
"created_at": 1769263230
}
200 - Task failed (Failed)
{
"id": "task-xxxxxxxxxxxx",
"object": "video.generation",
"model": "doubao-seedance-2-0-260128",
"status": "failed",
"created_at": 1769263230,
"started_at": 1769263245,
"completed_at": 1769263322,
"code": "InvalidParameter",
"message": "The parameter is invalid xxxxxx"
}
Key Field Descriptions
| Field | Type | Description |
|---|---|---|
| id | string | Task ID. |
| object | string | Fixed as video.generation. |
| model | string | The model name used. |
| status | string | Task status:queued: queuedprocessing: processingcompleted: completedfailed: failed |
| progress | string | Generation progress percentage (e.g. "50%", "100%"). |
| created_at | integer | Task creation time (Unix timestamp). |
| started_at | integer | Task processing start time (Unix timestamp). |
| completed_at | integer | Task completion time (Unix timestamp). |
| video_url | string | Video download link (returned only when completed). MP4 format, link valid for 24 hours; please download promptly. |
| code | string | Error code (returned only when failed). |
| message | string | Error details (returned only when failed). |
4. Task Status Transitions
queued → processing → completed / failed
- The initial status query is usually
queuedorprocessing. - When the status changes to
completed, the response containsvideo_url. - If the status is
failed, check thecodeandmessageerror information and retry. - The task ID is valid for 7 days; after it expires, the result can no longer be queried.
- The generated video URL is valid for 24 hours; please download and store it promptly.
5. Quick Reference: Applicable Models per Scenario
| Scenario | doubao-seedance-2-0-260128 | doubao-seedance-2-0-fast-260128 |
|---|---|---|
| Text-to-video | ✅ | ✅ |
| Image-to-video - first frame | ✅ | ✅ |
| Image-to-video - first and last frames | ✅ | ✅ |
| Multimodal reference-to-video (1–9 reference images) | ✅ | ✅ |
| Multimodal reference-to-video (1–3 reference videos) | ✅ | ✅ |
| Multimodal reference-to-video (1–3 reference audio) | ✅ | ✅ |
| 480p resolution | ✅ | ✅ |
| 720p resolution | ✅ | ✅ |
| 1080p resolution | ✅ | ❌ |
6. Parameter Limits Overview (Quick Reference)
| Dimension | Limit |
|---|---|
content[text] max length | Chinese ≤ 500 characters, English ≤ 1000 words |
duration range | [4, 15] seconds, or -1 (model auto-selects), default 5 |
resolution options | 480p / 720p / 1080p (fast does not support 1080p) |
ratio options | 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive |
| Single image size | ≤ 30 MB |
| Single image pixels | Width and height (300, 6000) px, aspect ratio (0.4, 2.5) |
| Image format | jpeg / png / webp / bmp / tiff / gif |
| Request body size | ≤ 64 MB (do not use Base64 for large files) |
First-frame image_url count | 1 |
First-and-last-frame image_url count | 2 (first frame + last frame) |
Reference image image_url count | 1–9 |
| Reference video count | Up to 3 segments, total duration ≤ 15s |
| Single video duration | [2, 15] seconds |
| Single video size | ≤ 50 MB |
| Video format | mp4 / mov |
| Reference audio count | Up to 3 segments, total duration ≤ 15s |
| Single audio size | ≤ 15 MB |
| Audio format | wav / mp3 |
| Task ID validity | 7 days |
| Video URL validity | 24 hours |
7. Important Notes
- The three image scenarios are mutually exclusive: image-to-video (first frame), image-to-video (first and last frames), and multimodal reference-to-video are 3 mutually exclusive scenarios and cannot be mixed.
- Audio cannot be input alone: reference audio must be accompanied by at least 1 reference video or reference image.
- Video with audio is enabled by default:
generate_audiodefaults totrue; to produce a silent video, explicitly set it tofalse. - Video URL is short-lived: the generated video link is valid for only 24 hours; please download and store it promptly.
- Last-frame chaining: setting
return_last_frame: truereturns the last-frame image of the video, which can be used to chain continuous video generation.
Last updated 2026-11-29 · Markdown source · llms.txt