← Back
Kling 4.0 Text to Video
kwaivgi/kling-v4.0/text-to-video
Video
🔑 API Key
👁
Required — enter your API key to use the playground
timeout
— Maximum wait time in seconds
1800
duration
— Duration in whole seconds (3-30)
5
resolution
— Output resolution
720p
1080p
aspect_ratio
— Output aspect ratio
16:9
9:16
1:1
21:9
▶ Playground
📖 API & Code
prompt
*
— Describe the scene, action, camera movement or requested edit
🎬 Generate Video