Skip to main content
POST
Kling v2.6 Video Generation
  • Async processing mode, returns task ID for subsequent queries
  • Supports text-to-video, image-to-video, explicit first/last frame control, and audio video
  • Supports standard mode (720P) and professional mode (1080P)
  • Professional mode supports automatic audio generation

Authorization

string
required
All API endpoints require Bearer Token authentication.

Request Parameters

string
required
Video generation model name, fixed as kling-v2-6.
string
required
Text prompt, maximum 2500 characters.
string
default:"std"
Generation mode.
  • std - standard mode (720P, silent video only)
  • pro - professional mode (1080P, supports automatic audio generation)
integer
default:"5"
Video duration in seconds.Options: 5 or 10
string
default:"16:9"
Video aspect ratio. Common values: 16:9, 9:16, 1:1
string[]
Normal reference images.
  • These images are treated as references only
  • They are not automatically converted into first/last frames
  • Use image_with_roles for explicit frame control
object[]
Explicit image-role array for frame control and mixed inputs.
last_frame is only sent when explicitly declared in image_with_roles. The system no longer infers the last frame from reference_images[1].
string
Negative prompt to exclude unwanted content.
boolean
default:"false"
Whether to automatically generate audio.
Available only in mode: "pro".
boolean
Whether to add watermark.

Input Rules

Examples

Text-to-Video

Image Reference

First and Last Frame Control

Mixed Reference and Frame Input

Pro Mode + Auto Audio

Video generation is an async task. Use the Get Video Task Status endpoint to query progress and results.