Text-to-Video
Create dynamic videos from text prompts. Generate engaging visual content without cameras or editing software.
Kuaishou's Kling 4.0 for text-to-video and image-to-video. Cinematic clips from 3 to 30 seconds at 720p or 1080p, with sound generated alongside the picture and smooth, physically believable motion.
Real outputs generated with Kling 4.0 on deAPI.
Video generation
Video generation
“A red fox walks slowly through fresh snow in a quiet pine forest, soft morning light, cinematic. The camera tracks alongside at the fox's eye level as it pauses, lifts its head to listen, then pounces into the snow. Crunching footsteps and a light wind in the trees.” “A red fox walks slowly through fresh snow in a quiet pine forest, soft morning light, cinematic. The camera tracks alongside at the fox's eye level as it pauses, lifts its head to listen, then pounces into the snow. Crunching footsteps and a light wind in the trees.”
“A smooth tracking shot moving forward through a crowded night food market in Taipei, paper lanterns overhead, steam rising from noodle stalls, a cook tossing noodles in a flaming wok as the camera passes. Warm neon light reflected on wet pavement, sizzling woks and lively chatter.” “A smooth tracking shot moving forward through a crowded night food market in Taipei, paper lanterns overhead, steam rising from noodle stalls, a cook tossing noodles in a flaming wok as the camera passes. Warm neon light reflected on wet pavement, sizzling woks and lively chatter.”
“A ballet dancer in a grey leotard performs a series of fast pirouettes in a sunlit rehearsal studio with tall windows and a wall of mirrors, then finishes in a graceful arabesque. The camera circles her slowly. Soft piano music and the squeak of pointe shoes on the wooden floor.” “A ballet dancer in a grey leotard performs a series of fast pirouettes in a sunlit rehearsal studio with tall windows and a wall of mirrors, then finishes in a graceful arabesque. The camera circles her slowly. Soft piano music and the squeak of pointe shoes on the wooden floor.”
“A surfer crouches low and rides through the hollow barrel of a large turquoise wave, the lip curling over him as spray blows back off the crest, then he shoots out into the sunlight. Shot from a follow cam on the water. Roaring surf.” “A surfer crouches low and rides through the hollow barrel of a large turquoise wave, the lip curling over him as spray blows back off the crest, then he shoots out into the sunlight. Shot from a follow cam on the water. Roaring surf.”
“Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field, soft paper rustling sounds.” “Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field, soft paper rustling sounds.”
“A yellow vintage tram climbs a steep, narrow cobblestone street in Lisbon in golden late-afternoon light, passing pastel buildings with laundry hanging from the balconies. A static camera at street level watches it approach and rumble past. Tram bell and the clatter of wheels on the rails.” “A yellow vintage tram climbs a steep, narrow cobblestone street in Lisbon in golden late-afternoon light, passing pastel buildings with laundry hanging from the balconies. A static camera at street level watches it approach and rumble past. Tram bell and the clatter of wheels on the rails.”
“Medium close-up of a bearded carpenter in his fifties in a dusty woodworking workshop, holding up a freshly planed board to the window light. He looks at the camera with a satisfied grin and says: "Now that's a straight edge." Sawdust floats in the sunbeams” “Medium close-up of a bearded carpenter in his fifties in a dusty woodworking workshop, holding up a freshly planed board to the window light. He looks at the camera with a satisfied grin and says: "Now that's a straight edge." Sawdust floats in the sunbeams”
“Extreme slow-motion macro of a ruby-throated hummingbird hovering in front of a bright orange trumpet flower, wings blurring, iridescent green feathers catching the sunlight, before it darts away. Blurred green garden background, the soft hum of wings.” “Extreme slow-motion macro of a ruby-throated hummingbird hovering in front of a bright orange trumpet flower, wings blurring, iridescent green feathers catching the sunlight, before it darts away. Blurred green garden background, the soft hum of wings.”
“The storm slowly passes: the waves calm down, the clouds part and night falls while the lighthouse beam starts to sweep across the sea. Slow push in. Wind fading to the sound of calm water.” “The storm slowly passes: the waves calm down, the clouds part and night falls while the lighthouse beam starts to sweep across the sea. Slow push in. Wind fading to the sound of calm water.”
“The animated woman turns from the train window toward the camera, smiles and says: "We're almost there." The countryside keeps rushing past behind her. Rhythmic clatter of the train.” “The animated woman turns from the train window toward the camera, smiles and says: "We're almost there." The countryside keeps rushing past behind her. Rhythmic clatter of the train.”
“The red convertible starts up and drives away down the highway toward the mesas, kicking up a trail of dust, while the camera stays fixed. The engine roars and fades into the distance.” “The red convertible starts up and drives away down the highway toward the mesas, kicking up a trail of dust, while the camera stays fixed. The engine roars and fades into the distance.”
“The cat follows a raindrop running down the glass with its eyes, lifts a paw to tap the window and flicks its tail. The camera holds steady. Rain pattering on the glass.” “The cat follows a raindrop running down the glass with its eyes, lifts a paw to tap the window and flicks its tail. The camera holds steady. Rain pattering on the glass.”
“The brass scoop lifts a heap of bright paprika and pours it slowly into the next bowl, a fine red dust drifting in the lamplight. The camera holds still. Soft market murmur.” “The brass scoop lifts a heap of bright paprika and pours it slowly into the next bowl, a fine red dust drifting in the lamplight. The camera holds still. Soft market murmur.”
“The brass scoop lifts a heap of bright paprika and pours it slowly into the next bowl, a fine red dust drifting in the lamplight. The camera holds still. Soft market murmur.” “The brass scoop lifts a heap of bright paprika and pours it slowly into the next bowl, a fine red dust drifting in the lamplight. The camera holds still. Soft market murmur.”
“The hot-air balloon rises gently above the village and drifts to the right while the painted clouds move slowly; keep the loose watercolour style and the visible paper texture. Light breeze.” “The hot-air balloon rises gently above the village and drifts to the right while the painted clouds move slowly; keep the loose watercolour style and the visible paper texture. Light breeze.”
“The blowpipe slowly rotates and the glowing glass swells into a small bubble, sparks drifting upward from the furnace behind. Macro shot, the camera holds still. Furnace roar.” “The blowpipe slowly rotates and the glowing glass swells into a small bubble, sparks drifting upward from the furnace behind. Macro shot, the camera holds still. Furnace roar.”
What you can do with Kling 4.0.
Create dynamic videos from text prompts. Generate engaging visual content without cameras or editing software.
Bring static images to life with AI-powered animation. Transform photos into short, captivating video clips.
Try nowResolution
720–2520 x 720–1920 px
Default Size
1280 x 720 px
Inference Steps
1 steps (default: 1)
Guidance
Not required
Video Length
73–721 frames at 24 fps (3–30s)
Integrate Kling 4.0 into your app with a single API call.
POST https://api.deapi.ai/api/v2/videos/generations
curl · deAPI videos/generations
curl -X 'POST' \ 'https://api.deapi.ai/api/v2/videos/generations' \ -H 'accept: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "model": "kling-4", "prompt": "a cat walking through a garden", "width": 1280, "height": 720, "frames": 121, "fps": 24 }'{ "model": "kling-4", "prompt": "a cat walking through a garden", "width": 1280, "height": 720, "frames": 121, "fps": 24 }
Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /jobs/{request_id} for results.
POST https://api.deapi.ai/api/v2/videos/animations
curl · deAPI videos/animations
curl -X 'POST' \ 'https://api.deapi.ai/api/v2/videos/animations' \ -H 'accept: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -F 'model=kling-4' \ -F 'prompt=gentle camera zoom, cinematic lighting' \ -F 'first_frame_image=@/path/to/file' \ -F 'width=1280' \ -F 'height=720' \ -F 'frames=121' \ -F 'fps=24'{ "model": "kling-4", "prompt": "gentle camera zoom, cinematic lighting", "first_frame_image": "@/path/to/image.png", "width": 1280, "height": 720, "frames": 121, "fps": 24 }
Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /jobs/{request_id} for results.
Need an API key?
Premium model: available after your first top-up.
Other models with similar capabilities you might find useful.
Up to 768×768 resolution. 30–120 frames at 30fps (1–4 sec). Text-to-video and image-to-video modes. Single-step distilled inference.
State-of-the-art video generation model with 22 billion parameters. Supports text-to-video, image-to-video, and audio-to-video with high-quality cinematic output.
Omni-modal 33B video model that generates video and synchronized stereo audio in a single pass. Supports text-to-video and first/last-frame image-to-video, with spoken dialogue in...
Premium model: available after your first top-up.
Quick check before we generate