Kling 4.0 Video Edit API: Text Edits on Real Clips

What the Kling 4.0 video edit API changes, what it leaves alone, and what it costs: four edits run end to end on Siray AI with real timings, including the same prompt on Flash.

Cover for the Kling 4.0 video edit API guide with the Siray AI logo, background made with Nano Banana Pro

The Kling 4.0 video edit API takes a clip you already have and changes one thing inside it from a text instruction. On Siray AI a 5-second 1080p edit of a 5-second clip costs $1.41, billed on the output duration plus the input duration, and the clip keeps its original camera move and its original sound.

Key takeaways

  • Two endpoints: kuaishou/kling-4.0-video-edit outputs 720p or 1080p from 3 to 30 seconds; kuaishou/kling-4.0-flash-video-edit outputs 720p from 3 to 20 seconds.
  • You pay for the input too. Editing is billed as output seconds plus input seconds, so a 5-second edit of a 5-second clip costs $1.41 at 1080p or $0.63 on Flash.
  • It edits, it does not regenerate. In all four of our tests the framing, the camera move, the light direction and the person stayed where they were.
  • Speed in our tests: 172 s and 130 s at 1080p on Kling 4.0; 83 s and 78 s on Flash.
  • Input requirements are barely documented. The API reference says only "Input video URL" — no formats, size or source-duration limits. Our MP4 sources were accepted on the first try.

What is Kling 4.0 video edit?

Kling 4.0 is Kuaishou's video model. Kling AI announced it on September 30, 2026 and launched it on October 15, 2026, promising you can "make targeted edits to character expressions, body movements, camera positions, camera movements, overall style … while keeping the rest of the scene stable". Video edit is the endpoint that does that to a clip you supply instead of generating a new one. Kling 4.0 Flash is the cheaper tier: one resolution, shorter maximum length, roughly half the price per second.

The new 4K output does not reach the API yet. On December 1, 2026, Animation World Network reported that Kling 4.0 now outputs native 4K with 10-bit HDR, six weeks after both were listed as coming soon; Wisevoter's write-up adds that HDR runs at 1080p. On Siray AI, size accepts 720p and 1080p only and the pricing API lists no 4K or HDR tier as of December 2, 2026 — check the console for when that changes.

Endpoints on Siray AI

Model ID Output Length Required inputs Optional inputs
kuaishou/kling-4.0-video-edit 720p, 1080p 3–30 s prompt, video, duration, size, aspect_ratio keep_original_sound, image, elements
kuaishou/kling-4.0-flash-video-edit 720p 3–20 s prompt, video, duration, size, aspect_ratio keep_original_sound, image, elements

Values from the Siray AI API reference for Kling 4.0 video edit and Kling 4.0 Flash video edit.

aspect_ratio accepts auto, 16:9, 9:16, 1:1 and 21:9. image and elements attach optional references beside the video — elements takes frontal_image, reference_images and video per character or object — and we left both out so the only variable in the tests below was the instruction.

What the input video has to be

This is the part the documentation does not answer. Both model pages describe video in four words: "Input video URL" — no container or codec, no maximum file size, no source-duration range, no minimum resolution.

What worked in our tests: a public HTTPS MP4 (H.264), one 1920×1080 and one 1280×720, both 5.04 seconds and 4 to 11 MB. All four requests were accepted on first submission. Three points follow:

  • The URL has to be reachable from Siray's servers. An expiring signed link or a localhost path fails at the server. We passed a published media URL from this blog.
  • duration sets the output length, not the source. It takes whole seconds, 3 to 30 on Kling 4.0 and 3 to 20 on Flash; our sources were 5 seconds and we asked for 5.
  • Trim long sources first. Input seconds are billed, so a 30-second source sent to a 5-second output still pays for 30.

Pricing on Siray AI

Prices from the Siray AI pricing API on December 2, 2026. Rates per second are calculated from the 5-second row.

Endpoint Output Price for 5 s Each input second
kling-4.0-video-edit 1080p $0.705 $0.141
kling-4.0-video-edit 720p $0.47 $0.094
kling-4.0-flash-video-edit 720p $0.315 $0.063

Worked examples, assuming the input clip is the same length as the output:

Edit Calculation Total
3 s at 1080p $0.423 + 3 × $0.141 $0.846
5 s at 1080p $0.705 + 5 × $0.141 $1.41
10 s at 1080p $1.41 + 10 × $0.141 $2.82
5 s at 720p $0.47 + 5 × $0.094 $0.94
5 s on Flash $0.315 + 5 × $0.063 $0.63
20 s on Flash $1.26 + 20 × $0.063 $2.52

