W
Kling 4.0
Kling 4.0, a video model from WaveSpeed.
videoModelOverride: { model: "kling-video-v4.0" }
KKling·served viaWaveSpeed·Released October 2026
Pricing
- List price
- $0.18-$0.27/second
- Per generation
- $0.00010
Specifications
- Context window
- 2,500 tokens
- Aspect ratios
- 4
- Released
- October 2026
- Model string
- kwaivgi/kling-v4.0/text-to-video
Parameters
Model options, passed in
videoModelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
$mode | Select | text-to-video | text-to-videoimage-to-videoreference-to-video |
image | Image URL | — | — |
last_image | Image URL | — | — |
keyframesMiddle frames in order, between the first and last. At most 10 frames in all. | Image URLs | — | — |
imagesUp to 10. Refer to them in the prompt as @Image1, @Image2, ... | Image URLs | — | — |
videosUp to 5, guiding motion, camera and pacing. | Video URLs | — | — |
audiosUp to 3 clips of 5 to 30 seconds, guiding voice and sound. | Audio URLs | — | — |
keep_original_soundKeep the reference video's own sound. Needs a reference video. | Boolean | false | |
aspect_ratio | Select | 16:9 | 16:99:161:121:9 |
resolution | Select | 720p | 720p1080p |
duration | Number | 5 | 3–30 |
Use this model
await mindstudio.generateVideo({ prompt: "...", videoModelOverride: { model: "kling-video-v4.0", config: { aspect_ratio: "16:9", resolution: "720p", }, }, });