Skip to main content
Kling O1 uses the v2 Omni Video endpoint. The model is selected in the path; put prompts and references in contents.

Create task

POST /kling/v2/omni-video/kling-o1
cURL

Request body

object[]
required
Include one prompt item and optional refer_image, feature_video, first_frame, last_frame, or base_video items.
string
required
Content role. Use @id in the prompt to reference an item with an ID.
string
Prompt text for the prompt item.
string
Public image or video URL.
object
Output resolution, duration, and aspect ratio.

Create response

200
string
System task ID.
string
Initial task status.

Workflow and parameter reference

string
Use prompt, refer_image, feature_video, base_video, first_frame, or last_frame.
string
Unique content ID. Reference the item with @id in the prompt.
string
Public JPG, JPEG, or PNG image URL, public MP4 or MOV video URL, or supported raw Base64 image content.
string
For a video item, base edits the source video and feature uses its content, motion, style, or camera movement as a reference.
string
For a source video, use yes to preserve its audio or no to discard it.
integer
Output duration from 3 to 10 seconds. A base_video edit follows the source duration when omitted.
string
720p or 1080p.
string
16:9, 9:16, or 1:1; required when no first frame or source video determines the composition.
string
Kling O1 does not generate native audio. Keep the audio setting disabled; source-video audio is controlled with keep_original_sound.
boolean
Request a watermarked result in addition to the standard output.

Reference and editing rules

Use at most one source video in a request. A base_video item is the editing workflow and keeps the source duration when no duration is supplied. A feature_video item guides a new generation and can provide content, action, style, camera movement, or shot continuation. First/end-frame workflows require a first frame; an end frame cannot be used by itself and cannot be combined with incompatible element references. Images use JPG, JPEG, and PNG with both sides at least 300 px and an aspect ratio from 1:2.5 to 2.5:1. Videos use accessible MP4 or MOV URLs, at least 3 seconds, 720–2160 px, 24–60 FPS, and the same aspect-ratio range. Multi-shot and 4K output are not available for Kling O1.