curl --request POST \
--url https://api.poyo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kling-1.6/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A quiet city street after rain, soft reflections on the pavement as the camera moves forward",
"duration": 5,
"aspect_ratio": "16:9",
"negative_prompt": "blur, low quality, distorted hands",
"cfg_scale": 0.5
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}Kling
Kling 1.6 Video Generation
Kling 1.6 Standard and Pro video generation through the PoYo API
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-1.6/standard",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "A quiet city street after rain, soft reflections on the pavement as the camera moves forward",
"duration": 5,
"aspect_ratio": "16:9",
"negative_prompt": "blur, low quality, distorted hands",
"cfg_scale": 0.5
}
}
'{
"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, PoYo sends a POST request when the task becomesfinishedorfailed. - You can always retrieve the result through the unified Query Task Status endpoint.
Available Models
- kling-1.6/standard - Cost-effective Kling 1.6 video generation
- kling-1.6/pro - Higher-quality Kling 1.6 video generation
Input Routing
PoYo does not require a publicmode, type, or task_type field for Kling 1.6.
All Kling 1.6 requests require prompt and duration.
- Provide no image fields to generate text-to-video.
- Provide
start_image_urlto generate image-to-video. - Provide
start_image_urlandend_image_urlwithkling-1.6/proto control both the first and last frame. - Provide
image_urlswith 1 to 4 reference images to generate Elements.
image_urls cannot be used together with start_image_url, end_image_url, or cfg_scale.
Parameter Compatibility
Elements is a reference-image workflow that uses 1 to 4 images to guide the generated video.| Model and workflow | How PoYo detects it | Supported parameters |
|---|---|---|
Text to Video (standard or pro) | No image fields | prompt, duration, aspect_ratio, negative_prompt, cfg_scale |
| Standard Image to Video | kling-1.6/standard with start_image_url | prompt, duration, start_image_url, negative_prompt, cfg_scale |
| Pro Image to Video | kling-1.6/pro with start_image_url and optional end_image_url | prompt, duration, aspect_ratio, start_image_url, end_image_url, negative_prompt, cfg_scale |
Elements (standard or pro) | image_urls | prompt, duration, aspect_ratio, negative_prompt, image_urls |
end_image_urlrequiresstart_image_urland is only supported bykling-1.6/pro.kling-1.6/standardimage-to-video does not supportaspect_ratio.- Elements supports 1 to 4
image_urlsand does not supportcfg_scale.
Key Features
- Text to Video: Generate videos from a prompt, duration, and optional aspect ratio.
- Image to Video: Animate a first frame image, with optional Pro-only last frame control.
- Elements: Use 1 to 4 reference images to guide the generated video.
- Durations: 5 or 10 seconds.
- Aspect Ratios: 1:1, 16:9, and 9:16. Standard uses
aspect_ratiofor text-to-video and elements. Standard image-to-video does not supportaspect_ratio. Pro supports it across Kling 1.6 workflows. - Prompt Controls: Optional
negative_prompt;cfg_scaleis available for text-to-video and image-to-video, but not for elements.
Pricing
- kling-1.6/standard: 9 credits per second.
- kling-1.6/pro: 15 credits per second.
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 1.6 public model identifier
Available options:
kling-1.6/standard, kling-1.6/pro Input parameters for generation. PoYo selects the generation workflow from the provided image fields.
Show child attributes
Show child attributes
Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"
