BeeRoute logoBeeRoute.

Home / Docs / Seedance 2.0 Video Generation API Documentation

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 NameDescriptionApplicable Scenarios
doubao-seedance-2-0-260128Seedance 2.0 standard edition, supports 480p/720p/1080pText-to-video, image-to-video, multimodal reference-to-video
doubao-seedance-2-0-fast-260128Seedance 2.0 fast edition, supports 480p/720pText-to-video, image-to-video, multimodal reference-to-video (faster, no 1080p support)
doubao-seedance-2-5-260628Seedance 2.5, supports 480p/720p/1080pNext-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):

Model480P (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.1176Not supported
doubao-seedance-2-5-260628$0.0986$0.2221$0.5536

Automatic discount when video material input is included:

ModelDiscount factor720P 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):

ScenarioModelResolutionDurationUnit priceCost
Text-to-video2.0720P5 sec$0.1471/s$0.7353
Text-to-video2.0-fast720P5 sec$0.1176/s$0.5882
Image-to-video2.0480P10 sec$0.0684/s$0.6838
Reference-to-video (with video)2.0720P5 sec$0.1471 × 0.609/s$0.4478
Text-to-video2.01080P5 sec$0.3666/s$1.8331

Billing notes:

  • Billed by the actual generated video duration (seconds) × resolution multiplier; the duration and resolution parameters directly affect the cost.
  • When video material input is included (the request content contains a video_url type), the system automatically multiplies by the discount factor.
  • Setting duration: -1 lets 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

ParameterTypeRequiredDescription
AuthorizationstringYesUser authentication token (Bearer sk-xxxx)
Content-TypestringYesapplication/json

Request Parameters (JSON Body)

ParameterTypeRequiredDescription
modelstringYesModel name. Valid values:
doubao-seedance-2-5-260628 (latest)
doubao-seedance-2-0-260128
doubao-seedance-2-0-fast-260128
contentarrayYesArray of multimodal information fed into the model. See content parameter descriptions below.
resolutionstringNoVideo resolution, default 720p. Options: 480p / 720p / 1080p (the fast model does not support 1080p).
ratiostringNoVideo aspect ratio, default adaptive (auto-adapt). Options: 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive.
durationintegerNoVideo 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_audiobooleanNoWhether to generate a video with audio (automatically generating voice, sound effects, and background music), default true.
seedintegerNoRandom seed, value [-1, 2^32-1], default -1 (random). The same seed can reproduce similar results.
watermarkbooleanNoWhether to add a watermark, default false.
return_last_framebooleanNoWhether 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
ParameterTypeRequiredDescription
typestringYesFixed as text
textstringYesText 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
ParameterTypeRequiredDescription
typestringYesFixed as image_url
image_url.urlstringYesImage URL or Base64 encoding (format: data:image/png;base64,{base64})
rolestringConditionalImage usage:
first_frame: first-frame image
last_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
ParameterTypeRequiredDescription
typestringYesFixed as video_url
video_url.urlstringYesThe public URL of the video
rolestringConditionalFixed 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
ParameterTypeRequiredDescription
typestringYesFixed as audio_url
audio_url.urlstringYesAudio URL or Base64 encoding (format: data:audio/wav;base64,{base64})
rolestringConditionalFixed 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]xxx format 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-260128 does not support 1080p resolution; it supports only 480p / 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

ParameterTypeRequiredDescription
video_idstringYesThe 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

FieldTypeDescription
idstringTask ID.
objectstringFixed as video.generation.
modelstringThe model name used.
statusstringTask status:
queued: queued
processing: processing
completed: completed
failed: failed
progressstringGeneration progress percentage (e.g. "50%", "100%").
created_atintegerTask creation time (Unix timestamp).
started_atintegerTask processing start time (Unix timestamp).
completed_atintegerTask completion time (Unix timestamp).
video_urlstringVideo download link (returned only when completed). MP4 format, link valid for 24 hours; please download promptly.
codestringError code (returned only when failed).
messagestringError details (returned only when failed).

4. Task Status Transitions

queued → processing → completed / failed
  • The initial status query is usually queued or processing.
  • When the status changes to completed, the response contains video_url.
  • If the status is failed, check the code and message error 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

Scenariodoubao-seedance-2-0-260128doubao-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)

DimensionLimit
content[text] max lengthChinese ≤ 500 characters, English ≤ 1000 words
duration range[4, 15] seconds, or -1 (model auto-selects), default 5
resolution options480p / 720p / 1080p (fast does not support 1080p)
ratio options16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive
Single image size≤ 30 MB
Single image pixelsWidth and height (300, 6000) px, aspect ratio (0.4, 2.5)
Image formatjpeg / png / webp / bmp / tiff / gif
Request body size≤ 64 MB (do not use Base64 for large files)
First-frame image_url count1
First-and-last-frame image_url count2 (first frame + last frame)
Reference image image_url count1–9
Reference video countUp to 3 segments, total duration ≤ 15s
Single video duration[2, 15] seconds
Single video size≤ 50 MB
Video formatmp4 / mov
Reference audio countUp to 3 segments, total duration ≤ 15s
Single audio size≤ 15 MB
Audio formatwav / mp3
Task ID validity7 days
Video URL validity24 hours

7. Important Notes

  1. 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.
  2. Audio cannot be input alone: reference audio must be accompanied by at least 1 reference video or reference image.
  3. Video with audio is enabled by default: generate_audio defaults to true; to produce a silent video, explicitly set it to false.
  4. Video URL is short-lived: the generated video link is valid for only 24 hours; please download and store it promptly.
  5. Last-frame chaining: setting return_last_frame: true returns 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