curl --request POST \
--url https://api.goenhance.ai/api/v1/videos/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-0",
"prompt": "A cat plays piano in moonlight, cinematic close-up",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
'{
"code": 0,
"msg": "Success",
"data": {
"img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5",
"cost": 5.82
}
}Seedance 2.5
Generate a Seedance 2.5 video from text or 1-2 images. One image is used as the first frame; two images are used as the first and last frames.
Pricing — per second of generated video, in tokens (USD at $0.02/token):
| resolution | tokens/s | USD/s |
|---|---|---|
| 480p | 8.515 | $0.1703 |
| 720p | 18.265 | $0.3653 |
Native audio is included at no extra charge.
Differences from Seedance 2.0 — do not assume the parameters carry over:
- Only
480pand720pare available (2.0 also offers 1080p and 4k). durationgoes up to 30 seconds (2.0 stops at 15).- Image-to-video only accepts
aspect_ratio: adaptive— the output follows the input image. Sending a fixed ratio together withimage_urlsis rejected.
Returns an img_uuid; poll GET /api/v1/jobs/detail (or use custom_callback_url) to get the generated video.
curl --request POST \
--url https://api.goenhance.ai/api/v1/videos/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-0",
"prompt": "A cat plays piano in moonlight, cinematic close-up",
"duration": 8,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
'{
"code": 0,
"msg": "Success",
"data": {
"img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5",
"cost": 5.82
}
}Headers
Body
Model name. Must be seedance-2-5.
seedance-2-5 Text prompt. Chinese: recommended up to 500 characters; English: recommended up to 1000 words.
Optional. One URL creates first-frame image-to-video; two URLs create first/last-frame video. Compatible aliases: image_url and image_end_url.
1 - 2 elementsAny integer from 4 to 30 seconds.
4 <= x <= 30Output resolution. resolution is accepted as a compatible alias.
480p, 720p Output aspect ratio. Text-to-video accepts every value below. Image-to-video only accepts adaptive and rejects anything else. ratio is accepted as a compatible alias.
16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive Generate synchronized audio at no additional charge.
Optional public HTTPS callback URL. custom_callback_url is accepted as a compatible alias.
