ApiframeApiframe Docs
Video GenerationKling

Kling 2.5 Turbo Pro

Kling 2.5 Turbo Pro — fast, cost-effective video generation with end-image support.

Use in Apiframe Studio

POST /v2/videos/generatemodel: "kling-2.5-turbo-pro"

Kling 2.5 Turbo Pro provides fast video generation at a lower cost, with end-frame control.

See Video Generation overview for common request fields, response format, and error codes.

Model-specific parameters

ParameterTypeDefaultDescription
klingParams.durationinteger5Video duration in seconds: 5 or 10
klingParams.aspect_ratiostringAspect ratio in "W:H" format (e.g. "16:9")
klingParams.start_imagestringURL of an image to use as the first frame
klingParams.end_imagestringURL of an image to use as the last frame
klingParams.negative_promptstringThings to avoid in the video (max 2,500 chars)
klingParams.cfg_scalenumberCFG scale (0–1)

Credit cost

VariantCredits
5s4
10s7

Code examples

curl -X POST https://api.apiframe.ai/v2/videos/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a timelapse of a flower blooming in a garden",
    "model": "kling-2.5-turbo-pro",
    "klingParams": {
      "duration": 5,
      "aspect_ratio": "16:9"
    }
  }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/videos/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "a timelapse of a flower blooming in a garden",
        "model": "kling-2.5-turbo-pro",
        "klingParams": {
            "duration": 5,
            "aspect_ratio": "16:9",
        },
    },
)
print(response.json())
const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "a timelapse of a flower blooming in a garden",
    model: "kling-2.5-turbo-pro",
    klingParams: {
      duration: 5,
      aspect_ratio: "16:9",
    },
  }),
});
console.log(await response.json());

Try it

POST/v2/videos/generateTry it

On this page