Kling 2.5 Turbo Pro
Generates a video from a text prompt.
| Model ID | kling-2.5-turbo-pro |
| Task | text-to-video |
| Output | video |
| Family | Kling |
| Status | Active |
Prices are live, so this page does not show them. GET /v1/models/kling-2.5-turbo-pro returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.
Parameters
Section titled “Parameters”Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/kling-2.5-turbo-pro.
| Name | Type | Default | Allowed | Required | Description |
|---|---|---|---|---|---|
prompt |
string | 1 to 2500 characters | Yes | Describe the shot: subject, action, setting, camera and light. | |
duration |
integer | 5 |
5 to 10, in steps of 5 | No | Length of the video. Longer videos cost more. In seconds. |
aspect_ratio |
string | 16:9 |
16:9, 9:16, 1:1 |
No | Frame shape. |
negative_prompt |
string | blur, distort, and low quality |
Up to 2500 characters | No | Anything the video should not show. |
cfg_scale |
number | 0.5 |
0 to 1, in steps of 0.1 | No | How closely the video follows the prompt: higher sticks to it more strictly. |
Example
Section titled “Example”Price the request first. A quote is free and starts nothing:
curl https://api.halationlab.ai/v1/quotes \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d @- <<'JSON'{ "model": "kling-2.5-turbo-pro", "input": { "prompt": "A red ball rolls across a sunlit wooden table, slow tracking shot", "duration": 5, "aspect_ratio": "16:9" }}JSONThen start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}curl https://api.halationlab.ai/v1/generations \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -H "Content-Type: application/json" \ -d @- <<JSON{ "model": "kling-2.5-turbo-pro", "input": { "prompt": "A red ball rolls across a sunlit wooden table, slow tracking shot", "duration": 5, "aspect_ratio": "16:9" }, "max_cost": $MAX_COST}JSON