Set
model_name to kling-o1. It supports 3–10 seconds, 720p (std), and 1080p (pro). Multi-shot generation, 4K, and native audio generation are not supported.- Video Generation
- Element Management
Create Task
POST /kling/v1/videos/omni-videocURL
200
Request headers
string
required
Bearer authentication in the form
Bearer YOUR_API_KEY.string
default:"application/json"
required
Data exchange format. Use
application/json.Request parameters
string
required
Model name. Use
kling-o1.string
required
Generation or editing instruction, up to 2,500 characters. Reference media with
<<<image_1>>>, <<<element_1>>>, and <<<video_1>>>.object[]
Reference images, including optional first and end frames.
string
required
Image URL or raw Base64 without the
data:image/...;base64, prefix.string
Frame type:
first_frame or end_frame. An end frame requires a first frame.object[]
Legacy elements. Reference them in list order with
<<<element_1>>>, <<<element_2>>>, and so on.integer
required
Element ID returned by the Legacy Element Management API.
object[]
At most one reference video for source-video editing or for content, motion, style, and camera reference.
string
required
Publicly accessible video URL. Base64 video input is not supported.
string
default:"base"
base edits the source video. feature uses the source as a generation reference.string
default:"no"
Preserve source audio with
yes, or discard it with no.string
default:"std"
Output mode.
std is 720p and pro is 1080p. Kling O1 does not support 4k.string
default:"16:9"
16:9, 9:16, or 1:1. Required without a first-frame or video reference; not supported for source-video editing.string
default:"5"
Duration from 3 to 10 seconds. Ignored when
refer_type is base; output follows the source-video duration.string
default:"off"
Kling O1 does not support native audio generation. Use
off; it is required whenever video_list is present.object
Platform watermark configuration.
boolean
default:false
Add the platform watermark.
Parameter rules
Multimodal references
- Reference images, elements, and videos with
<<<image_N>>>,<<<element_N>>>, and<<<video_N>>>. Numbering starts at 1 and follows array order. - Kling O1 is single-shot only. It does not support
multi_shot,shot_type, ormulti_prompt. - First/end-frame mode accepts at most two images. An end frame requires a first frame, and this mode cannot use elements.
Image requirements
- JPG, JPEG, or PNG, up to 10 MB per image.
- At least 300 px on each side, with an aspect ratio from 1:2.5 to 2.5:1.
- Public URL or raw Base64 without a data URI prefix.
Video requirements
- MP4 or MOV, at most one video up to 200 MB.
- At least 3 seconds, dimensions from 720 to 2160 px, 24–60 fps, and aspect ratio from 1:2.5 to 2.5:1.
refer_type: "base"edits the source video. It cannot use first/end frames, anddurationis ignored.refer_type: "feature"references content, action, style, or camera movement and can generate a previous or next shot.- Set
soundtooffwith video input. Usekeep_original_soundto preserve or remove the source audio.
Media counts
Create response
string
AnyFast task ID.
string
Task ID, equal to
id.string
Always
video.string
Model used for the task.
string
Initial task status.
integer
Initial progress.
integer
Creation Unix timestamp.
Scenario Invocation Examples
Text to video
Image and element reference
Video editing
Video reference and continuation
First and end frames
FAQ
What input media is supported?
- Up to 7 JPG/JPEG/PNG images, at least 300 px per side and no more than 10 MB each.
- At most one MP4/MOV video, at least 3 seconds, up to 2K and 200 MB.
- A multi-image element can be built from up to 4 different views.
- With a reference video, images and elements total at most 4; without video, they total at most 7.
How do prompts reference media?
Use<<<image_1>>>, <<<element_1>>>, and <<<video_1>>> in array order. The numbering must match the corresponding list.What restrictions apply to frames and video editing?
End-frame-only generation is not supported. An end frame requires a first frame, and first/end-frame mode cannot use elements. Source-video editing withrefer_type: "base" also cannot use frames, and its output duration follows the source.Which resolutions and durations are supported?
std is 720p and pro is 1080p; 4K is not supported. Output duration is 3–10 seconds except for source-video editing.Query Task (Single)
GET /kling/v1/videos/omni-video/{task_id}cURL
string
required
Task ID returned by the create endpoint.
Response fields
integer
Business status code;
0 indicates success.string
Response message.
string
Request trace ID.
string
Task ID.
string
submitted, processing, succeed, or failed.string
Failure reason or status details.
object[]
Generated videos.
string
Video ID.
string
Video URL without a watermark.
string
Watermarked video URL.
string
Actual video duration.
boolean
Whether the platform watermark is enabled.
string
Final resource-unit deduction.
string
Final balance quota deduction.
integer
Creation timestamp in milliseconds.
integer
Update timestamp in milliseconds.
200
Kling O1 Guide
Review model capabilities, media constraints, and usage guidance.