APIMODELSAPIMODELS
Документация API

apimodels.app

Kling 3.0 Turbo API reference

Kling 3.0 Turbo is the turbo tier of Kuaishou's Kling 3.0, with sound generated on every clip. On APIMODELS it is one model id, kling-3.0-turbo (kling-3-0-turbo and kling-v3-turbo also work), on the unified video endpoint, used two ways: a prompt alone is text-to-video, and one first frame makes it image-to-video. 3-15 seconds at 720p or 1080p, with multi-shot written inside the prompt. Billed per output second, $0.112 at 720p and $0.14 at 1080p, only when the generation succeeds.

Pricing

ResolutionPer output second (sound included)
720p$0.112
1080p$0.14
Example: durationResolutionPrice
5 s720p$0.56
10 s1080p$1.40
15 s (maximum)1080p$2.10

Price = the per-second rate × duration. Text-to-video and image-to-video cost the same, and neither the prompt length nor the number of shots changes the price. Invalid requests return a 400 at create time and are not charged; failed generations are not charged.

Authentication

All requests carry the API key in the header:

Authorization: Bearer YOUR_API_KEY

Create a task and poll it

POSThttps://api.apimodels.app/v1/video/generations·GET/v1/video/generations?task_id=
# Kling 3.0 Turbo — text-to-video (prompt only) or image-to-video (first frame only).
# Native audio is always generated; billed per output second on success:
# 720p $0.112/s, 1080p $0.14/s.

# 1) Text-to-video: prompt is required; aspect_ratio 16:9 (default) | 9:16 | 1:1
curl -X POST https://api.apimodels.app/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-3.0-turbo",
    "prompt": "A street food vendor flips noodles in a wok at night, steam rising, sizzling sound and crowd chatter",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'

# 2) Image-to-video: first_frame_url (image_url / image also work); the clip follows the image's aspect ratio
curl -X POST https://api.apimodels.app/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-3.0-turbo",
    "first_frame_url": "https://example.com/first-frame.png",
    "prompt": "The woman turns toward the camera and says \"We open at nine.\"",
    "resolution": "1080p",
    "duration": 10
  }'

# Response (async — a task is created):
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending", "model": "kling-3.0-turbo" } }

# Poll every 10-15 s until completed (result files are kept 30 days)
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed",
#     "resultUrls": ["https://r2.apimodels.app/videos/clxxx.mp4"] } }

A task moves through pending → processing → completed or failed. On completed, data.resultUrls[0] is the MP4; on failed, the reason is in data.failMsg and the charge is returned. Polling every 10-15 seconds is plenty.

Multi-shot: written in the prompt

There is no separate storyboard field: write the shots into prompt as "shot <number>, <seconds>, <what happens>;". Up to 6 shots, each at least 1 second, each description up to 512 characters, and the shot seconds must add up to duration. It works for both text-to-video and image-to-video.

"prompt": "shot 1, 3, a runner ties her shoes on an empty track at sunrise; shot 2, 2, she sprints past the camera, footsteps and breathing;"
"duration": 5

// shot <number>, <seconds>, <what happens>;
// up to 6 shots, each at least 1 second, each description up to 512 characters,
// and the shot seconds must add up to duration (3 + 2 = 5 here).

Callback (callback_url)

To skip polling, pass callback_url in the create request. When the task reaches completed or failed we send an HTTP POST (JSON) to it. Failed deliveries are retried with backoff for up to 30 minutes, until your endpoint returns a 2xx. The URL must be publicly reachable; localhost and private addresses return a 400 at create time. Polling keeps working either way.

POST {your callback_url}
Content-Type: application/json

{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "clxxx...",
    "model": "kling-3.0-turbo",
    "state": "completed",                 // or "failed"
    "param": "<JSON string>",             // your request, JSON.parse once
    "resultJson": "<JSON string> | null", // {"resultUrls": ["https://...mp4"]}, JSON.parse once
    "failCode": null,
    "failMsg": null
  }
}

Parameters

