##All endpoints require Bearer Token authentication##
Get API Key:
Visit the API Key Management Page to obtain your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYVideo generation model name
seedance-2.0-reference-to-video "seedance-2.0-reference-to-video"
Text prompt describing the desired video. Supports both Chinese and English, recommended no more than 500 characters for Chinese
Details:
"Use the first-person perspective framing of video 1 throughout, use audio 1 as background music throughout. First-person perspective fruit tea promotional video..."
Reference image URL array, 0–9 images
Role description:
| Media Type | Role | Typical Usage |
|---|---|---|
| Image | reference_image | Style reference, product image, first/last frame (specified via prompt) |
Image requirements:
.jpeg, .png, .webp0.4 ~ 2.5300 ~ 6000 px30MB64MB, do not use Base64 encodingNote: You cannot provide only audio_urls; at least 1 image (image_urls) or 1 video (video_urls) must be included
9[
"https://example.com/ref1.jpg",
"https://example.com/ref2.jpg"
]Reference video URL array, 0–3 videos
Role description:
| Media Type | Role | Typical Usage |
|---|---|---|
| Video | reference_video | Camera movement reference, motion reference, original video for editing/extension |
Video requirements:
.mp4, .mov2 ~ 15 seconds, max 3 videos, total duration of all videos ≤ 15 seconds0.4 ~ 2.5300 ~ 6000 px409,600 ~ 927,408 (e.g., 640×640 ~ 834×1112)50MB24 ~ 60 FPS64MB, do not use Base64 encodingNote: You cannot provide only audio_urls; at least 1 image (image_urls) or 1 video (video_urls) must be included
3["https://example.com/reference.mp4"]Reference audio URL array, 0–3 clips
Role description:
| Media Type | Role | Typical Usage |
|---|---|---|
| Audio | reference_audio | Background music, sound effects, voice/dialogue reference |
Audio requirements:
.wav, .mp32 ~ 15 seconds, max 3 clips, total duration of all audio ≤ 15 seconds15MB64MB, do not use Base64 encodingNote: Audio cannot be provided alone; at least 1 reference video or image must be included
3["https://example.com/bgm.mp3"]Output video duration (seconds), defaults to 5 seconds
Details:
4–15 seconds4 <= x <= 1510
Video resolution, defaults to 720p
Options:
480p: Lower clarity, lower cost720p: Standard clarity, this is the default480p, 720p "720p"
Video aspect ratio, defaults to 16:9
Options:
16:9 (landscape), 9:16 (portrait), 1:1 (square), 4:3, 3:4, 21:9 (ultrawide)adaptive: Determined based on prompt intent, priority: video > image > promptPixel values per resolution:
| Aspect Ratio | 480p | 720p |
|---|---|---|
| 16:9 | 864×496 | 1280×720 |
| 4:3 | 752×560 | 1112×834 |
| 1:1 | 640×640 | 960×960 |
| 3:4 | 560×752 | 834×1112 |
| 9:16 | 496×864 | 720×1280 |
| 21:9 | 992×432 | 1470×630 |
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive "16:9"
Whether to generate synchronized audio, defaults to true
Options:
true: Video includes synchronized audio at no additional chargefalse: Output silent videotrue
HTTPS callback URL for task completion
Callback timing:
Security restrictions:
2048 charactersCallback mechanism:
10 seconds3 retries after failure (at 1/2/4 seconds after failure respectively)"https://your-domain.com/webhooks/video-task-completed"
Video generation task created successfully
Task creation timestamp
1761313744
Task ID
"task-unified-1774857405-abc123"
Actual model name used
"seedance-2.0-reference-to-video"
Specific type of the task
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Video task details
Output type of the task
text, image, audio, video "video"
Usage and billing information