curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-mini",
"input": {
"prompt": "Camera follows a man in black sprinting through a crowded street, a group chasing close behind. The shot cuts to a side tracking angle as he panics and crashes into a roadside fruit stall, scrambles to his feet, and keeps running. Sounds of a frantic crowd.",
"aspect_ratio": "auto",
"resolution": "720p",
"duration": 8,
"generate_audio": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2026-06-25T10:30:00"
}
}Seedance
Seedance 2 Mini Video Generation
Fast video generation with Seedance 2 Mini
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2-mini",
"input": {
"prompt": "Camera follows a man in black sprinting through a crowded street, a group chasing close behind. The shot cuts to a side tracking angle as he panics and crashes into a roadside fruit stall, scrambles to his feet, and keeps running. Sounds of a frantic crowd.",
"aspect_ratio": "auto",
"resolution": "720p",
"duration": 8,
"generate_audio": true
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2026-06-25T10:30:00"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the response result through the unified Query Task Status endpoint.
Available Model
- seedance-2-mini - Fast Seedance 2 Mini video generation
Key Features
- Text-to-Video: Generate videos directly from prompt text
- First and Last Frame Control: Use up to 2 images as the first and last frame
- Reference-to-Video: Guide generation with reference images, videos, and audio
- Optional Audio: Request generated audio together with the video
Important Notes
promptis required.durationsupports integer values from4to15.resolutionsupports480pand720p.aspect_ratiois optional. Supported values areauto,21:9,16:9,4:3,1:1,3:4,9:16.image_urlsand anyreference_*_urlsfields are mutually exclusive.reference_image_urlssupports up to 9 images.reference_video_urlssupports up to 3 videos.reference_audio_urlssupports up to 3 audio files and requires at least one reference image or reference video.- The total number of reference files across image, video, and audio references must not exceed 12.
- Usage is billed by generated video duration.
- All remote URLs should be publicly accessible and directly downloadable.
Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
