Doubao Video Generation
OpenAI Format
Doubao Video Generation
Use POST /v1/videos to call the Doubao model and submit asynchronous video tasks.
POST
Doubao Video Generation
Doubao Video Generation
The Doubao channel usesPOST /v1/videos to submit tasks, with multipart/form-data.
- The route entry is
POST /v1/videos. - Currently submitted as
multipart/form-data. - Supports text-to-video, first-frame-to-video, and first-and-last-frame-to-video.
- The first-frame image is uploaded via the
first_frame_imagefield, and the last-frame image is uploaded via thelast_frame_imagefield. - After successful submission, the task
idandstatusare returned. Use Task Status Query to poll for the result.
Supported Models
doubao-seedance-1-0-pro_480pdoubao-seedance-1-0-pro_720pdoubao-seedance-1-0-pro_1080pdoubao-seedance-1-5-pro_480pdoubao-seedance-1-5-pro_720pdoubao-seedance-1-5-pro_1080p
Method and Path
Request Example
First-Frame Video Generation Example
First-and-Last-Frame Video Generation Example
Response Example
Authentication
Body
string
required
Model name. Supported values include
doubao-seedance-1-0-pro_480p, doubao-seedance-1-0-pro_720p, doubao-seedance-1-0-pro_1080p, doubao-seedance-1-5-pro_480p, doubao-seedance-1-5-pro_720p, and doubao-seedance-1-5-pro_1080p.string
required
Prompt. The text description for the generated video, supporting both Chinese and English.
file
First-frame image. Upload a single image file for first-frame-to-video scenarios. Supported image formats include png, jpeg, jpg, and webp.
file
Last-frame image. Upload a single image file for first-and-last-frame-to-video scenarios. Supported image formats include png, jpeg, jpg, and webp.
string
Video aspect ratio. Optional values include
16:9, 4:3, 1:1, 3:4, 9:16, 21:9, keep_ratio (keeps the same aspect ratio as the uploaded image), and adaptive (automatically selects the most suitable aspect ratio based on the uploaded image ratio).integer
Video duration (seconds). Valid range:
>= 4 and < 12.Response
string
Task ID.
string
Fixed as
video.string
Model name.
string
Task status. Optional values include
queued (in queue), processing (in progress), completed (completed), failed (failed), and cancelled (cancelled).integer
Progress percentage (0-100).
integer
Creation time (Unix timestamp).
string
Video dimensions, for example
720x720.