Browse all Models
Browse all
Browse all
Browse all
  • Text-to-Video
  • Image-to-Video
External

Kling 4.0

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.

  • Premium model
  • No subscriptions
  • Pay only for what you use

Sample Outputs

Real outputs generated with Kling 4.0 on deAPI.

“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.”

Capabilities

What you can do with Kling 4.0.

Text-to-Video

Create dynamic videos from text prompts. Generate engaging visual content without cameras or editing software.

Image-to-Video

Bring static images to life with AI-powered animation. Transform photos into short, captivating video clips.

Try now

Technical Specifications

Resolution

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)

How to use in deAPI

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.

Add credits

Frequently Asked Questions

Kling 4.0 is the latest video generation model from Kuaishou. It turns a text prompt or a still image into a single continuous shot with sound, and it is built for believable motion: people, animals, water and vehicles move with weight and keep their shape across the clip.
From 3 to 30 seconds, always at 24 frames per second, in a 720p or a 1080p tier. Each tier is a pixel budget shared by the framing: at 720p a landscape clip is 1280×720, a square one 940×940 and an ultrawide one 1460×624; at 1080p a landscape clip is 1920×1080 and a square one 1440×1440. The size you request picks the nearest tier and framing, and the job reports the real output size.
Yes. Every clip comes with an audio track created in the same pass as the picture: ambience, effects and music that match what is on screen. Sound does not change the price.
Price depends only on the resolution tier and the length: $0.157 per second at 720p and $0.235 per second at 1080p. The framing, the prompt, the input image and the sound do not change it. A 5-second 720p clip costs $0.785, a 5-second 1080p clip $1.175 and a 30-second 1080p clip $7.05. Call the price endpoint with your exact parameters before committing, and see the partner pricing section at https://deapi.ai/pricing.
Pass a last frame together with the first one. Kling 4.0 plans the motion between the two images, which is useful for transitions, reveals and loops. The last frame should show the same scene, so the model can connect the two.
Partner models run on our partners' infrastructure rather than on deAPI's own GPU network. deAPI acts as the gateway: same unified API, same key, same job flow.
Partner models are not available on the free tier. Make at least one payment to deAPI and your account moves to Premium. The model then appears in your /models response. Until then it is absent from your model list, and calling it by slug returns a plan error.
Make any payment to move your account to Premium, then open the playground and select Kling 4.0, or pass "model": "kling-4" to the video endpoints. See https://docs.deapi.ai for code examples.
  • No subscription
  • Pay only for what you use

Use Kling 4.0 via the deAPI API

Premium model: available after your first top-up.