Kling API
Call Kuaishou's Kling 4.0 Flash, Kling 3.0, 3.0 Turbo and 2.6 with one API key. Text to video or image to video from a first frame, 3 to 15 seconds, with sound on the models that have it, billed per second.
Pay as you go from $5 · No subscription · No free trial · Failed calls are not charged
Models in this series
Kling 3.0
Code sample belowfrom 15.1 credits / s720p, no sound · ≈ $0.091 / sKling 4.0 Flash
17 credits / s720p · ≈ $0.1 / sKling 3.0 Turbo
from 20.2 credits / s720p · ≈ $0.12 / sKling 2.6
from 12.6 credits / sno sound · ≈ $0.076 / s
Prices
Prices in API credits (1 credit = $0.006), checked December 5, 2026. GET /models is always current.
Kling 4.0 Flash
| Option | credits / s | ≈ USD | 5 s video |
|---|---|---|---|
| 720p · with sound | 17 | $0.1 | 85 credits (≈ $0.51) |
Kling 3.0
| Option | credits / s | ≈ USD | 5 s video |
|---|---|---|---|
| 720p · no sound | 15.1 | $0.091 | 75.5 credits (≈ $0.45) |
| 720p · with sound | 22.7 | $0.14 | 113.5 credits (≈ $0.68) |
| 1080p · no sound | 20.2 | $0.12 | 101 credits (≈ $0.61) |
| 1080p · with sound | 30.2 | $0.18 | 151 credits (≈ $0.91) |
| 4K · sound on or off | 75.5 | $0.45 | 377.5 credits (≈ $2.3) |
Kling 3.0 Turbo
| Option | credits / s | ≈ USD | 5 s video |
|---|---|---|---|
| 720p | 20.2 | $0.12 | 101 credits (≈ $0.61) |
| 1080p | 25.2 | $0.15 | 126 credits (≈ $0.76) |
Kling 2.6
| Option | credits / s | ≈ USD | 5 s video |
|---|---|---|---|
| no sound | 12.6 | $0.076 | 63 credits (≈ $0.38) |
| with sound | 25.2 | $0.15 | 126 credits (≈ $0.76) |
Code
import time
import httpx # pip install httpx
BASE = "https://api.voicica.ai/platform/v1"
HEADERS = {"Authorization": "Bearer vca_your_key_here"} # better: os.environ["VOICICA_API_KEY"]
# Image to video: 720p, 5 seconds, no sound = 5 x 15.1 = 75.5 credits
task = httpx.post(f"{BASE}/videos/generations", headers=HEADERS, timeout=60, json={
"model": "kuaishou/kling-3.0",
"prompt": "She turns to the camera and smiles, soft window light",
"first_frame": "https://example.com/portrait.png", # the video keeps this image's ratio
"duration": 5,
"resolution": "720p",
"audio": False, # True: 22.7 credits / s at 720p
# "last_frame": "https://example.com/end.png",
})
task.raise_for_status() # 202 Accepted
task = task.json() # {"id": "videogen_...", "status": "pending", "credits": "75.5000", ...}
while task["status"] in ("pending", "running"):
time.sleep(10)
task = httpx.get(f"{BASE}/videos/generations/{task['id']}", headers=HEADERS, timeout=60).json()
print(task["status"], task.get("url"), task["credits"]) # failed: credits "0.0000"
curl https://api.voicica.ai/platform/v1/videos/generations \
-H "Authorization: Bearer vca_your_key_here" \
-H "Content-Type: application/json" \
-d '{"model": "kuaishou/kling-3.0", "prompt": "She turns to the camera and smiles, soft window light", "first_frame": "https://example.com/portrait.png", "duration": 5, "resolution": "720p", "audio": false}'
# -> 202 {"id": "videogen_...", "status": "pending", ...}
# then poll GET /videos/generations/{id} every 10 s or more
Parameters
| Parameter | Kling 4.0 Flash | Kling 3.0 | Kling 3.0 Turbo | Kling 2.6 |
|---|---|---|---|---|
duration | 3 to 15 s (default 5) | 3 to 15 s (default 5) | 3 to 15 s (default 5) | 5 or 10 s (default 5) |
aspect_ratio | 9:16, 16:9, 1:1 (follows first_frame) | 9:16, 16:9, 1:1 (follows first_frame) | 9:16, 16:9, 1:1 (follows first_frame) | 9:16, 16:9, 1:1 (follows first_frame) |
resolution | — | 720p, 1080p, 4K (default 720p) | 720p, 1080p (default 720p) | — |
audio | Always on (false: 400) | true / false (default off) | No sound (true: 400) | true / false (default off) |
first_frame | Yes | Yes | Yes | Yes |
last_frame | — | Yes, with first_frame | — | — |
reference_images | — | — | — | — |
prompt | Up to 8,000 characters | Up to 2,500 characters | Up to 2,500 characters | Up to 2,500 characters |
Sending an option a model does not have returns 400 unsupported_parameter; GET /models lists each model's params.
How it works
POST /videos/generations returns 202 with a task id and the credits it will take.
Poll GET /videos/generations/{id} every 10 s, or pass callback_url for a signed callback.
Download the result within 30 days. Failed or timed-out tasks are refunded in full.
FAQ
Which Kling versions are on the API?
Kling 4.0 Flash (kuaishou/kling-4.0-flash), Kling 3.0 (kuaishou/kling-3.0), Kling 3.0 Turbo (kuaishou/kling-3.0-turbo) and Kling 2.6 (kuaishou/kling-2.6).
How much does a Kling video cost?
You pay per second of video. Kling 3.0 is 15.1 credits per second at 720p without sound (about $0.091) and 22.7 with sound; Kling 4.0 Flash is 17 credits per second, sound included. A 5-second 720p Kling 3.0 video without sound is 75.5 credits (about $0.45).
Can Kling animate my image?
Yes. Every Kling model takes a first_frame; Kling 3.0 also takes a last_frame. With a frame, the video keeps the image's aspect ratio.
Which Kling models have sound?
Kling 4.0 Flash always has sound. Kling 3.0 and 2.6 have a switch (audio: true costs more). Kling 3.0 Turbo has no sound.
Is Kling 3.0 multi-shot available?
Not yet. shots and multi_shots return 400 unsupported_parameter in version 1.
What happens if a video fails?
It is not charged: the credits taken when you created the task are refunded in full, including when it times out after 20 minutes (40 for 4K).
Related
Get your API key
Top up from $5, create a key and call Kling in a few minutes.
Model names are trademarks of their owners (Kuaishou). Voicica provides access to these models through APIs and is not affiliated with or endorsed by them.