Kling 4.0 API
Kling 4.0 from $0.268/sec — Kling's newest video model, 3–30 second clips at up to 1080p.
Kling's newest video model. Text-to-video or image-to-video clips from 3 to 30 seconds at 720p or 1080p, in 21:9, 16:9, 9:16, or 1:1 — from $0.268 per second.
No credit card required. Takes 30 seconds.
Kling 4.0 API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated November 1, 2026.
| Billing | Price |
|---|---|
| Rate (720p) | $0.268/sec |
| Rate (1080p) | $0.40/sec |
| What it costs | Per job |
|---|---|
| 5-second clipfrom lowest resolution | $1.34 |
| 10-second clipfrom lowest resolution | $2.68 |
| 100 × 5-second clipsan ad-creative batch | $134.00 |
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Enter a prompt and generate a video with Kling 4.0.
Drop image or click to upload
For image-to-video (first/last frame)
Kling 4.0 specs
| Provider | Kling |
|---|---|
| Model ID | kwaivgi/kling-v4.0 |
| Endpoint | /v1/media/queue |
| Type | Video Generation |
| Resolutions | 720p, 1080p |
| Aspect ratios | 21:9, 16:9, 9:16, 1:1 |
| Durations | 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 seconds |
| Image input | Yes |
How to get a Kling 4.0 API key
- 1
Create a free account
Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call Kling 4.0
Send a request to /v1/media/queue with the x-api-key header and model "kwaivgi/kling-v4.0".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
Any length from 3 to 30 seconds — twice the ceiling of Kling 3.0, so long takes render in one pass.
$0.268/sec at 720p and $0.40/sec at 1080p: draft at 720p, render the keeper in full HD.
Ultra-wide 21:9 alongside 16:9, 9:16, and 1:1 for film-style framing as well as social placements.
Describe the shot, or upload a first frame and Kling 4.0 animates it (the prompt is optional with an image).
Quick start
Copy this snippet and start making calls with Kling 4.0.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "kwaivgi/kling-v4.0",
"prompt": "A lone rider crossing a salt flat at dawn, heat haze shimmering, the camera slowly circling from a low angle as the sun breaks the horizon, ultra-wide cinematic framing",
"options": {
"aspectRatio": "16:9",
"resolution": "1080p",
"duration": "5"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Kling 4.0 vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price |
|---|---|---|
| Kling 4.0 | Kling | from $0.268/sec (720p), $0.40/sec (1080p) |
| Kling 2.5 Turbo Standard | Kling | $0.072/sec (image-to-video) |
| Kling 2.6 Pro | Kling | from $0.12/sec (audio off), $0.238/sec (audio on, default) |
| Kling 2.5 Turbo Pro | Kling | $0.12/sec |
| Kling 3.0 Standard | Kling | from $0.144/sec (audio off), $0.216/sec (audio on, default) |
| Kling O3 | Kling | from $0.144/sec (audio off), $0.192/sec (audio on) |
| Seedance 1.0 Pro Fast | ByteDance | from about $0.02/sec (480p), about $0.04/sec (720p), about $0.10/sec (1080p) |
| Grok Imagine Video 1.5 Lite | xAI | from $0.04/sec (480p) |
Why use Kling 4.0 through YepAPI?
Kling 4.0 API — Kling's newest AI video model from $0.268/sec
Kling 4.0 is the newest generation of Kling's video models. It turns a prompt or a first-frame image into a 3 to 30 second clip at 720p or 1080p, in 21:9, 16:9, 9:16, or 1:1.
On YepAPI it runs on the same `/v1/media/queue` endpoint as every other Kling model — send `kwaivgi/kling-v4.0` (or the alias `kling-4`), poll the job, and download the MP4. Billed per second: $0.268 at 720p, $0.40 at 1080p.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Kling's newest video model. Text-to-video or image-to-video clips from 3 to 30 seconds at 720p or 1080p, in 21:9, 16:9, 9:16, or 1:1 — from $0.268 per second.
Kling 4.0 costs from $0.268/sec (720p), $0.40/sec (1080p) through YepAPI, billed per request with no monthly fee. For example, a 5-second clip (from lowest resolution) costs about $1.34.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Kling 4.0 and every other model — no separate Kling account or waitlist.
New YepAPI accounts in most countries get free signup credit, enough to test Kling 4.0 without a card. After that you pay per request at the rates above — there is no subscription.
Use "kwaivgi/kling-v4.0" as the model on /v1/media/queue. The short alias "kling-4" also works.
Ready to use Kling 4.0?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Kling Omni
KlingKling Omni at $0.192/sec — image, keyframe, and video references in one Kling model.
Kling 2.6 Pro
KlingKling 2.6 Pro from $0.12/sec — 5 or 10 second Kling clips with optional synced sound.
Kling 3.0 Standard
KlingKling 3.0 Standard from $0.144/sec — the value tier of Kling's 3.0 video family, same features as Pro.
Genjutsu Motion Transfer
HiggsfieldGenjutsu Motion Transfer from $0.636 per second of source video — move any character with the motion of a real clip.
Seedance 1.0 Pro
ByteDanceSeedance 1.0 Pro from about $0.05/sec — ByteDance text-to-video and image-to-video up to 1080p.
Seedance 2.0
ByteDanceAI video generation API powered by ByteDance's Seedance 2.0. Generate videos from text, images, or video references with built-in audio generation.
More Video Generation models
- Genjutsu Light Object Swap API · Higgsfield
- Seedance 1.5 Pro API · ByteDance
- Veo 3.1 Fast API · Google
- PixVerse V6 API · PixVerse
- Grok Imagine Video 1.5 API · xAI
- Kling 2.5 Turbo Standard API · Kling
- Hailuo 3 API · MiniMax
- Grok Imagine Video API · xAI
- Kling 3.0 Turbo API · Kling
- Genjutsu Light Motion Transfer API · Higgsfield
- Hailuo 3 Max API · MiniMax
- Seedance 1.0 Pro Fast API · ByteDance