Reference · Video models
POST/videos/kling-3.0-motion
Kling 3.0 Motion Control
Kling 3.0 Motion Control — Kling — a character from a picture, moving as a clip moves
- Length: the clip put in sets it
- Sizes: 720p (default), 1080p
- Sound: none
- Takes: a video to motion
- Words: up to 2,500 characters
- Price: from 35 credits a clip; the quote gives the exact figure for a body
Pick it for: A character from your picture, moving as a clip moves. Skip it if: You want to change the clip itself.
The same run as POST /api/v1/videos with "model": "kling-3.0-motion": the same price, the same job. Price it first at /api/v1/videos/kling-3.0-motion/quote.
- Key needs
create· Make things and spend credits- Price it first
POST /videos/kling-3.0-motion/quote· free- Answers
- A job to follow
Request
curl -X POST https://vessero.com/api/v1/videos/kling-3.0-motion \ -H "Authorization: Bearer $VESSERO_API_KEY" \ -H "Idempotency-Key: 47f8f6f5-ea00-4fb1-925f-76aac956a0ec" \ -H "Content-Type: application/json" \ -d '{ "prompt": "The dancer in the clip, the same moves, on a rooftop at dusk", "resolution": "720p", "sourceVideoKey": "https://example.com/clips/dance.mp4", "confirmCredits": 35 }'
Response202 Accepted
{ "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" }
POST/videos/kling-3.0-motion/quoteFree
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.
- resolutionstringA size the model lists, e.g. "720p". Default: the model’s own.
720p1080p - 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).
- whoseAudioobject · kind no-voice | voiceWhose voice is in the reference sounds, as the person says: {kind: "no-voice"}, or {kind: "voice", name, agreed} for a real person’s. Not asked of sounds made in Vessero.
- parentIdstringA finished clip of theirs to work on, by its id (from this tool or GET /api/v1/work). Give this or sourceVideoKey.
- sourceVideoKeystringA video to work on, uploaded: 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).
- sourceStartSecnumberWhere in the video to start, in seconds.
- sourceEndSecnumberWhere in the video to end, in seconds.
- clipUsestringWhat to do with the video put in (parentId or sourceVideoKey), on a model that does it (worksOnVideo): extend it, edit it (the default), or motion — the character on firstKey takes its moves.
motion - keepSoundbooleanAn edit: keep the video’s own sound (the default, where the model can) or make new.
- motionFacingstringMotion: the character faces as in the clip or as in the picture.
clippicture - motionBackgroundstringMotion: the clip’s background or the picture’s.
clippicture - whoIsInVideoobject · kind no-person | personWho is in the uploaded video, where the model keeps its people (an edit that keeps them).
- 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.