Two things worth knowing before you budget:

  • An edit costs about twice a generation of the same length. Plain Kling 4.0 generation at 1080p is about $0.235 per second; an edit where input and output are both 5 seconds works out to $0.282 per output second. Flash: $0.094 per second to generate, $0.126 per second to edit.
  • The Flash price table also lists a row without an input video ($0.47 for 5 seconds, $1.88 for 20 seconds), even though video is marked required in the API reference. We did not test that combination, so treat it as unexplained rather than as a feature.

Quickstart: call Kling 4.0 video edit with the Siray API

Submit the job, then poll the task until it finishes. This is the exact request we sent for the first test; video is a public URL to your own clip.

curl -X POST https://api.siray.ai/v1/video/generations \
  -H "Authorization: Bearer $SIRAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kuaishou/kling-4.0-video-edit",
    "prompt": "Change the weather from a rainy dusk to a clear, dry summer evening. Remove the rain, the puddles and the steam rising by the stall, and make the cobblestone street dry. Clear the sky to a warm orange and pink sunset gradient. Keep the strings of round lanterns glowing, keep the wooden buildings, the noodle stall, the low forward camera dolly and the framing exactly as in the original video. No people. No text, no logos.",
    "video": "https://example.com/your-clip.mp4",
    "duration": 5,
    "size": "1080p",
    "aspect_ratio": "16:9",
    "keep_original_sound": true
  }'

The response returns a task_id. Poll GET /v1/video/generations/{task_id} every few seconds; status moves through NOT_START, QUEUED, IN_PROGRESS and then SUCCESS or FAILURE, and data.outputs holds the finished video URL.

Tested edits

Four edits, two source clips, Kling 4.0 and Flash. Every frame below is taken from the returned file.

1. Rainy dusk to a dry sunset (1080p)

The source clip is a lantern-lit street at rainy dusk, with puddles reflecting the lanterns and a low camera that dollies forward and rises over the roofs.

Source frame from the input clip: a lantern-lit street at rainy dusk, made with Kling 4.0

Change the weather from a rainy dusk to a clear, dry summer evening. Remove the rain, the puddles and the steam rising by the stall, and make the cobblestone street dry. Clear the sky to a warm orange and pink sunset gradient. Keep the strings of round lanterns glowing, keep the wooden buildings, the noodle stall, the low forward camera dolly and the framing exactly as in the original video. No people. No text, no logos.
  • Endpoint: kling-4.0-video-edit, 5 s input, 5 s, 1080p, 16:9, keep_original_sound: true
  • Time: 172 seconds · Cost: $1.41 · Output: 1920×1080, 24 fps, 5.04 s

The same street after a Kling 4.0 video edit turned rainy dusk into a dry orange sunset, 1080p frame

Watch the clip

Everything the prompt asked to remove is gone: no rain, no puddles, no steam. The sky is a clean orange sunset, the lanterns still glow, and the camera keeps its rise from street level to above the roofs. Two details drifted: the paving reads as flat stone slabs rather than wet cobbles, and the eaves on both sides simplified. The lantern strings, the stall and the mountain silhouette held.

2. The same prompt on Flash (720p)

Same input clip, same prompt, same 5 seconds — only the endpoint changed.

  • Endpoint: kling-4.0-flash-video-edit, 5 s input, 5 s, 720p, 16:9, keep_original_sound: true
  • Time: 83 seconds · Cost: $0.63 · Output: 1280×720, 24 fps, 5.04 s

The same weather edit on Kling 4.0 Flash at 720p, with a paler sunset sky and dimmer lanterns

Watch the clip

The geometry matched the Kling 4.0 take closely, and the camera move held again. The difference was the light: Flash left the sky a pale pink dusk with a thin band of cloud, and the lanterns came out dimmer, closer to night than to golden hour. At $0.78 less per clip, that is the trade.

3. Mustard cardigan to deep burgundy (1080p)

For a character a wardrobe change is the harder test: the model has to recolour fabric and leave the face, hands and book alone.

Change the woman's cardigan from mustard yellow to deep burgundy. Keep the same white top underneath, the same person, face, hairstyle, expression, hand position on the book, the library shelves, the wall clock, the rain on the windows, the lighting and the camera completely unchanged. Only the cardigan changes colour, and it must stay fully buttoned and opaque. No text, no logos.
  • Endpoint: kling-4.0-video-edit, 5 s input, 5 s, 1080p, 16:9, keep_original_sound: true
  • Time: 130 seconds · Cost: $1.41 · Output: 1920×1080, 24 fps, 5.04 s

Frame from the cardigan edit: the woman in the library now wears a deep burgundy cardigan, everything else unchanged

Watch the clip

The cardigan changed colour and stayed buttoned to the collar; the white top, the earring, the hands on the book, the clock and the rain-streaked windows all survived. This was the most convincing of the four, because nothing had to move for it to work.

4. Add a prop, and turn the sound off (Flash, 720p)

