curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.5-text-to-video",
"prompt": "A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically.",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"content_filter": true
}
'{
"created": 1761313744,
"id": "task-unified-1774857405-abc123",
"model": "seedance-2.5-text-to-video",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": false,
"estimated_time": 165,
"video_duration": 8
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 50
}
}Seedance 2.5 Text-to-Video
- Generate videos from text prompts, supports web search for enhanced timeliness
- Now supports AIGC realistic human materials
- Supports draft mode: set
draft: trueto generate a 480p draft first. If you are satisfied, use Draft-to-Video to convert it into a 1080p or 4K final video. The two requests are billed separately - Asynchronous processing mode, use the returned task ID to query status
- Generated video links are valid for 7 days, please save them promptly
- In rare cases, generated results are delivered via official original links, which may expire in less than 7 days. Download and save them promptly.
curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.5-text-to-video",
"prompt": "A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically.",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true,
"content_filter": true
}
'{
"created": 1761313744,
"id": "task-unified-1774857405-abc123",
"model": "seedance-2.5-text-to-video",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": false,
"estimated_time": 165,
"video_duration": 8
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 50
}
}Authorizations
##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_KEY
Body
Text prompt describing the desired video. Supports both Chinese and English, recommended no more than 500 characters for Chinese or 1000 words for English. Maximum prompt length: 10000 tokens
Note:
- This model is text-to-video only and does not support
image_urls,video_urls, oraudio_urlsinput
"A macro lens focuses on a green glass frog on a leaf. The focus gradually shifts from its smooth skin to its completely transparent abdomen, where a bright red heart is beating powerfully and rhythmically."
Video resolution, defaults to 720p
Options:
480p: Lower clarity, lower cost720p: Standard clarity, this is the default1080p: Ultra HD clarity4k: 4K Ultra HD, highest cost; MP4 output uses 10-bit H.265/HEVC encoding. Some players may not support playback; use a player such as VLC or QuickTime
Draft mode: When draft is true, only 480p is supported. If omitted, quality automatically defaults to 480p
480p, 720p, 1080p, 4k "720p"
Draft mode switch, defaults to false
Details:
true: Generate a 480p draft first, with faster turnaround and standard 480p billing- When enabled,
qualitymust be480por omitted. Any other resolution returns a 400 parameter error - Must be a top-level request body field. Placing it inside
model_paramsreturns a 400 parameter error
Convert to a final video:
- Once the draft is complete, querying the task returns
draft_expires_at - Before that time, pass the draft task ID to Seedance 2.5 Draft-to-Video to generate a 1080p or 4K final video with the same content
- The final video and draft are billed separately. If you are not satisfied with the draft, skip conversion and pay only for the draft
- The default conversion window is 24 hours after the draft completes; the actual deadline is
draft_expires_at. Submit the conversion request early: expiration while queued also causes conversion to fail
Temporary unavailability: A 503 error may be returned when the service is temporarily unavailable. If the error code is draft_unavailable, retry later or remove draft to use normal generation mode
false
Video aspect ratio, defaults to adaptive
Options:
16:9(landscape),9:16(portrait),1:1(square),4:3,3:4,21:9(ultrawide)adaptive: The model intelligently selects the best aspect ratio based on the prompt
Pixel values per resolution:
| Aspect Ratio | 480p | 720p | 1080p | 4K |
|---|---|---|---|---|
| 16:9 | 854×480 | 1280×720 | 1920×1080 | 3840×2160 |
| 4:3 | 752×560 | 1112×834 | 1664×1248 | 3326×2494 |
| 1:1 | 640×640 | 960×960 | 1440×1440 | 2880×2880 |
| 3:4 | 560×752 | 834×1112 | 1248×1664 | 2494×3326 |
| 9:16 | 480×854 | 720×1280 | 1080×1920 | 2160×3840 |
| 21:9 | 992×432 | 1470×630 | 2206×946 | 4398×1886 |
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 (voice, sound effects, background music) at no additional charge. It is recommended to place dialogue within double quotes to optimize audio generationfalse: Output silent video
true
Content filter, enabled by default true
Options:
true: Standard content safety check, this is the defaultfalse: Relaxes content restrictions, billed at +10% (1.1x). Illegal and prohibited content is always enforced regardless of this setting
Mutually exclusive with web search:
content_filter: falseandmodel_params.web_search: truecannot be used together; sending both returns a 400 parameter error- Keep
content_filter: true(the default) when web search is needed
true
Output container format, defaults to mp4
Options:
mp4: Default container format.480pand720puse H.264 encoding for the best compatibility;1080pand4kuse 10-bit H.265/HEVC encoding. Some players may not support playback; use a player such as VLC or QuickTimemov: H.264 + yuv444p chroma sampling + PCM audio for higher color fidelity, recommended for color grading, keying and compositing workflows. Browser inline playback may not support it; download and play with VLC / mpv / ffplay. No extra charge
mp4, mov "mp4"
HTTPS callback URL for task completion
Callback timing:
- Triggered when the task is completed or failed
- Sent after billing confirmation is complete
Security restrictions:
- Only HTTPS protocol is supported
- Callbacks to private IP addresses are prohibited (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
- URL length must not exceed
2048characters
Callback mechanism:
- Timeout:
10seconds - Up to
3retries after failure (at1/2/4seconds after failure respectively) - Callback response body format is consistent with the task query endpoint response format
- A 2xx status code is considered successful; other status codes trigger retries
"https://your-domain.com/webhooks/video-task-completed"
Response
Video generation task created successfully