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 below
    • Text
    • First + last frame
    • Sound: Toggle (default off)
    from 15.1 credits / s720p, no sound · ≈ $0.091 / s
  • Kling 4.0 Flash

    • Text
    • First frame
    • Sound: Always on
    17 credits / s720p · ≈ $0.1 / s
  • Kling 3.0 Turbo

    • Text
    • First frame
    • Sound: None
    from 20.2 credits / s720p · ≈ $0.12 / s
  • Kling 2.6

    • Text
    • First frame
    • Sound: Toggle (default off)
    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

Optioncredits / s≈ USD5 s video
720p · with sound17$0.185 credits (≈ $0.51)

Kling 3.0

Optioncredits / s≈ USD5 s video
720p · no sound15.1$0.09175.5 credits (≈ $0.45)
720p · with sound22.7$0.14113.5 credits (≈ $0.68)
1080p · no sound20.2$0.12101 credits (≈ $0.61)
1080p · with sound30.2$0.18151 credits (≈ $0.91)
4K · sound on or off75.5$0.45377.5 credits (≈ $2.3)

Kling 3.0 Turbo

Optioncredits / s≈ USD5 s video
720p20.2$0.12101 credits (≈ $0.61)
1080p25.2$0.15126 credits (≈ $0.76)

Kling 2.6

Optioncredits / s≈ USD5 s video
no sound12.6$0.07663 credits (≈ $0.38)
with sound25.2$0.15126 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"

More examples (callbacks, polling, errors) are in the docs.

Parameters

ParameterKling 4.0 FlashKling 3.0Kling 3.0 TurboKling 2.6
duration3 to 15 s (default 5)3 to 15 s (default 5)3 to 15 s (default 5)5 or 10 s (default 5)
aspect_ratio9: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)—
audioAlways on (false: 400)true / false (default off)No sound (true: 400)true / false (default off)
first_frameYesYesYesYes
last_frame—Yes, with first_frame——
reference_images————
promptUp to 8,000 charactersUp to 2,500 charactersUp to 2,500 charactersUp 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

  1. POST /videos/generations returns 202 with a task id and the credits it will take.

  2. Poll GET /videos/generations/{id} every 10 s, or pass callback_url for a signed callback.

  3. 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).

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.