curl --request POST \
--url https://api.goenhance.ai/api/v1/videos/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-5-flash",
"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
Seedance 2.5 Flash
Generate a Seedance 2.5 Flash 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.
Seedance 2.5 Flash is the faster, lower-cost tier of Seedance 2.5. It takes exactly the same parameters and offers the same quality options (480p and 720p), so switching is just a change of model.
Pricing — per second of generated video, in tokens (USD at $0.02/token):
| resolution | tokens/s | USD/s |
|---|---|---|
| 480p | 5.915 | $0.1183 |
| 720p | 12.675 | $0.2535 |
Native audio is included at no extra charge. Example: a 5-second 720p video costs 63.38 tokens (= $1.2676).
Parameter notes (same as Seedance 2.5):
- Only
480pand720pare available. durationis any integer from 4 to 30 seconds.- 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.
POST
/
api
/
v1
/
videos
/
generations
curl --request POST \
--url https://api.goenhance.ai/api/v1/videos/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-5-flash",
"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
}
}Body
application/json
