Doubao Video Generation
Use `POST /v1/videos` to call the Doubao model and submit asynchronous video tasks.
https://zx1.deepwl.net/v1/videoscurl -X POST https://zx1.deepwl.net/v1/videos \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "model=doubao-seedance-1-5-pro_720p" \
-F "prompt=The cat listens to music and nods its head while rain pours down" \
-F "size=4:3" \
-F "seconds=4"{
"id": "video_bbfbc1d2-ab22-44ca-b9dd-bc16983acac2",
"object": "video",
"model": "doubao-seedance-1-5-pro_720p",
"status": "queued",
"progress": 0,
"created_at": 1761635478,
"size": "720x720"
}The Doubao channel uses POST /v1/videos to submit tasks, with 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
Request Headers
Authorizationstring必填Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.
Request Body
Submitted as a multipart/form-data form; file fields accept image files directly.
modelstring必填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.
promptstring必填Prompt. The text description for the generated video, supporting both Chinese and English.
first_frame_imagefileFirst-frame image. Upload a single image file for first-frame-to-video scenarios. Supported image formats include png, jpeg, jpg, and webp.
last_frame_imagefileLast-frame image. Upload a single image file for first-and-last-frame-to-video scenarios. Supported image formats include png, jpeg, jpg, and webp.
sizestringVideo 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).
secondsintegerVideo duration (seconds). Valid range: >= 4 and < 12.
Request Examples
Response Examples
Response Fields
idstringTask ID.
objectstringFixed as video.
modelstringModel name.
statusstringTask status. Optional values include queued (in queue), processing (in progress), completed (completed), failed (failed), and cancelled (cancelled).
progressintegerProgress percentage (0-100).
created_atintegerCreation time (Unix timestamp).
sizestringVideo dimensions, for example 720x720.