Documentation Index Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
Use this file to discover all available pages before exploring further.
ByteDance Doubao video generation model 1.5 Pro version
Supports text-to-video generation
Supports first frame / last frame / multi-reference image control (1-4 reference images)
Supports audio generation (1.5 Pro exclusive feature)
Async task management, query results by task ID
Authorizations
All endpoints require Bearer Token authentication Get your API Key from the API Key Management Page Add to request header: Authorization: Bearer YOUR_API_KEY
Body
model
string
default: "doubao-seedance-1-5-pro"
required
Video generation model name Available models:
doubao-seedance-1-5-pro - 1.5 Pro version, supports audio generation and multi-reference images
Video content description Describe scenes, actions, styles in detail for better generation results Example: "Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand"
Video duration (seconds) Supported range: 4 ~ 12 seconds Default: 5
Video aspect ratio Options:
16:9 - Landscape
9:16 - Portrait
1:1 - Square
4:3 - Traditional ratio
3:4 - Vertical traditional ratio
21:9 - Ultra-wide
Default: 16:9
Resolution and Aspect Ratio Combinations
Resolution Supported Aspect Ratios Notes 480p 16:9, 4:3, 1:1, 3:4, 9:16, 21:9 All supported 720p 16:9, 4:3, 1:1, 3:4, 9:16, 21:9 All supported (default)
1.5 Pro Resolution Limitation : 1.5 Pro does not support 1080p resolution, maximum is 720p
Image URL array for image-to-video generation Auto role assignment rules:
1 image = first frame
2 images = first frame + last frame
3+ images = first frame + last frame + reference images
Example: ["https://example.com/first.png", "https://example.com/last.png"] image_urls and image_with_roles cannot be used together
Image array with roles for more precise control Image role Options:
first_frame - First frame image, as video starting frame (only one supported)
last_frame - Last frame image, as video ending frame (only one supported)
reference_image - Reference image, for guiding video style (supports 1-4 images)
Example: [
{ "url" : "https://example.com/start.png" , "role" : "first_frame" },
{ "url" : "https://example.com/end.png" , "role" : "last_frame" },
{ "url" : "https://example.com/ref1.png" , "role" : "reference_image" },
{ "url" : "https://example.com/ref2.png" , "role" : "reference_image" }
]
image_urls and image_with_roles cannot be used together
First and last frame support only one image each
Reference images use reference_image role (Note: 1.0 version uses reference)
Extended parameters Video resolution Options:
480p - Standard definition
720p - High definition (default)
1.5 Pro does not support 1080p Seed integer for controlling generation randomness Range: -1 ~ 2^32-1 Same seed value produces similar results, but not guaranteed to be identical
Whether to generate audio When set to true, the video will include AI-generated accompanying audio 1.5 Pro exclusive feature
Whether to fix camera position When set to true, the camera position remains fixed
Differences from 1.0 Version
Feature 1.0 fast/quality 1.5 Pro Default resolution 1080p 720p Supported resolutions 480p/720p/1080p 480p/720p Duration range 2-12s 4-12s Audio generation Not supported Supported Reference image role reference (1 image)reference_image (1-4 images)
Response
Unique task identifier for status queries
Object type, always generation.task
Task status
queued - Queued for processing
in_progress - Processing
completed - Successfully completed
failed - Failed
Task progress percentage (0-100)
Task creation timestamp (Unix timestamp)
cURL (Text-to-Video with Audio)
cURL (High-Quality Portrait Short Video)
cURL (Multi-Reference Image Style Control)
Python
JavaScript
curl --request POST \
--url https://toapis.com/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "doubao-seedance-1-5-pro",
"prompt": "Sunset at the beach, golden sunlight on the sea, waves gently hitting the sand",
"duration": 5,
"aspect_ratio": "16:9",
"metadata": {
"resolution": "720p",
"audio": true
}
}'
{
"id" : "task_vid_xyz789ghi012" ,
"object" : "generation.task" ,
"model" : "doubao-seedance-1-5-pro" ,
"status" : "queued" ,
"progress" : 0 ,
"created_at" : 1703884800 ,
"metadata" : {}
}