# Kling 4.0 Kling 4.0 is Kuaishou's latest video model. It generates videos from 3 to 30 seconds long at 720p or 1080p, and it takes almost any mix of inputs: a text prompt, keyframes, reference images, reference videos, or a video you want to edit. Earlier Kling versions split these jobs across separate models (text-to-video, image-to-video, Omni). Kling 4.0 handles all of them in one model, and picks the right mode from the inputs you give it. ## What you can do with it **Text to video.** Describe a scene and get a video back. Pick the aspect ratio (16:9, 9:16, 1:1, or 21:9), the resolution, and a duration anywhere from 3 to 30 seconds. **Keyframes.** Give it a `start_image`, an `end_image`, and any number of `middle_images` in between, and Kling 4.0 animates the path through them. The output takes its aspect ratio from your images. **Reference images.** Pass up to 10 images of characters, products, places, or styles with `reference_images`, then point at them in yo