FieldRequiredTypeDescription
modelYesstringkling-3.0-turbo (kling-3-0-turbo and kling-v3-turbo also work)
promptText-to-video: yesstringRequired for text-to-video, optional for image-to-video; up to 2,500 characters. Multi-shot syntax is in the section above.
first_frame_urlNostringThe first frame, a public URL or base64; sending it makes the request image-to-video. image_url and image are accepted too. One image only; there is no last frame.
resolutionNostring720p (default, $0.112/s) or 1080p ($0.14/s).
durationNointegerWhole seconds from 3 to 15; default 5.
aspect_ratioNostringText-to-video only: 16:9 (default), 9:16 or 1:1. Image-to-video follows the first frame.
callback_urlNostringWe POST the result to this URL on completion; omit it and poll the GET endpoint instead.

There is no sound switch: every clip comes with generated sound, and generate_audio: false returns a 400. There is no last_frame_url either.

Input limits

  • First frame — JPG, JPEG or PNG; up to 50 MB; width and height at least 300 px each; aspect ratio between 1:2.5 and 2.5:1. Exactly one.
  • Prompt — Up to 2,500 characters; multi-shot takes up to 6 shots, each at least 1 second and up to 512 characters, adding up to duration.
  • Length and resolution — A whole number from 3 to 15 seconds; 720p or 1080p.
  • Not supported — A last frame (last_frame_url) and turning sound off (generate_audio: false); use Kling V3 for those two. Reference images beyond the first frame are not taken either: one image only.
  • Success — Not every request produces a clip: content can be refused by moderation, or the upstream can return a temporary error. Failed tasks are not charged; adjust the prompt and retry.

Errors

Parameter problems come back synchronously as a 400 at creation ({"code": 400, "msg": "..."}): no task is created and nothing is charged. The msg strings below are the current wording (N and X are the actual values).

msgCause / fix
prompt is required for text-to-video (or pass first_frame_url for image-to-video)Neither a prompt nor a first frame was sent. Text-to-video needs prompt; image-to-video needs first_frame_url, and the prompt becomes optional.
prompt must be 2500 characters or fewer (got N)The prompt is longer than 2,500 characters.
Kling 3.0 Turbo takes a single first-frame image (image_urls has more than one)Only one image is taken, as the first frame. Send a single first_frame_url.
Kling 3.0 Turbo supports a first frame only; last_frame_url is not supportedThere is no last frame. Remove last_frame_url; for first and last frames use Kling V3.
resolution must be "720p" or "1080p" (got "X")resolution only takes 720p or 1080p.
duration must be an integer from 3 to 15 seconds (got N)duration must be a whole number of seconds from 3 to 15.
aspect_ratio must be one of 16:9, 9:16, 1:1 (got "X")Text-to-video takes 16:9, 9:16 or 1:1. With a first frame the clip follows the image and this field is not read.
Kling 3.0 Turbo always generates native audio; generate_audio:false is not supportedSound is always generated and cannot be switched off. For silent clips use Kling V3.
  • 401: the API key is missing or invalid.
  • 402: the balance does not cover this clip (seconds × the per-second rate).
  • Failures during generation (content safety rejection, upstream error, timeout) end in state failed with the reason in data.failMsg, and the charge is returned automatically.

Notes

  • Compared with Kling V3 (kling-v3): Turbo always comes with sound, has no silent option and takes no last frame; for silent clips or first and last frames, use Kling V3.
  • Result files are deleted after 30 days, so download or re-host them promptly.
  • Only upload images you have the rights to use.

Try it in the Playground. Use cases and worked price examples are on the Kling 3.0 Turbo model page.

Related

FAQ

How much does the Kling 3.0 Turbo API cost?

$0.112 per output second at 720p and $0.14 at 1080p, sound included: 5 s at 720p is $0.56, 10 s at 1080p $1.40 and 15 s at 1080p $2.10. Only successful generations are charged.

How do I call Kling 3.0 Turbo for image-to-video?

POST /api/v1/video/generations with model kling-3.0-turbo and first_frame_url (image_url or image also work) set to one JPG or PNG, at least 300 px on each side; the prompt is optional and the clip follows the image's aspect ratio. Poll GET /api/v1/video/generations?task_id= until the state is completed.

How do I write a multi-shot prompt for Kling 3.0 Turbo?

Inside the prompt, as shot 1, 3, <what happens>; shot 2, 2, <what happens>; with up to 6 shots, each at least 1 second and up to 512 characters, and the shot seconds adding up to duration.

What is the difference between Kling 3.0 Turbo and Kling V3?

Kling 3.0 Turbo always generates sound and takes a first frame only: generate_audio: false and last_frame_url both return a 400. For silent clips or a first plus last frame, use kling-v3.