Kling 4.0 Text to Video API

kwaivgi/kling-v4.0/text-to-video
720p / 1080p · 3–30 sec

Kling 4.0 Text to Video turns a prompt or multi-shot script into one 3–30 second 720p or 1080p video with stereo audio and five aspect ratios. It keeps scenes coherent across long takes and shot changes while following your camera, dialogue and sound directions.

Input
511/26000

Switch to JSON to write multi-shot prompts with multi_prompt.

Kling 4.0 Text to Video

Kling 4.0 is the video model Kuaishou's Kling AI launched on 15 October 2026, generating up to 30 seconds in one pass. Text to Video builds the clip from words alone: write one prompt for a continuous take, or a multi_prompt list where each shot has its own description and length. Output includes a stereo audio track, so dialogue, effects and ambience written into the prompt come back with the picture.

Why choose the Kling 4.0 Text to Video API?

  • 30 seconds in one passChoose any length from 3 to 30 seconds without stitching separate generations.

  • Multi-shot scriptsmulti_prompt lets each shot carry its own prompt and duration inside one video.

  • Stereo audio with dialogueThe output carries a stereo track; write spoken lines, effects and ambience into the prompt.

  • Five framing optionsauto, 16:9, 9:16, 1:1 or 21:9 for screens, feeds and cinematic shots.

Parameters

ParameterRequirementDescription
promptRequired unless multi_prompt is sent

One prompt for the whole clip, 1–26,000 characters after trimming. Describe action, camera, and any dialogue, effects or ambience. Send either prompt or multi_prompt.

Default—
multi_promptRequired unless prompt is sent

A list of shots, each {prompt (1–512 characters), duration (1–30 s, default 5)}. Shot durations must total 3–30 seconds and set the clip length.

Default—
durationOptional

Output length in seconds, 3–30. With multi_prompt it defaults to the shot total.

Default5
resolutionOptional

720p or 1080p. The resolution sets the per-second rate.

Default720p
aspect_ratioOptional

auto, 16:9, 9:16, 1:1 or 21:9.

Defaultauto

How to Use

  1. Write the sceneDescribe action, camera movement and lighting, and put spoken lines in quotes.

  2. Choose one take or several shotsSend prompt for one continuous take, or multi_prompt with up to 30 seconds of shots.

  3. Set length, resolution and framePick 3–30 seconds, 720p or 1080p, and an aspect ratio.

  4. Submit and collect the videoKeep the task_id and poll the status endpoint or use callback_url until the video URL is returned.

Usage and billing

Kling 4.0 Text to Video is billed per output second at the selected resolution.

UsageRateDetails
720p28.5 credits / second$0.1425 / output second. 5 seconds = 142.5 credits ($0.7125); 30 seconds = 855 credits ($4.275).
1080p42.5 credits / second$0.2125 / output second. 10 seconds = 425 credits ($2.125); 30 seconds = 1,275 credits ($6.375).

Best Use Cases

  • Single-take ads and brand filmsWrite a 20–30 second continuous shot with voice-over or dialogue.

  • Short-drama scenesScript several shots with their own timing in one multi_prompt request.

  • Explainers and narrated clipsPair visuals with spoken lines written into the prompt.

  • Vertical social videoGenerate 9:16 clips with sound ready for feeds.

Pro Tips

  • For a 20–30 second take, describe how the action and camera evolve over time, not just the opening moment.
  • In multi_prompt, keep each shot under 512 characters and give it a clear duration; shots without one default to 5 seconds.
  • Name the language for dialogue, for example: she says in Spanish, "Vamos."
  • Draft at 720p and rerun approved prompts at 1080p.

Notes

  • Send exactly one of prompt or multi_prompt. When both multi_prompt and duration are sent, duration must equal the shot total.
  • Credits are output seconds × the resolution rate and are reserved when the task is submitted.
  • A successful submission returns a task_id; poll the status endpoint or set callback_url to receive the result.

Related Models

Kling 4.0 Text to Video API FAQ

What is the Kling 4.0 Text to Video API?

Kling 4.0 Text to Video is a Kuaishou model for generating video from text, released by Kling AI on 15 October 2026. It turns one prompt or a multi-shot script into a 3–30 second clip at 720p or 1080p with a stereo audio track. Single-pass generation up to 30 seconds keeps characters, setting and camera direction coherent across long takes and shot changes. You can call it programmatically or try it from the playground above.

How do multi-shot prompts work in Kling 4.0 Text to Video?

Send multi_prompt instead of prompt: a list of shots, each with its own prompt of up to 512 characters and a duration of 1–30 seconds (5 by default). The shot durations must total 3–30 seconds, and that total becomes the clip length.

How long can a Kling 4.0 Text to Video clip be?

Any whole number of seconds from 3 to 30, generated in a single pass. The default is 5 seconds.

Does Kling 4.0 Text to Video generate dialogue and sound?

Every clip includes a stereo audio track. Write spoken lines in quotes, name the language, and describe effects and ambience; Kling lists English, Chinese, Japanese, Korean, Spanish and other languages for dialogue.

How much does Kling 4.0 Text to Video cost?

It costs 28.5 credits ($0.1425) per output second at 720p and 42.5 credits ($0.2125) at 1080p. A 10-second 1080p clip is 425 credits.

Which aspect ratios does Kling 4.0 Text to Video offer?

auto, 16:9, 9:16, 1:1 and 21:9. Set the ratio explicitly when you deliver to a fixed format such as a vertical feed.

How does Kling 4.0 Text to Video compare with Kling 3.0 Turbo?

Kling 4.0 extends single clips to 30 seconds, adds multi-shot prompts of up to 30 seconds and offers both 720p and 1080p. Kling 3.0 Turbo Pro remains a faster, lower-cost 1080p option for clips up to 15 seconds.