All models

KuaishouVideo

Kling 4.0

Steady characters, longer takes and per-shot prompts.

video/kling-4

Kling 4.0

Video

Price
16 credits / second
Typical time
about 3 min
Makes
Text to video, Image to video, Reference to video
Clip length
3 to 15 s

Best for

Kling 4.0 is Kuaishou's newest video model. It renders text or image to video at 720p or 1080p, holds a character steady through the clip, and takes up to 30 seconds with a prompt per shot.

  • Trailer shots where the hero must look the same from start to end.
  • Cutscenes that put your characters, from renders or concept art, into new scenes (references).
  • Cut scene with sound: render the clip with Kling 4.0, then add sound with Kling Video to Audio or ThinkSound.

Put it together

Where Kling 4.0 fits in a game, with the models it works well with. Your agent runs every step.

Price

ModeModelPrice
Text to videoKling 4.016 credits / second
Image to videoKling 4.016 credits / second
Reference to videoKling 4.0 References16 credits / second

Paid from your Summer credits.

Use it from code or your agent

Sign in once with summer login. Your agent or your code then runs it with your paid credits.

npx -y summer-engine@latest login
npx -y summer-engine@latest api run video/kling-4 \
  --input '{"prompt":"a dragon circling a castle at dawn","duration":5}' \
  --download .

video/kling-4: $0.157 per second of video. Paid from your Summer credits.

Inputs

What input takes for video/kling-4. Send only what you need; Summer fills in tested defaults.

  • promptstringup to 4000 characters

    What happens in the clip. Needed without imageUrl.

  • imageUrlstringup to 2048 characters

    A public image URL to animate (image to video).

  • referenceImageUrlsarray of string1 to 10 items

    Reference to video: public images of the characters, props or style to keep (with a reference model, e.g. kling-4-ref). Motion transfer: the character to move.

  • videoUrlstringup to 2048 characters

    An input clip (public URL, at most 20 s): restyle or reframe it, move a character with its motion, or add sound to it (e.g. kling-video-to-audio). Billed on the clip's length.

  • durationintegerDefault 5 · 1 to 20

    Seconds; the model renders its nearest supported length.

  • aspectRatioenumDefault 16:9
    • 16:9
    • 9:16
    • 1:1
    • 4:3
    • 3:4
    • 21:9
    • 3:2
    • 2:3
    • auto
  • negativePromptstringup to 1000 characters

    What the clip must not show.

  • resolutionenum

    Only a quality the model offers; leave out for its default.

    • 720p
    • 1080p
    • 4k
    • 480p
    • 768p
    • 2k
    • 768P
    • 1080P
    • 480P

Model docs · Summer API docs · Set up the Summer MCP server · Try it in the browser

Questions

What is Kling 4.0 good for in game development?
Kling 4.0 is Kuaishou's newest video model. It renders text or image to video at 720p or 1080p, holds a character steady through the clip, and takes up to 30 seconds with a prompt per shot. Typical game uses: trailer shots where the hero must look the same from start to end; cutscenes that put your characters, from renders or concept art, into new scenes (references); cut scene with sound: render the clip with Kling 4.0, then add sound with Kling Video to Audio or ThinkSound.
How much does Kling 4.0 cost in Summer?
In Summer Studio: Kling 4.0 (text to video): 16 credits / second; Kling 4.0 (image to video): 16 credits / second; Kling 4.0 References (reference to video): 16 credits / second. It is charged from your Summer credits.
What can Kling 4.0 generate, and how long are the clips?
In Summer, Kling 4.0 supports text to video, image to video, and reference to video. Generated clips run 3, 5, 8, 10, and 15 seconds, in 16:9, 9:16, 1:1, and 21:9 aspect ratios at 720p and 1080p.
Can I use Kling 4.0 from Claude Code, Cursor or Codex?
Yes. Connect the Summer MCP server to Claude Code, Cursor, Codex or another MCP client, then ask your agent to generate with summer_generate_video with model: "kling-4". Setup instructions are at summerengine.com/mcp.
Where do Kling 4.0 results go?
Every generation is saved to your Summer asset library. From there you can download it or bring it into a Summer Engine project.