KovAPIKovAPI
Video ● Operational Service status →
kling-4.0

Kling 4.0 is the video model Kuaishou's Kling released in October 2026. Send a prompt, optionally with a first / last frame, up to 10 reference images and 5 reference videos, and get a 3-30 s clip in 720P or 1080P with sound; one clip runs up to 30 seconds, enough for a complete short told shot by shot, or hand it an existing video and say what to change and what to keep. On KovAPI the model id is kling-4.0: 720P $0.09/s and 1080P $0.125/s, against Kling's list prices of $0.14 and $0.21. In our tests on November 30 and December 1, jobs of 5-30 seconds mostly took 8-12 minutes.

Live Test · Playground

Try out Kling 4.0 right here (available after login).

Input

0 / 26000 chars
Reference images0 / 10
Click to upload or drag files here jpg / png / webp / gif, up to 16 MB each or paste links
"Reference" (default): up to 10 images of characters, outfits, props or settings; say in the prompt what each one is for by its number, e.g. "the character in image 1 stands in the forest of image 2". "First/last frame": image 1 is the first frame, image 2 the last (2 at most, not with reference videos; the clip takes the first frame's shape). No image is text-to-video.
Reference videos0 / 5
Click to upload or drag files here mp4 / mov, up to 50 MB and 30 s each; all reference videos together at most 30s or paste links
Copy the motion and camera of a reference video, or edit the video itself (say in the prompt what changes and what stays, e.g. "turn the corgi into a voxel corgi, keep its moves and the camera"); it combines with reference images. Each clip 3-30 s and at least 700 px high (e.g. 1280x720 / 720x1280). With reference videos Kling's own formula applies: the per-second rate x 0.6 x max(output seconds x 2, output seconds + reference-video seconds).
Uploaded references are kept for 7 days.
Rendering usually takes 5-20 min; when the backend is busy it can exceed 60 min (no result after 120 min counts as a timeout, fully refunded). Poll the job id rather than resubmitting - each resubmission is billed separately. Billed per second, fully refunded on failure. Prompt limit 26000 characters (Chinese and English count the same).

Output

video
Results will appear here after running.
🕑 Generated images and videos are kept for 7 days and then deleted automatically. Download anything you want to keep.
Capabilities

30-second multi-shot, sound with the picture, recreating a video: one model does all of it

Every preview is cut from a case on this page (KovAPI renders of November 30 and December 1; two are Kling's own examples). Open the full case for the clip with sound, the prompt, the parameters and what that clip cost.

Hover to play
30-second multi-shot

One 30-second clip, six shots, on the prompt's timeline

Kling's own 30-second example: two reference images (a burning harbour city, a dragon) and a 7,182-character prompt that sets the time, camera, action and sound of six shots. It comes back as one clip: a roar and take-off from the peak, the chase toward the harbour, low over the water, fire between the towers, a hard bank round the tower, the climb over the burning city. The cuts follow the timeline, the dragon stays the same dragon, and roar, fire and score are generated with it. That 720P clip cost $2.70.

Sound with the picture

Picture and sound in one pass: chops, voice, ambience

Every clip has a stereo soundtrack generated in the same pass as the picture. Press play: three chops land with three thuds, woks and chatter behind, then one Mandarin line, "三刀,就够了" ("three cuts, that's all it takes"). Say "no music" or "no subtitles" in the prompt when you do not want them, as this one does. In the comparison below you can listen to each of the four models on the same prompt.

Related examples
Hover to play
Recreate a video

Borrow a viral clip's shots, cast your own lead

Kling's own "Creative Recreation" example: a 14-second multi-shot dog clip as @Video1, a fluffy cat as @Image1, and a one-line prompt: "Replace the subject in @Video1 with @Image1. Keep everything else unchanged." Every shot now has the cat: the eye close-up, the pull-back, the hand on its head, the fur close-up, peeking out of the pocket, with the original camera and pacing. That 1080P clip cost $2.175.

Hover to play
Video editing

Hand it a finished video and change only what you name

Put the video in video_references and start the prompt with "Edit @Video1", then say what changes and what stays. The snow-corgi case uses Kling's own 14.8 s source clip and swaps only the corgi for a voxel one: the plunge into the snow, the head popping up, the leaps and the final sit all line up with the original, and the snow and the camera stay photoreal. That 15 s 720P clip cost $1.62.

Hover to play
First / last frame

Fix the opening shot with one image, or both ends with two

Send 1-2 images with image_role: first_frame: image 1 is the first frame, image 2 the last. The clip takes the first frame's shape: a 1672x941 frame came back as 1284x724. The squirrel peeks out, raises a torch and smiles, all inside the opening picture.

Hover to play
Reference images

One sketch sets the composition, the clip comes out in 1080P

Up to 10 reference images, named @Image1, @Image2 in the prompt with a job each. The lotus case sends one line sketch and opens with "Use @Image1 for composition"; the woman's position and the lotus's size and distance follow the sketch.

Hover to play
Four aspect ratios

16:9, 9:16, 1:1, 21:9, any length from 3 seconds

size takes 16:9 / 9:16 / 1:1 / 21:9; duration any whole number of seconds from 3 to 30. The same seagull prompt came back 1460x624 at 21:9 and 940x940 at 1:1; we tested the 3-second minimum too.

Related examples
Same prompt

One prompt: Kling 4.0, Kling 4.0 Flash, Seedance 2.5 and Veo 3.1 at 8 seconds each

All four are 720P, 16:9, 8 seconds (Veo 3.1 only does 8 s, so the others ran at 8 s too), with the same prompt, each generated on its own. Hover to play them together (tap "Play together" on a phone); press "Listen" under a clip to hear that one. Under each clip is what it costs at today's price.

Sound in sync: three chops, then one Mandarin line (8 s 16:9)

This one is about sound: do the three thuds land on the three chops, and is the line clear? All four said "三刀,就够了"; the knife is where they differ: Kling 4.0 and Veo 3.1 chop three times with three thuds, Flash adds an extra thud at the start, Seedance 2.5 ignores "three" and slices eight or nine times.

8 s · 16:9
720P
Kling 4.0 · 720P$0.72 at current prices

Kling 4.0: three chops in one medium shot, each with its thud; at 5 s it cuts to the chef facing the camera, and across that cut the cucumber jumps from a few chunks to a diced pile.

720P
Kling 4.0 Flash · 720P$0.48 at current prices

Flash: three chops in a close-up on the board, one extra thud at the start; it ends on a close-up of the chef saying the line.

720P
Seedance 2.5 · 720P$1.264 at current prices

Seedance 2.5: not three chops but eight or nine slices, with a busier knife sound; it ends on a close-up of the line.

720P
Veo 3.1 · 720P$0.20 at current prices

Veo 3.1: three chops, three slices, three thuds in sync, then the chef smiles and says the line; the closest to the prompt.

Original prompt
Close-up in a busy night-market kitchen. A middle-aged chef raises a cleaver and chops a cucumber on a wooden board three times; each chop lands with a sharp thud. He looks up at the camera, grins and says in Mandarin: "三刀,就够了。" Sizzling woks and crowd chatter in the background. No music, no subtitles.

Motion and tracking: a skateboarder over a fire hydrant (8 s 16:9)

This one is about motion: take-off, clearing, landing, and whether the low camera keeps up. Kling 4.0 and Seedance 2.5 both clear the hydrant and land; Seedance 2.5 rolls for the first 5 seconds and jumps late. In Flash the camera sweeps past the hydrant right at the jump, so you cannot see whether he clears it. Veo 3.1 does a kickflip and lands beside the hydrant. All four have wheel, pop and landing sounds.

8 s · 16:9
720P
Kling 4.0 · 720P$0.72 at current prices

Kling 4.0: takes off at 3 s, clears the hydrant, lands and rolls away, with the low camera tracking throughout.

720P
Kling 4.0 Flash · 720P$0.48 at current prices

Flash: the camera sweeps past the hydrant at the jump and hides it; a clean landing.

720P
Seedance 2.5 · 720P$1.264 at current prices

Seedance 2.5: rolls for 5 s, then clears the hydrant in the last 3 s and lands cleanly.

720P
Veo 3.1 · 720P$0.20 at current prices

Veo 3.1: a kickflip that lands beside the hydrant rather than over it.

Original prompt
A skateboarder rolls across a sunlit plaza, ollies over a fire hydrant, lands and rolls away; low tracking camera alongside. The wheels clack on the pavement and the landing slaps. No music, no subtitles.
Use cases

What people make with Kling 4.0

30-second shorts and ads

Write the shots and the timeline into the prompt and get a complete 30-second short or ad in one clip, cuts, pacing and score included.

Recreating viral videos

Use a viral clip with good pacing as the reference and cast your pet, product or character; the shots and rhythm carry over.

New subject or style for footage you already have

Swap a person, an animal or the art style in existing footage while the motion, camera, length and original audio stay. No reshoot.

Bring a character or product image to life

Use a mascot, an IP character or a product shot as the first frame so the clip opens on your image; add a last frame to land the ending.

Short scenes with dialogue

Write the lines, the tone and the ambience into the prompt and the clip comes with sound: talking heads, drama shots, ad drafts.

Concept clips from sketches

Storyboard sketches, character sheets and set images as references, each with its job named; good for previs and title sequences.

Specs at a glance

Kling 4.0 API: what you send, what you get, what it costs

Model ID
kling-4.0
Endpoint
POST https://kovapi.com/v1/videos/generations → GET https://kovapi.com/v1/videos/jobs/{id}
Length
3–30 s, whole seconds
Resolution
720P / 1080P
Aspect ratio
16:9 / 9:16 / 1:1 / 21:9
References
images ≤10 · videos ≤5 (3-30 s each, ≤30 s in total) · no reference audio
Prompt
English ≤26,000 · other scripts ≤11,000 characters (Kling's own limit, mixed in proportion)
Results kept
7 days
Modes and fields

Modes and API fields

Every mode shares model (kling-4.0), prompt, duration, resolution and size. Images and videos are numbered in upload order; name them @Image1, @Video1 in the prompt.

ModeSendYou getLimits
Text to videoprompt and the generation settings, no files.Picture, motion and sound from the text; put lines, effects and music in the prompt.Only the general spec applies (see the spec sheet).
First frame to videoOne image in images with image_role: first_frame.The clip starts on that image and takes its shape.Not with reference videos; size is ignored.
First + last frameTwo images in images with image_role: first_frame: image 1 first, image 2 last.The clip starts on the first frame and ends on the last; the prompt fills the motion in between.At most 2 images; not with reference videos.
Reference images to videoUp to 10 images in images (image_role omitted or reference); say what each one is for.New footage that follows the people, products, sets or composition in the images.Up to 10 images.
Reference videoVideo links in video_references (images may come too); say whether to follow the motion, the camera or the pacing.The reference's motion or camera with new people and settings.Up to 5 videos, each 3-30 s and at least 700 px tall, 30 s in all.
Video editingThe video to change in video_references; start the prompt with "Edit @Video1" and say what changes and what stays; images can show the replacement.Changes made on the source: new subject, style or background with the motion and camera kept.The reference-video limits; billed the reference-video way.

Combination rules and notes

  • First / last frame takes at most 2 images, cannot be combined with reference videos, and the clip takes the first frame's shape. Kling 4.0 Flash has no first / last frame.
  • Reference videos: each 3-30 s and at least 700 px tall, up to 5 of them and 30 s in all; the same reference link is billed once.
  • No reference audio (sending one is refused at submit with a 400 and nothing is charged); the clip always has sound. For a reference voice use Seedance 2.5.
  • Kling's own manual says subtitles and background music are not excluded by default: write "no subtitles" or "no background music" when you do not want them.
  • prompt follows Kling's own limit: up to 26,000 English characters or 11,000 other characters, mixed text counted in proportion; a longer prompt is refused at submit with a 400 and not charged. Over 5,000 characters the clip must be 5-30 s and cannot use a first / last frame.
  • No 4K or HDR for now: 720P and 1080P only.
  • A prompt or file that fails content review ends the job with content_policy and nothing is charged; resubmitting it unchanged is usually rejected again. Make sure you may use the people and brands in your references.
Prompting

How to write Kling 4.0 prompts

Based on Kling's Kling 4.0 Video User Manual and the examples in Kling's API release notes: name each file and its job first, then the picture and the action, then the camera and the sound; when editing, say what changes and what stays. The lines quoted below come from the prompts of the cases on this page (Kling's own examples).

Habits that work

  • Long clips: a timeline of shots

    For 30 seconds, first say how many shots and how they cut, then what happens in each, by the second. Kling's 30-second example runs to 15 sections: scene, reference roles, location map, first frame, shot list, optics, camera, action timing, physics, lighting, audio, acting, style, quality, constraints.

    Dragon: "SHOT 1 — 0.0–4.0s: roar and launch.SHOT 2 — 4.0–9.0s: high-speed pursuit toward the harbour."

  • Recreating: say what you borrow and what you swap

    Kling's manual: name what you borrow from the reference (pacing, composition, presentation) and what you replace (people, products, scenes); the closer the reference is to the target in pacing and shot structure, the better.

    Dog to cat: "Replace the subject in @Video1 with @Image1. Keep everything else unchanged."

  • Name every file with @

    Images and videos are numbered in upload order. Give each one a job: composition, a character's look, the motion to follow, or the clip to edit.

    Lotus: "Use @Image1 for composition."

  • Edits in three parts: source, change, keep

    Kling's manual: an edit prompt names the video to edit, the exact change and what must be preserved, and says "Edit" when the source itself is changed.

    Corgi: "Edit @Video1: replace only the Corgi with one rigid 3D voxel Corgi... Keep the entire environment photorealistic and all camera movement, framing, duration and original audio unchanged."

  • Write the action as a sequence

    The first frame already sets the picture; the prompt says what happens next, in order, and how the face and gaze change.

    Squirrel: "It then raises one front paw, slowly bringing a small torch up beside its face..."

  • Camera and subject in separate clauses

    Say how the camera moves and whether the subject moves; depth and parallax come out more reliably.

    Lotus: "The camera pans to the right while the woman remains stationary."

  • Write the sound too

    Every clip has sound. Ask for the music and lines you want, and rule out the subtitles and music you do not.

    Lotus: "Background music: an elegant, celestial guzheng and flute duet."

Anatomy of a long prompt

1The video to edit

Say which clip changes, named @Video1.

"Edit @Video1:"

2The change

Only what changes and into what: shape, material, colour, one by one, plus what to avoid.

"Use a box torso, cube head... No fur, curves or gradients."

3Action match

List the source's key actions in order and ask for each one.

"Match every original action: porch-side stance, plunge beneath snow, head reappearance..."

4What stays

Environment, camera, framing, length and audio, each marked unchanged.

"Keep the entire environment photorealistic and all camera movement, framing, duration and original audio unchanged."

A template to edit

[Files] @Image1 is the main character's look; @Video1 is the (motion / camera) reference (delete the line if unused).
[Picture] (subject) (does what) in (place), (style and texture).
[Action] First (...), then (...), finally (...).
[Camera] (push in / pull out / pan / follow); the subject (moves / stays still).
[Sound] (lines, ambience, music); write "no background music" / "no subtitles" when you do not want them.
Pricing

Kling 4.0 API pricing

Billed per second of output, read from the billing table; jobs with reference videos use Kling's own formula at a lower rate. The playground shows the quote before you submit.

ResolutionKling 4.0With reference video (per billed second)
720P $0.09/sKling list price $0.14 · 35% below list$0.054/sKling list price $0.084 · 35% below list
1080P $0.125/sKling list price $0.21 · 40% below list$0.075/sKling list price $0.126 · 40% below list
  • No reference video: the per-second rate of the resolution x output seconds; first / last frames and reference images cost nothing extra. Example: 720P for 10 s = 10 x $0.09.
  • With reference videos (editing included), Kling's own formula: billed seconds = max(output x 2, output + reference-video seconds), at the "with reference video" rate (60% of the per-second rate); reference seconds round up to whole seconds. Example: the snow-corgi clip, 720P, 15 s output and a 14.8 s reference (counted as 15 s): max(30, 30) = 30 s, $1.62 in all.
  • The amount is held at submit and refunded in full if the job fails; automatic retries are charged once.

Cost calculator

This clip—
Choosing

Kling 4.0 vs Seedance 2.5, Veo 3.1 and other video APIs

Durations, resolutions, reference limits and prices below are live. Check that your files fit, then compare picture, motion and sound on your own samples.

ModelLength (s)ResolutionRefs image / video / audioPriceGood for
Kling 4.0This pagekling-4.0 3–30720P / 1080P10 / 5 / 0 from $0.09/s 30-second multi-shot shorts, first / last frame control, editing or recreating finished footage.
Kling 4.0 Flashkling-4.0-flash 3–20720P10 / 5 / 0 from $0.06/s The same prompts at 720P and up to 20 s for a lower rate; no first / last frame.
Seedance 2.5seedance-2.5 4–30480P / 720P / 1080P / 4K30 / 10 / 10 from $0.10/s A reference voice, more reference files, or 4K output.
Veo 3.1veo-3.1 8720P / 1080P3 / 0 / 0 $0.20/clip Fixed-length clips billed per clip.
Wan 3.0wan3.0-video 4–30480P / 720P / 1080P10 / 5 / 5 from $0.04/s Video from a document or web page, or a cheaper 480P tier.
MiniMax H3minimax-h3 4–15480P / 768P / 1080P9 / 3 / 3 from $0.015/s 1080P with first / last frame; the reference mode takes reference audio and video, up to 15 s.
Gemini Omni 1.2 Flashgemini-omni-1.2-flash 3–15720P / 1080P / 4K3 / 0 / 0 from $0.035/s Another model that edits video - worth comparing edits side by side.

To change existing footage or pin the opening / closing shot, pick Kling 4.0; to draft the same prompt cheaply first, use Kling 4.0 Flash and change only model. For a reference voice, pick Seedance 2.5. For the real differences, see the same-prompt comparison above.

Four steps

How to use the Kling 4.0 API on KovAPI

  1. 1

    Sign up and create an API key

    Sign in to KovAPI and create a key in the console. No separate Kling API key is needed; one key calls every model on the site.

    Sign up for KovAPI
  2. 2

    Try a prompt above

    Upload a first frame, reference images or videos, pick length, resolution and ratio, and see the live quote before you submit.

    Open the playground
  3. 3

    Submit an async job

    Send kling-4.0 to POST /v1/videos/generations; on HTTP 202 keep the job id. Do not submit twice.

    Kling 4.0 API docs
  4. 4

    Poll or receive a webhook

    Poll the job id, or set callback_url when submitting. On success download the MP4 from data[0].url; clips are kept for 7 days.

    Webhook docs
Why KovAPI

Why use Kling 4.0 on KovAPI

Below Kling's list price

720P is 35% below Kling's list price and 1080P 40%; reference-video jobs keep Kling's formula at a lower rate.

Kling's original file

You get the Kling API's original file with Kling's C2PA signature and AIGC label. We do not transcode or compress it.

Failed jobs are free, retries are automatic

If a job fails, the held amount is refunded in full; when the upstream is busy or errors, the system retries for you.

Tests in the open

Every case here was rendered by us on November 30 and December 1 with the original parameters, with its cost; the same-prompt comparison puts Seedance 2.5 and Veo 3.1 alongside, good and bad.

Easy sign-up and payment

Email, Google or GitHub sign-up; top up by card, WeChat Pay or USDT; pay as you go with no monthly fee, and the same key calls the chat and image models too.

Evolution

How Kling got here

Dates as Kling announced them; what you can use on KovAPI today is in the modes table above.

  1. 2024-06

    Kling launches

    Kuaishou releases its Kling video model to the public.

  2. 2024-12

    Kling 1.6

    Better picture quality and prompt understanding.

  3. 2025-04

    Kling 2.0

    A new generation with clearly better motion and picture quality.

  4. 2026-02

    Kling 3.0

    Clips up to 15 s, with sound generated alongside the picture.

  5. 2026-09-28

    Kling 4.0 Flash · early preview

    Kling announces Kling 4.0 and its Flash edition; Flash opens first as a preview for subscribers.

  6. 2026-10-15

    Kling 4.0 · 30 seconds and video editingCurrent

    Full launch: clips up to 30 s with stereo sound, up to 10 images and 5 videos as references, and editing of existing videos.

FAQ

Kling 4.0 API FAQ

What is Kling 4.0?
The video model Kuaishou's Kling released in October 2026. On KovAPI it is kling-4.0: text-to-video, first / last frame, image and video references and video editing, always with sound, 3-30 s per clip.
Is there a Kling 4.0 API? Do I need a Kling API key?
Yes. Sign up on KovAPI, create a key and call kling-4.0 with POST /v1/videos/generations; no separate Kling key is needed, and the same key works for every other model on the site.
How much does the Kling 4.0 API cost?
Per second of output: 720P $0.09/s and 1080P $0.125/s (Kling's list prices $0.14 / $0.21). 720P for 10 s is 10 x $0.09. Reference videos: see the next answer.
How are reference videos and edits billed?
Kling's own formula: max(output x 2, output + reference-video seconds) x the reference-video rate (720P $0.054/s, 60% of the per-second rate). Example: a 15 s output with a 14.8 s reference is billed as 30 s, $1.62.
Can it make a 30-second multi-shot video?
Yes. Set 30 seconds and write the shots on a timeline; Kling splits the shots. The dragon on this page is Kling's own 30-second, six-shot prompt (7,182 characters) in one clip, $2.70 at 720P.
How long can the prompt be?
Kling's own limit: up to 26,000 English characters or 11,000 Chinese and other characters, mixed text counted in proportion; anything longer is refused at submit with a 400 and nothing is charged. Over 5,000 characters the clip must be 5-30 s and cannot use a first / last frame. Kling 4.0 Flash works the same way (5-20 s).
Kling 4.0 vs Seedance 2.5 and Veo 3.1?
We ran the same prompts at 8 seconds each (see the comparison on this page): on the chef, Veo 3.1 and Kling 4.0 kept to "three chops" while Seedance 2.5 sliced on; on the skateboard, Kling 4.0 and Seedance 2.5 cleared the hydrant and Veo 3.1 landed beside it. For the choice: Kling 4.0 does 30 s, first / last frames and direct edits; Seedance 2.5 takes a reference voice; Veo 3.1 is a fixed 8 s, billed per clip.
How do I use a first and last frame?
Send 1-2 images with image_role: first_frame: image 1 is the first frame, image 2 the last (one image for a first frame only). The clip takes the first frame's shape and cannot be combined with reference videos. Kling 4.0 Flash has no first / last frame.
How do I edit an existing video?
Put it in video_references and start the prompt with "Edit @Video1": say what changes and what stays, e.g. swap the subject and keep the motion, camera and original audio. Each reference is 3-30 s and at least 700 px tall, up to 5 of them and 30 s in all.
Kling 4.0 vs Kling 4.0 Flash: what is the difference?
Same prompts and references. Flash is 720P only, 3-20 s, reference videos up to 20 s in all, no first / last frame, at a lower rate. Draft with Flash, finish with Kling 4.0.
Does it do 4K or HDR?
Not for now; KovAPI offers 720P and 1080P.
How long does a clip take?
In our tests on November 30 and December 1, jobs of 5-30 seconds mostly took 8-12 minutes, longer when the queue is busy. Poll the job id and do not resubmit; after 120 minutes the job is refunded in full.
Am I charged if content review rejects it?
No. A prompt or file that fails review ends the job with content_policy and the held amount is refunded; resubmitting it unchanged is usually rejected again, so change the content.
Last updated 2026-12-01

Original prompt


        
      
HD original

Related Models

Explore other models you can integrate.

View all →