Kling Videos

The Kling video series uses the OpenAI-compatible /v1/videos interface and supports multiple generation modes, including text-to-video, image-to-video, motion control, digital avatars, and lip sync.

OpenAI Format

Use POST /v1/videos to submit and GET /v1/videos/{task_id} to query.

Video Generation

POST /v1/videos, submit a Kling video task.

Task Status Query

GET /v1/videos/{task_id}, query task status and results.

Supported Models

ModelDescriptionDuration Rules
Kling-3.0-OmniKling 3.0 all-in-one edition5-15 seconds
Kling-2.6Kling 2.6 version5-10 seconds
Kling-2.5Kling 2.5 version5-10 seconds

Scene Types

Scene TypeDescription
motion_controlMotion control
avatar_i2vDigital avatar generation
lip_syncLip sync
template_effectTemplate effects

Parameter Description

Basic Parameters

FieldTypeDescription
modelstringModel name
promptstringPrompt
secondsstringVideo duration
sizestringVideo size
imagestringReference image

metadata Parameters

FieldTypeDescription
output_configobjectOutput configuration
scene_typestringScene type
motion_levelstringMotion level
offpeakbooleanWhether off-peak billing is enabled
last_frame_urlstringThe last frame in a start/end frame pair
video_urlstringReference video URL

output_config Parameters

FieldTypeDescription
resolutionstringResolution
aspect_ratiostringAspect ratio
durationintegerDuration
audio_generationstringAudio generation

Parameter Constraints

FieldAllowed ValuesDescription
aspect_ratio16:9, 9:16, 1:1Video aspect ratio
resolution720P, 1080PResolution specification
seconds5, 10, 15Video duration (seconds)
motion_levelstd, proMotion level (used for billing tiers in motion control)
FeatureDescription
Motion controlscene_type: motion_control, precisely control video motion
Digital avatarscene_type: avatar_i2v, generate digital avatar videos
Lip syncscene_type: lip_sync, synchronized lip syncing with audio and video
Off-peak billingoffpeak: true, generate during off-peak hours for lower cost
Start/end frameslast_frame_url, specify the end frame to control the video ending