curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-3.0/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A chef carefully plating a gourmet dish in a modern kitchen, steam rising from the food under warm lighting",
"multi_shots": false,
"duration": 5,
"sound": true,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}Kling
Kling 3.0 Video Generation
Next-generation video generation with standard and pro resolution
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": "kling-3.0/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A chef carefully plating a gourmet dish in a modern kitchen, steam rising from the food under warm lighting",
"multi_shots": false,
"duration": 5,
"sound": true,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10: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 Models
- kling-3.0/standard - HD resolution (~720p/1K)
- kling-3.0/pro - Full HD resolution (1080p/2K), sharper and more detailed output
Key Features
- Native Audio: Controlled by
input.sound. Settrueto enable sound effects andfalseto disable them. Whenmulti_shotsistrue,soundmust betrue - Flexible Duration: 3 to 15 seconds
- Aspect Ratios: 1:1 (square), 16:9 (landscape), and 9:16 (portrait)
- Modes: Text-to-video and image-to-video (start and end frames)
- Multi-Shot: Multi-shot storytelling with per-shot prompts and durations
- Element References: Define reusable elements (via images or video) and reference them in prompts using
@element_namesyntax.image_urlsis required when using element references
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
Kling 3.0 model identifier. Use kling-3.0/standard for HD resolution (~720p/1K) or kling-3.0/pro for Full HD resolution (1080p/2K) with sharper and more detailed output
Available options:
kling-3.0/standard, kling-3.0/pro Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"
Input parameters for generation
Show child attributes
Show child attributes
