CheaperGen
KuaishouvideoNew

Kling 4.0 API

Kling's newest video model — up to 30 s with stereo sound on every clip

Try Kling 4.0

Runs on your balance at the price shown on the button. Results are saved to your account.

Open full-screen Studio
0/8000

Output frame shape.

Output resolution. Higher resolutions cost more per second.

5s

Length of the generated clip in seconds (3–30s). You pay per second.

Estimated cost…

Create a free account with Google or email — pay only for what you generate.

Your video will appear here

Write a prompt, pick your settings and hit Run. You only pay for successful generations.

What is Kling 4.0?

Kuaishou Kling 4.0 generates 3–30 second videos at 720p or 1080p with stereo sound, from text, a first and last frame, or reference images and videos.

Up to 30 seconds
Pay per second
Stereo audio
Included on every clip
720p / 1080p
16:9, 9:16, 1:1 and 21:9
References
Images, videos, first & last frame

Longer, sharper shots

Kling 4.0 makes clips of up to 30 seconds in a single generation, with Kling's realistic motion, steady faces and hands, and close prompt following — now including a 21:9 cinematic frame.

Sound on every clip

Every video comes with synchronized stereo audio — dialogue, ambience and effects — generated together with the picture and included in the price.

Frames and references

Animate between a first and last frame, or combine up to 10 reference images and up to 5 reference videos, and refer to them in the prompt as @Image1 and @Video1.

Kling 4.0 pricing

Pay per second of video as you go, with no subscription required (monthly plans are optional). Failed generations are refunded automatically.

TierOfficial priceCheaperGen
720p
audio included
$0.157/s$0.1486/s
1080p
audio included
$0.235/s$0.2226/s
  • Official price: Kling developer API list price for Kling 4.0, kling.ai/dev/pricing (1 unit = $0.157 / s at 720p, 1.5 units = $0.235 / s at 1080p; with input video $0.094 / $0.141 per second of output plus the longer of the output and the input video; audio always on). Prices verified October 18, 2026.
  • Audio is always generated and included in the price.
  • With a reference video, the output seconds plus the longer of the output and the reference videos are billed at a lower per-second rate.

Specifications

Resolutions
720p · 1080p
Duration
3–30 s
Aspect ratios
16:9 · 9:16 · 1:1 · 21:9
Audio
Always on (included)
Inputs
Text, first/last frame, or up to 10 reference images and 5 reference videos
Released
Oct 26, 2026

Use Kling 4.0 via API

One request to start a job, one to fetch the result. Same shape for every model.

Full API reference
const API = "https://cheapergen.com/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHEAPERGEN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. Submit the job
let job = await fetch(`${API}/run/kuaishou/kling-4.0/text-to-video`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "prompt": "A paper boat drifts along a rain-filled gutter at night, neon reflections, the soft patter of rain",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  }),
}).then((r) => r.json());

// 2. Poll until it finishes (or pass webhook_url and skip polling)
while (job.status === "queued" || job.status === "running") {
  await new Promise((r) => setTimeout(r, 3000));
  job = await fetch(`${API}/generations/${job.id}`, { headers }).then((r) => r.json());
}

console.log(job.status === "succeeded" ? job.output.video.url : job.error);

Example prompts

Hit “Try it” to load a prompt into the playground above.

  • A paper boat drifts along a rain-filled gutter at night, neon reflections, the soft patter of rain

    Try it
  • Wide 21:9 shot: a lone rider crosses a salt flat at dawn, heat haze, hoofbeats and wind

    Try it
  • A street musician plays an accordion in a Paris square as pigeons take off, warm afternoon light

    Try it
  • Reference to Video

    @Image1 tries on the jacket from @Image2 in front of a mirror, then turns to camera and smiles

    Try it

Kling 4.0 FAQ

Per second of output video at 720p or 1080p. Audio is always generated and included in the price. With a reference video, the output seconds plus the longer of the output and the reference videos are billed at a lower per-second rate. Failed generations are never charged.

Yes. Requests run on Kuaishou's Kling 4.0 — the same model and output quality as the Kling developer API, at a lower price.

Any whole number of seconds from 3 to 30, in one generation.

In Reference to Video, attach up to 10 images and up to 5 videos and mention them in the prompt as @Image1, @Image2… and @Video1, @Video2… — for example "@Image1 walks along the beach, following the camera move of @Video1".

Yes, subject to Kuaishou's Kling usage policy and our Terms of Service.

Kling 4.0 costs $0.1486–$0.2226 per second of video, 5% below the official price. A 5-second 720p clip is $0.75. You pay per second, with no subscription needed, and failed generations are refunded. Real projects priced end to end: Kling 4.0 API cost.

720p: $0.1486/s (official $0.157); 1080p: $0.2226/s (official $0.235). The price per second page breaks it down further; every tier is on Kling 4.0 API pricing.

Use 720p and short clips while you iterate (from $0.45 a clip), then render finals at the resolution you need. Every tier here is already 5% below the official price. In the same family, Kling 3.0 Turbo starts at $0.1064/s. More: Cheapest Kling 4.0.

Sign up at CheaperGen, add credits and create a key in Dashboard → API keys, then send it as a bearer token. The same key works for Kling 4.0 and every other model in the catalog; you don't need a Kuaishou account. Step by step: Kling 4.0 API key.

The Kling 4.0 API documentation covers its 3 endpoints (kuaishou/kling-4.0/text-to-video, kuaishou/kling-4.0/image-to-video, kuaishou/kling-4.0/reference-to-video): every parameter with its allowed values and default, request and response examples in cURL, Python and Node.js, polling, webhooks and errors. An OpenAPI file is available too.

Besides Kling 4.0, the Kling API covers Kling 3.0 Turbo (from $0.1064/s), Kling 3.0 (from $0.0773/s) and Kling 3.0 Omni (from $0.0773/s). All run on the same API key; the Kling API page compares them side by side, and Kling Latest shows which is newest.

There is no free tier, but no subscription is needed either: credits are prepaid and only successful generations are charged. Failed generations are refunded automatically, and the quote endpoint (POST /v1/quote/{endpoint}) prices any request for free. No code needed: how to use Kling 4.0 in the Studio.

Kling 4.0 is developed by Kuaishou. CheaperGen provides API access and does not own the model. Trademarks belong to their respective owners. · Markdown · OpenAPI