# Replicate — The Ultimate Guide to Kling 4.0

- Company: Replicate (replicate.com)
- Announced: 2026-10-27
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://replicate.com/blog/kling-4
- Record: https://forck.live/items/31025-the-ultimate-guide-to-kling-4-0
- Subject: Platform
- Models affected: Kling 4.0

Replicate's guide walks through Kling 4.0, the new version of Kuaishou's video model, and how to direct a shot with it on Replicate and Cloudflare AI Gateway. The model generates clips of 3 to 30 seconds at 720p or 1080p, in 16:9, 9:16, 1:1 and a new ultra-wide 21:9, with prompts up to 26,000 characters. The guide's headline change is keyframing: instead of a start and an end image, users can supply a start image, middle images and an end image, up to 10 in total, and the video passes through each in order in one continuous shot. On Replicate those inputs are start_image, middle_images and end_image; on AI Gateway they are first_frame, middle_frames and last_frame, and the model is called kwaivgi/kling-v4.0 and klingai/kling-v4 respectively. With keyframes the output takes the shape of the images, so aspect_ratio is ignored. Requests through AI Gateway can use logging, caching and rate limiting, and Cloudflare handles Kling credentials and bills usage per output second through Unified Billing, so no Kling API key is needed. The guide says a 10-second 1080p clip takes a few minutes to generate, and advises leading with the camera, naming keyframes in the prompt, and asking for one continuous shot.

## Evidence

Verbatim from https://replicate.com/blog/kling-4:

> Kling from Kuaishou has been one of the front-runners in AI video for a while. Kling 4.0 is the new version, and it changes how you direct a shot.
> 
> The headline numbers:
> 
> Up to 30 seconds per generation, anywhere from 3 to 30.
> 
> 720p or 1080p output.
> 
> Four aspect ratios: 16:9, 9:16, 1:1, and a new ultra-wide 21:9.
> 
> Prompts up to 26,000 characters , so you can write a whole shot list.
> 
> Up to 10 keyframes: a first frame, a last frame, and images in between that the video passes through in order.
> 
> This post walks through what Kling 4.0 does best, with real outputs for each.
> 
> Text to video
> 
> Start with a plain description of the scene and the camera. Kling 4.0 holds onto small physical details, like ripples spreading where raindrops land and neon reflections that move with the water.
> 
> A paper boat drifts down a narrow, rain-soaked Tokyo alley at night. Neon signs in pink and teal reflect in the puddles and ripple as raindrops fall. The camera tracks low alongside the boat, close to the water. Cinematic, photorealistic, shallow depth of field.
> 
> Ultra-wide 21:9
> 
> 21:9 is new in Kling 4.0. It’s the cinema widescreen format, and it suits landscapes and establishing shots.

---

Record: https://forck.live/items/31025-the-ultimate-guide-to-kling-4-0
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
