Kling 4.0 API logo - Kuaishou AI video model
Built by Kuaishou schedule Coming soon

Kling 4.0 API

Also known as Kling 4.0, Kling 4, Kling 4.0 Flash, Kuaishou Kling 4 API

Kuaishou Kling 4.0 - 30-second clips with stereo sound, multi-reference and keyframe control. Coming to VideoGenAPI as soon as the developer API opens.

Best for Longer single shots up to 30 seconds, character consistency across references, and shot-by-shot direction with keyframes.

Provider
Kuaishou
Max resolution
1080p
Avg. generation
TBA at launch
Price
Pricing at launch
  • Plans from $29/mo, cancel anytime
  • No Kuaishou account needed
  • One key for 17 models

Access the Kling 4.0 video model via REST API on VideoGenAPI, with endpoints, a live playground and developer docs.

Interactive demo

Try Kling 4.0 right now

Explore the interface and see how easy it is to generate videos with Kling 4.0. Create an account and pick a plan to start generating.
Note: This model is coming soon.

Playground Demo - Kling 4.0
Demo Mode
magic_button AI Powered
Be specific for best results 0/1000
Sign up to generate videos
Create a free account to access the full playground and generate videos with Kling 4.0 on a monthly plan.

Demo Preview

Demo Mode
Kling 4.0
Kling 4.0
by Kuaishou
Kling 4.0 by Kuaishou: 3-30 second clips with stereo audio, up to 15 references and 10 keyframes. Coming soon to the VideoGenAPI API.
1080p • 3-30s • coming soon
Gallery

Kling 4.0 examples

Discover what's possible with Kling 4.0 AI video generation

Generated with the Kling 4.0 API at up to 1080p. Results vary with prompt detail and requested duration.

What is the Kling 4.0 API?

The Kling 4.0 API is a REST interface that lets developers generate AI videos programmatically using Kuaishou's Kling 4.0 model. It supports text-to-video, image-to-video, reference-image video (Soul Mode) through a single POST endpoint. VideoGenAPI handles authentication, billing, and provider infrastructure - you only need one API key to start building with the Kling 4.0 API.

Kuaishou
Provider
REST
API protocol
TBA at launch
Avg. generation

How to use the Kling 4.0 API

Integrate the Kling 4.0 API in your app in under 5 minutes with these four steps.

  1. 1

    Create your VideoGenAPI account

    Sign up free at VideoGenAPI.com and generate your API key from the dashboard. No Kuaishou account needed.

  2. 2

    Send a request to the Kling 4.0 API

    POST to https://videogenapi.com/api/v1/generate with your API key, model "kling-4", and a text prompt describing your video.

  3. 3

    Poll for completion

    Use the returned generation_id to poll GET /api/v1/status/{id} until the job completes. Video completion webhooks are not available yet.

  4. 4

    Download your video

    Once status is "completed", retrieve the video URL from the response and embed it in your app, website, or workflow.

Documentation

About Kling 4.0

info Overview

Kling 4.0 is the new flagship video model from Kuaishou's Kling AI, the successor to Kling 3. It was announced on September 28, 2026, when the lighter Kling 4.0 Flash opened to Ultra subscribers, and became fully available on October 15, 2026 on kling.ai and through Kling's MCP server and CLI. The developer API is listed by Kling as coming soon, with no published API pricing yet, so Kling 4.0 is not callable on VideoGenAPI today. The jump from Kling 3 is about length and control. Kling 4.0 generates 3 to 30 seconds in one pass, with two-channel stereo audio and improved lip sync. Omni Reference accepts up to 15 inputs per task (up to 10 images, 5 videos totalling 30 seconds and 7 subjects, which can carry a voice), and Multi-Keyframe Control steers a clip with up to 10 keyframes. Prompts can run to 8,000 tokens, in-frame text renders in nine languages, and a built-in editor works on up to five clips. Kling 4.0 Flash is the faster tier: 3 to 20 seconds at 720p. As soon as Kling opens the API we will add Kling 4.0 behind the same endpoint and key; until then, Kling 3 (/kling-3-api) is included in every VideoGenAPI plan.

stars Key Strengths

  • check_circle 3 to 30 second clips in a single generation
  • check_circle Two-channel stereo audio with improved lip sync
  • check_circle Omni Reference: up to 15 images, videos and subjects per task
  • check_circle Multi-Keyframe Control with up to 10 keyframes
  • check_circle Prompts up to 8,000 tokens and in-frame text in nine languages

check_circle Supported Features

  • Text to Video
  • Image to Video
  • Soul Mode (Reference Images)

settings Specifications

  • Max Resolution: 1080p
  • Duration Range: 3-30s
  • Avg. Processing: TBA at launch

workspace_premium Why Kling 4.0 via VideoGenAPI?

  • check_circle
    Unified API: Access Kling 4.0 alongside 16 other models with one API key - no separate Kuaishou setup.
  • check_circle
    Pricing at launch: Kling 4.0 pricing on VideoGenAPI will be published when the developer API opens. Your plan and API key will work with it from day one.
  • check_circle
    Production-ready: one REST endpoint, status polling, an MCP server for AI agents, and full docs.
Use cases

What you can build with Kling 4.0

1

Narrative scenes

Carry a full story beat in one 30-second shot instead of stitching three 10-second clips.

2

Consistent characters

Keep the same people, products and voices across shots with up to 15 references.

3

Directed sequences

Pin the composition at up to 10 keyframes and let the model animate between them.

API reference

Kling 4.0 API documentation

