Reference · Video models
Kling O3
Kling O3 — Kling 3.0 Omni — from words, a start (and end) frame, or reference stills and a clip
- Lengths: 3–15 s (default 5 s)
- Shapes: 16:9 (default), 9:16, 1:1
- Sizes: 720p (default), 1080p
- Sound: on or off (
audio) - Takes: a start frame, an end frame, up to 4 reference pictures, up to 1 reference clip, a storyboard of shots
- Words: up to 3,072 characters
- Price: from 23 credits a clip; the quote gives the exact figure for a body
Name each in the prompt by its @name, such as @vera (atName in GET /api/v1/library), with the names in referenceNames in the order of their keys. Without names: Say in words what to take from each, such as “her jacket in image 1” or “the camera move in video 1”. A video left unnamed is followed for its motion and camera.
Pick it for: Several shots from your reference pictures, up to 6; A start and an end frame, with sound. Skip it if: You want to work from more than 4 pictures.
The same run as POST /api/v1/videos with "model": "kling-o3-r2v": the same price, the same job. Price it first at /api/v1/videos/kling-o3-r2v/quote.
- Key needs
create· Make things and spend credits- Price it first
POST /videos/kling-o3-r2v/quote· free- Answers
- A job to follow
curl -X POST https://vessero.com/api/v1/videos/kling-o3-r2v \ -H "Authorization: Bearer $VESSERO_API_KEY" \ -H "Idempotency-Key: 47f8f6f5-ea00-4fb1-925f-76aac956a0ec" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A linen shirt drifts down onto a sunlit bed, slow camera push-in", "durationSec": 3, "aspectRatio": "16:9", "resolution": "720p", "confirmCredits": 23 }'
{ "object": "job", "id": "video.8f1c2d3e-4b5a-4789-8abc-def012345678", "kind": "video", "status": "working", "stage": "Queued", "files": [], "credits": 58, "url": "/api/v1/jobs/video.8f1c2d3e-4b5a-4789-8abc-def012345678" }
The same body without confirmCredits. It answers the price and your balance, and runs nothing.
Header
- Idempotency-KeystringYour id for this request: 8–64 letters, digits, - or _. A repeat within 10 minutes gets the first answer back and never runs twice. Use the same one for the quote and the run.
- Preferstring
wait=N(up to 60): hold the answer up to N seconds while the job is made, within 80 seconds for the whole call.
Body
- promptstringWhat happens in the shot, e.g. "Slow push in on the bottle as morning light sweeps across the table". For an edit, the change to make; to extend, what happens next. Optional only for motion, whose moves come from the video.
- durationSecintegerSeconds, one of the model’s durations. Default: its own length, as /video starts it (defaultDurationSec in GET /api/v1/models).
3456789101112131415 - aspectRatiostringA shape the model lists, e.g. "9:16". Default: the model’s own.
16:99:161:1 - resolutionstringA size the model lists, e.g. "720p". Default: the model’s own.
720p1080p - audiobooleanSound, on a model where it is optional (sound "optional"); it may cost more.
- cutsbooleanCuts, on a model with the switch (cuts "optional" in GET /api/v1/models: PixVerse v6, Kling O3): the model plans a few shots in one clip — never between firstKey and lastKey, beside shots of the person’s own, or with a reference clip. Never moves the price.
- firstKeystringThe start frame, a picture: a storage key from POST /api/v1/files or POST /api/v1/library/use, or an https link to the file (brought into their Uploads first).
- lastKeystringThe end frame, a picture, on a model that takes one: a storage key from POST /api/v1/files or POST /api/v1/library/use, or an https link to the file (brought into their Uploads first).
- referenceKeysstring[] · up to 4Reference pictures, up to the model’s own number (inputs.pictures).
- referenceVideoKeysstring[] · up to 1Reference clips, up to the model’s own number (inputs.videos). Priced by their length where the model bills it.
- referenceNamesobjectWhat the words call each reference, as its tile does: its @name, such as "@vera", one list a kind in the order of its keys (images for referenceKeys, videos for referenceVideoKeys, audio for referenceAudioKeys), null for one with no name, which the words call by its place (@Image2). Each name goes to the model as the reference it calls. Never moves the price. A reference’s @name is the atName GET /api/v1/library and POST /api/v1/library/use give.
- images(string | null)[] · up to 30The @names of referenceKeys, in the order of its keys.
- videos(string | null)[] · up to 10The @names of referenceVideoKeys, in the order of its keys.
- audio(string | null)[] · up to 10The @names of referenceAudioKeys, in the order of its keys.
- whoIsInPictureobject · kind no-person | personMotion: who is in the picture on firstKey, as the person says; asked of an uploaded picture.
- shotsobject[] · up to 6A clip in shots, on a model that takes a storyboard (inputs.storyboard): its own number of shots, each its own seconds. On Kling O3 the shots go beside reference pictures (referenceKeys), and no clip goes with them.
- promptstringrequiredWhat happens in this shot.
- durationSecintegerrequiredIts seconds.
- camerastringA camera move added to the words: dolly-in (Dolly in), dolly-out (Dolly out), crash-zoom (Crash zoom), orbit-360 (360 orbit), crane-up (Crane up), whip-pan (Whip pan), fpv-dive (FPV dive), handheld (Handheld), bullet-time (Bullet time), snorricam (Snorricam), drone-reveal (Drone reveal), locked-off (Locked-off). Never changes the price.
dolly-indolly-outcrash-zoomorbit-360crane-upwhip-panfpv-divehandheldbullet-timesnorricamdrone-reveallocked-off - confirmCreditsintegerrequiredThe price you agree to, in credits: the
creditsits quote gave. It runs at that price, or at a lower one when that figure was quoted for this Idempotency-Key; above the price now, nothing runs (409price_changed). Left out, nothing runs and the error carries the quote. - webhookUrlstring · httpsAn https address to POST the job to once it is done or has failed — or waits for a yes, as a UGC ad made step by step does once its previews are in — signed (see Webhooks).
Answers
- 202jobStarted: follow the job, or wait for its webhook.
- 200jobA job that ended at once: done, or failed (see error and charged).
- 400confirm_credits_requiredA run that spends needs confirmCredits: the quote is in details.
- 402insufficient_creditsThe account has too few credits for this.
- 409price_changedThe price is above the confirmCredits sent: nothing ran; the new quote is in details.
- 422content_refusedThe content check refused it.
- 429daily_cap_reachedThe key’s daily credit cap would be passed: see Retry-After.