Inputlive schema
Generate a video from text alone. The more specific the description (subject, action, camera, light, style, sound), the more control you get.
View docsKuaishou Kling 4.0 generates 3 to 30 second clips in a single pass, with output up to 4K, a 21:9 ultrawide format, two-channel stereo audio with sharper lip sync, and on-screen text in many languages. On DreamTo it offers text-to-video and image-to-video from a first frame or first and last frames, at 720P to 4K.
Generate a video from text alone. The more specific the description (subject, action, camera, light, style, sound), the more control you get.
View docsChoose an example to fill the prompt and reference materials.
Hourly success rate of all completed requests to this site.
This model is priced by the usage dimensions listed here. Compare all pricing.
Prices are shown in USD. Charges depend on the model and your actual usage.
| Spec | Billing item | Our priceCurrent price | fal.ai | Official price | Savings |
|---|---|---|---|---|---|
| 720p · No reference video | Duration | $0.1413/second | $0.157/second | $0.157/second | 10% cheaper than official10% cheaper than fal.ai |
| 720p · With reference video | Duration | $0.0846/second | $0.094/second | $0.094/second | 10% cheaper than official10% cheaper than fal.ai |
| 1080p · No reference video | Duration | $0.2115/second | $0.235/second | $0.235/second | 10% cheaper than official10% cheaper than fal.ai |
| 1080p · With reference video | Duration | $0.1269/second | $0.141/second | $0.141/second | 10% cheaper than official10% cheaper than fal.ai |
| 2K · No reference video | Duration | $0.2543/second | — | $0.2826/second | 10% cheaper than official |
| 2K · With reference video | Duration | $0.1526/second | — | $0.1696/second | 10% cheaper than official |
| 4K · No reference video | Duration | $0.4941/second | $0.549/second | $0.549/second | 10% cheaper than official10% cheaper than fal.ai |
| 4K · With reference video | Duration | $0.2961/second | $0.329/second | $0.329/second | 10% cheaper than official10% cheaper than fal.ai |
Reference prices checked on 2026-12-02: fal.ai · Official pricing
README
Kling 4.0 is the full version of Kling's fourth generation, unlike the 720p, 20-second Flash: 3 to 30 seconds per pass, up to 4K in 16:9, 9:16, 1:1 or 21:9, with stereo audio and sharper lip sync. On DreamTo it generates from text, a first frame, or first and last frames as a transition, at 720P, 1080P, 2K or 4K.
| Parameter | Required | Description |
|---|---|---|
modelstring | Required | Model ID to call. Use kling-4.0. |
promptstring | Required | Text description of what to generate. |
image_urlstring | Optional | Reference image to guide the result. |
last_frame_urlstring | Optional | Image used as the last frame of the video. |
resolutionenum | Optional | Output resolution. Options: 720P, 1080P, 2K, 4K. Default: 720P. |
secondsstring | Optional | |
aspect_ratioenum | Optional | Output aspect ratio. Options: 16:9, 9:16, 1:1, 21:9. |
Write the prompt like a shot list: the more you direct, the more the model delivers.
Open with subject, setting, action, style and camera in one sentence.
A cyclist rides along a foggy forest road at dawn, cinematic, slow side tracking shot.
Split the clip into timed beats, such as 0–3s and 3–6s, and give each beat one clear action.
Use shot sizes (wide, medium, close-up) and moves (push in, pan, orbit, handheld) directly.
End with what holds for the whole clip: lighting, color palette, mood and sound.
| Prompt | |
|---|---|
| Weak | a dog running |
| Strong | A golden retriever sprints across a wet beach at sunset, chasing a red ball. 0–2s: low tracking shot beside the dog, sand spraying. 2–5s: it catches the ball and turns to the camera, slow push in. Warm backlight, light sea spray, shallow depth of field, only the sound of waves. |
| Billing item | Price | Official price |
|---|---|---|
| Duration · 720p_none | $0.1413 per second | |
| Duration · 720p_video | $0.0846 per second | |
| Duration · 1080p_none | $0.2115 per second | |
| Duration · 1080p_video | $0.1269 per second | |
| Duration · 2k_none | $0.25434 per second | |
| Duration · 2k_video | $0.152604 per second | |
| Duration · 4k_none | $0.4941 per second | |
| Duration · 4k_video | $0.2961 per second | |
| Duration · 720p_none | $0.1413 per second |
That is 10% below the official list price.
Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing
Kling 4.0 is the full version of Kling's fourth generation, unlike the 720p, 20-second Flash: 3 to 30 seconds per pass, up to 4K in 16:9, 9:16, 1:1 or 21:9, with stereo audio and sharper lip sync. On DreamTo it generates from text, a first frame, or first and last frames as a transition, at 720P, 1080P, 2K or 4K.
Send POST /v1/videos with the model ID kling-4.0 and your API key. Ready-to-run samples are in the API section above.
Charges are based on the selected model, its billing method, and your actual usage.
Create one in Console → API Keys. The same key works for every model on the gateway.
Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.
Kling 4.0 is the full version of Kling's fourth generation, unlike the 720p, 20-second Flash: 3 to 30 seconds per pass, up to 4K in 16:9, 9:16, 1:1 or 21:9, with stereo audio and sharper lip sync. On DreamTo it generates from text, a first frame, or first and last frames as a transition, at 720P, 1080P, 2K or 4K.