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
Seedance 2.0
Generate a Seedance 2.0 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 | 5.98 | $0.120 |
| 720p | 12.94 | $0.259 |
| 1080p | 32.24 | $0.645 |
| 4k | 65.78 | $1.316 |
Native audio is included at no extra charge. content_filter does not affect pricing.
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-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
}
}Body
application/json
