Narrative scenes
Carry a full story beat in one 30-second shot instead of stitching three 10-second clips.
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.
Access the Kling 4.0 video model via REST API on VideoGenAPI, with endpoints, a live playground and developer docs.
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.
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.
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.
Integrate the Kling 4.0 API in your app in under 5 minutes with these four steps.
Sign up free at VideoGenAPI.com and generate your API key from the dashboard. No Kuaishou account needed.
POST to https://videogenapi.com/api/v1/generate with your API key, model "kling-4", and a text prompt describing your video.
Use the returned generation_id to poll GET /api/v1/status/{id} until the job completes. Video completion webhooks are not available yet.
Once status is "completed", retrieve the video URL from the response and embed it in your app, website, or workflow.
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.
Carry a full story beat in one 30-second shot instead of stitching three 10-second clips.
Keep the same people, products and voices across shots with up to 15 references.
Pin the composition at up to 10 keyframes and let the model animate between them.
Quick start guide to integrate Kling 4.0 in your application
| 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.
{
"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"
}
{
"success": true,
"generation_id": "gen_abc123xyz",
"status": "in_progress",
"estimated_time": null}
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);
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
}'
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.
Pricing for the Kling 4.0 API will be announced at launch. Meanwhile, Kling 3 is included in every plan.
How the Kling 4.0 API compares on resolution, clip length, generation speed and price. All models below share one API key.
| 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.
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