Seedance 2.5 Video Generation API
Generate high-quality videos with Seedance 2.5 through APIMaster.
Seedance 2.5 video generation
Seedance 2.5 supports text-to-video, image-to-video, and image, video, or audio references through asynchronous tasks.
Base URL:
https://apimaster.ai/v1ishttps://apimaster.ai/v1.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
model |
string | yes | seedance-2.5 |
prompt |
string | yes | Video description |
duration |
integer | no | 4–30 seconds; -1 for automatic duration |
resolution |
string | no | 480p, 720p, or 1080p |
aspect_ratio |
string | no | 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive |
image_urls / video_urls / audio_urls |
string[] | no | Public reference media URLs |
image_with_roles |
object[] | no | Reference images with role descriptions |
generate_audio / audio |
boolean | no | Generate or enable audio |
watermark |
boolean | no | Add a watermark |
seed |
integer | no | Random seed |
output_format |
string | no | mp4 or mov |
return_last_frame |
boolean | no | Return the final frame |
Submit a task
curl -s "https://apimaster.ai/v1/videos/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"prompt": "A calm ocean horizon at sunrise, static camera, no text",
"duration": 4,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false
}'
{"code":200,"data":[{"status":"submitted","task_id":"task_xxxxxxxx"}]}
Poll and download
curl -s "https://apimaster.ai/v1/videos/task_xxxxxxxx" -H "Authorization: Bearer YOUR_API_KEY"
curl -L "https://apimaster.ai/v1/videos/task_xxxxxxxx/content" -H "Authorization: Bearer YOUR_API_KEY" -o output.mp4
Statuses include submitted, in_progress, completed, and failed. Download promptly after completion.
Billing
Billing is based on generated duration and output resolution. Reference media is billed under the applicable media rules. Check the current Video/media pricing in the dashboard. Failed tasks are not charged for generation.
Errors
400 invalid parameters, 401 invalid API key, 402 insufficient balance, 429 rate limited, and 500/502 temporary service errors.
See also: Video generation overview · Seedance 2.0.