An addition is harder than a removal: the model has to place something new in the scene without disturbing the parts you did not mention.

Add a white ceramic teacup with a saucer on the wooden table in the lower foreground, filled with hot amber tea and a thin wisp of steam rising from it. Keep everything else exactly as in the original video: the woman, her mustard cardigan, the book under her hands, the bookshelves, the rained-on windows, the lighting and the camera movement. No new people. No text, no logos.
  • Endpoint: kling-4.0-flash-video-edit, 5 s input, 5 s, 720p, 16:9, keep_original_sound: false
  • Time: 78 seconds · Cost: $0.63 · Output: 1280×720, 24 fps, 5.04 s

Frame from the Flash edit with a white teacup and saucer added to the table in the lower foreground, steam rising

Watch the clip

The cup, saucer and steam appeared where the prompt asked, at the left edge of the table, and stayed put across the clip. The person, her mustard cardigan and the book did not change.

One finding from this run: keep_original_sound: false does not return silence. Measured on the returned file, the audio track averaged −24.5 dB with a −2.7 dB peak, against −30.5 dB and −8.3 dB on the source clip — a different track, not a muted one. With true the two weather edits came back at −23.6 dB and −10.2 dB, matching their source to within 0.1 dB. If you need a silent deliverable, mute in your editor rather than relying on this flag.

Prompting tips for Kling 4.0 video edit

  • State the one change, then what must not move. Every edit that held its subject said so explicitly: "keep the same person, face, hands, lighting and camera".
  • Say what to remove, not only what to add. "Dry summer evening" did not describe the puddles; "remove the rain, the puddles and the steam" did.
  • Describe the destination, not the direction. "A warm orange and pink sunset gradient" landed; "make it sunny" is where weather edits go pale.
  • Give a new prop a position and a material. "White ceramic teacup with a saucer, lower foreground" is why the cup appeared in frame and not on a shelf.
  • Keep the camera sentence explicit. The alley source rises from street level to the roofs, and both models reproduced that only because the prompt named the "low forward camera dolly".
  • Draft on Flash, finish at 1080p. $0.63 and 83 seconds against $1.41 and 172 seconds is cheap enough to iterate on wording.

When to use Kling 4.0 video edit (and when not)

  • Weather, time of day and lighting on footage you have already shot or generated.
  • Wardrobe and colour changes on a person, when the performance has to stay identical.
  • Product or prop additions to an existing shot, for a variant of the same ad.
  • One master clip, several versions, without re-shooting the scene.

Look elsewhere when:

  • You need 4K or 10-bit HDR today: Kling AI has announced both, but Siray AI's Kling 4.0 endpoints still top out at 1080p.
  • The change is to what a person says or to the timing of a performance: there is no voice or lip-sync field, and the performance is preserved rather than re-directed.
  • You want a new shot rather than an edit: image-to-video from a still is cheaper, and for dialogue scenes Seedance 2.5 carries its own audio. For per-second maths across 14 models, see what 100 product videos cost.

For the full Kling 4.0 line — t2v, i2v, ref2v, endpoints, prices and six tested prompts — see the Kling 4.0 API overview. That guide also has a Flash video edit that turns rain into snow.

FAQ

How much does the Kling 4.0 video edit API cost?

A 5-second 1080p edit of a 5-second clip costs $1.41 on Siray AI: $0.705 for the output plus $0.141 for each input second. The same edit on Flash is $0.63. Shortening the input clip is the fastest way to cut the bill.

How long does a Kling 4.0 video edit take?

In our tests, 130 and 172 seconds at 1080p, and 78 and 83 seconds on Flash. The two 720p jobs were the fastest, but with only four runs we cannot separate resolution from queue time.

What input video does video edit accept?

The API reference lists only "Input video URL" and does not publish accepted formats, file size or source duration. Our sources were H.264 MP4 files at 1280×720 and 1920×1080, 5.04 seconds long, and all four requests were accepted.

Does video edit keep the original audio?

With keep_original_sound: true, yes — the returned tracks matched the source to within 0.1 dB mean volume. With false the API returned a different track rather than silence, so mute in your editor if you need a silent file.

Is Kling 4.0 video edit available in 4K?

Not through Siray AI at the time of writing. Kling AI announced native 4K with 10-bit HDR on December 1, 2026, but size on both video edit endpoints accepts 720p and 1080p only.

What is the difference between Kling 4.0 video edit and Flash video edit?

Flash outputs 720p only and stops at 20 seconds, at about half the price per input second ($0.063 against $0.141). In our identical weather test it matched the full model's geometry but left the light paler and the lanterns dimmer.

Try Kling 4.0 video edit on Siray AI

Get an API key and open the Kling 4.0 video edit model page. The same key works for Flash and for every other model on Siray AI.

Sources