Quick start guide to integrate Kling 4.0 in your application

code Endpoint

POST https://videogenapi.com/api/v1/generate

tune Kling 4.0 API parameters

Request parameters accepted by the Kling 4.0 API on POST /api/v1/generate
Parameter Type Required Kling 4.0 values
model string Yes "kling-4"
prompt string Yes Scene description, up to 1,000 characters.
image_url string No Public jpg, png, gif or webp URL. Animates the image (image-to-video).
duration integer No 3 to 30 seconds, up to 15s on every plan.
resolution string No 720p, 1080p.
aspect_ratio string No 16:9, 4:3, 1:1 or 9:16 (text-to-video).
seed integer No Fixed value for reproducible output, -1 for random.
add_audio boolean No Adds an AI sound-effects track when set to true.

Kling 4.0 is not callable yet: the API returns a 400 "model_coming_soon" error until it opens. Poll GET /api/v1/status/{id} with the returned generation_id. Full reference: /docs/generate.

send Request Example

{
  "model": "kling-4",
  "prompt": "A dancer in a red dress crosses a rain-soaked plaza at night, spins under a street lamp and looks into the camera, steady tracking shot, rain and distant traffic audible, 20 seconds",
  "duration": 10,
  "resolution": "720p"
}

download Response Example

{
  "success": true,
  "generation_id": "gen_abc123xyz",
  "status": "in_progress",
  "estimated_time": null}

integration_instructions Code Examples

const response = await fetch('https://videogenapi.com/api/v1/generate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    model: 'kling-4',
    prompt: 'A dancer in a red dress crosses a rain-soaked plaza at night, spins under a street lamp and looks into the camera, steady tracking shot, rain and distant traffic audible, 20 seconds',
    duration: 10  })
});

const data = await response.json();
console.log(data.generation_id);

Kling 4.0 image-to-video request

curl -X POST https://videogenapi.com/api/v1/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kling-4",
    "prompt": "Slow push in, soft natural light, subtle movement",
    "image_url": "https://example.com/your-image.jpg",
    "duration": 5
  }'
Pricing

Kling 4.0 API pricing

Kling 4.0 pricing will be published when its developer API opens. Until then, see what each model costs in the cost calculator for your volume.

Coming soon

Pricing for the Kling 4.0 API will be announced at launch. Meanwhile, Kling 3 is included in every plan.

  • check_circle One API key for Kling 4.0 and 16 other models
  • check_circle No Kuaishou account required
  • check_circle Billed per video, never per second of output
Start with the Kling 4.0 API
Comparison

Kling 4.0 API vs alternatives

How the Kling 4.0 API compares on resolution, clip length, generation speed and price. All models below share one API key.

Comparison of the Kling 4.0 API against alternative AI video generation models on VideoGenAPI
Model Provider Max resolution Clip length Avg. speed Price / video
Kling 4.0 API This page Kuaishou 1080p 3-30s TBA Coming soon
Kling 3.0 API Kuaishou 1080p 5-10s ~250s Included, from $0.011
FLUX 3 Max API Black Forest Labs 1080p 5-20s ~12s $0.25/s
MiniMax H3 API MiniMax 1080p 5-15s ~88s Included, from $0.011

Switching between these models means changing the kling-4 value in your request body. The endpoint, authentication and status polling stay the same.

Limits

Kling 4.0 API limitations

  • Plan duration and resolution caps apply even when the model supports higher output. See pricing.
  • Jobs are asynchronous: poll GET /api/v1/status/{id}. Video completion webhooks are not available yet.
  • Rate limits and fair-use throttling are documented on /docs/rate-limits.
  • Prompts and images that violate the content guidelines are rejected.
Reviewed by Enzo Lanne · Founder, VideoGenAPI ·
FAQ

Kling 4.0 API questions

Is the Kling 4.0 API available on VideoGenAPI? expand_more
Not yet. Kling 4.0 is live on kling.ai and through Kling's MCP and CLI, but Kling lists API access for developers as coming soon. We will add it behind the same endpoint and API key as soon as it opens. Calls to "kling-4" currently return a "model_coming_soon" error.
When was Kling 4.0 released? expand_more
Kling announced Kling 4.0 on September 28, 2026, with Kling 4.0 Flash available to Ultra subscribers first, and made the full model available to all users on October 15, 2026.
What can Kling 4.0 do that Kling 3 cannot? expand_more
Kling 4.0 generates up to 30 seconds per clip with stereo audio, accepts up to 15 references (images, videos and subjects) and up to 10 keyframes, and takes prompts of up to 8,000 tokens.
What is the difference between Kling 4.0 and Kling 4.0 Flash? expand_more
Flash is the lighter, faster tier: 3 to 20 second clips at 720p. The full Kling 4.0 goes up to 30 seconds and adds 1080p.
What should I use until Kling 4.0 is available? expand_more
Kling 3 (/kling-3-api) for human motion and camera work, included in every plan; FLUX 3 Max (/flux-3-api) for fast clips up to 20 seconds with audio; MiniMax H3 (/minimax-h3-api) for physics-heavy action.
How much will the Kling 4.0 API cost? expand_more
Pricing for Kling 4.0 on VideoGenAPI will be published when the developer API opens. Kling has not released API pricing yet. Your existing plan and API key will work with it; until then, Kling 3 is included in every plan.

Ready to ship with Kling 4.0?

Create a key and call the Kling 4.0 API in minutes, plus 16 other models on the same endpoint.

Free account · Plans from $29/mo · Cancel anytime