kling-v2-6 API Usage Guide
Overview
kling-v2-6 is Kling AI’s latest-generation video-synthesis model, capable of transforming text descriptions or reference images into polished, high-fidelity video clips with cinematic camera work, smooth realistic motion, and consistent visual style. It features stronger prompt understanding that can handle complex, multi-step instructions and causal relationships, improved physics-aware dynamics and stable camera control for fluid, natural action scenes, and greatly enhanced style/lighting/texture consistency across frames.Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:Submit Video Generation Request
Base URL
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
prompt | string | Yes | Text prompt. Cannot exceed 2500 characters. | - | Required |
image | string | No | Support image URL (.jpg/.jpeg/.png). The image file size cannot exceed 10MB, andthe width and height dimensions of the image shall not be less than 300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1. | - | Max 1 image. |
sound | string | No | Whether to have sound or not | no | Options: yes, no |
duration | string | No | Video Length, unit: s (seconds). | 5 | Options: 5, 10 |
mode | string | No | - | pro | Options: pro |
cfg_scale | string | No | Flexibility in video generation; The higher the value, the lower the model’s degree of flexibility, and the stronger the relevance to the user’s prompt. | 0.5 | Min: 0, Max: 1 |
Response
Check Request Status
Endpoint
Example
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting to be processed |
processing | Video generation is in progress |
success | Video generation completed successfully |
failed | Video generation failed |
cancelled | Request was cancelled |
Endpoint
Example
Pricing
- Pricing Type: Video length based pricing
- Unit Price: 0.14 per second (with audio)