Skip to main content
Kling O1 uses the Kling Legacy Omni Video API. One creation endpoint supports text-to-video, image and element references, video editing, video continuation, and first/end-frame generation.
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.

Create task

POST /kling/v1/videos/omni-video
cURL

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 body

string
required
Model name. Use kling-o1.
string
required
Generation instruction, up to 2,500 characters.
string
default:"std"
Output mode. std is 720p and pro is 1080p. Kling O1 does not support 4k.
string
default:"16:9"
Output aspect ratio: 16:9, 9:16, or 1:1. Required without a first-frame or video reference.
string
default:"5"
Output duration from 3 to 10 seconds.
string
default:"off"
Kling O1 does not support native audio generation. Use off; it is required with video input.
object
Platform watermark configuration.
boolean
default:false
Add the platform watermark.
Images support JPG, JPEG, and PNG, up to 10 MB each, at least 300 px per side, and a 1:2.5–2.5:1 aspect ratio. Videos support MP4 and MOV, at most one file up to 200 MB, at least 3 seconds, 720–2160 px, 24–60 fps, and a 1:2.5–2.5:1 aspect ratio.

Create response

200
string
AnyFast task ID.
string
Task ID, equal to id.
string
Always video.
string
Model used for the task.
string
Initial task status, normally queued.
integer
Initial progress.
integer
Creation Unix timestamp.

Kling O1 Guide

Review model capabilities, media constraints, and usage guidance.