Skip to content
Open CastalyConsole

Video

kling-3.0-turbo API

Use the exact kling-3.0-turbo model ID through Modelflare asynchronous video routing.

Use the exact model ID kling-3.0-turbo. The model field must match this page exactly.

Sample outputkling-3.0-turboPOST /v1/videos5.0s

Parameters: duration=5resolution=1080pratio=16:9

Prompt: A skateboarder launches a kickflip over a concrete stair set in a skate park at golden hour. Low-angle slow-motion tracking shot, the board spins under his feet, dust and sunlight flare, he lands and rolls past the camera. Realistic physics, cinematic sports film, no text.

Request that produced this sample
{
"model": "kling-3.0-turbo",
"prompt": "A skateboarder launches a kickflip over a concrete stair set in a skate park at golden hour. Low-angle slow-motion tracking shot, the board spins under his feet, dust and sunlight flare, he lands and rolls past the camera. Realistic physics, cinematic sports film, no text.",
"seconds": "5",
"duration": 5,
"resolution": "1080p",
"ratio": "16:9",
"aspect_ratio": "16:9"
}

Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/videos.

HTTP
Authorization: Bearer YOUR_MODELFLARE_API_KEY
Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0-turbo",
"prompt": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot",
"settings": {"duration": 5, "resolution": "720p"}
}'

Save the task ID. Poll GET /v1/videos/{task_id} and download with GET /v1/videos/{task_id}/content. Result URLs may expire, so transfer the file promptly.

Terminal windowbash
curl https://modelflare.dev/v1/videos/TASK_ID \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"

Kling uses family-specific model_name, prompt, mode, duration, image_list, or contents / settings fields; native JSON is preserved and forwarded.

Kling 3.0 Turbo selects the model in the URL path; do not put model_name in the body. Text-to-video and first-frame image-to-video use different official paths.

Field Required Notes
prompt Yes Text-to-video prompt; use the official length limit
contents[] Conditional For image-to-video, include prompt and first_frame
settings.resolution No 720p / 1080p
settings.aspect_ratio No 16:9 / 9:16 / 1:1
settings.duration No 3–15 seconds
options.watermark_info No Watermark configuration

Text-to-video and first-frame image-to-video use prompt and contents[] respectively. Output is 720p or 1080p for 3–15 seconds; multi-shot prompts support up to six shots.

Turbo uses the upgraded contents/settings/options envelope. The model ID stays in Modelflare’s model field and calls enter through /v1/videos.

Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0-turbo",
"contents": [{"type": "prompt", "text": "列车缓慢驶过雨夜城市"}],
"settings": {"resolution": "1080p", "aspect_ratio": "16:9", "duration": 5},
"options": {"watermark_info": {"enabled": false}}
}'
Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-3.0-turbo",
"contents": [{"type": "prompt", "text": "角色转身看向窗外"}, {"type": "first_frame", "url": "https://example.com/first.png"}],
"settings": {"resolution": "1080p", "duration": 5}
}'

Invalid model parameters return a 4xx with a request ID. An asynchronous task can also enter failed after creation succeeds; use error_code and error_message from the poll response as the final task reason. Do not retry the same request with a different JSON shape.

This page covers Modelflare model generation and editing calls. Search or map enrichment, voice management, and element-library management are resource APIs outside this public model-call surface and are not required request fields.

This model uses per-second video billing. See the model pricing page for the current customer price, reference list price, and complete specification.

Media contract · v1

Contract ID: media.kling-3-0-turbo.v1Adapter: video.kling.turbo.v1@v1Fingerprint: f7a701ee39bdcc6314f56777e8a6a52982a7bc918e4c9a2a00bf03435da425d3

Official source: Kuaishou Kling

Contract parameters

Intent fieldControlOptions
ratioselect16:9 / 9:16 / 1:1
resolutionselect720p / 1080p
durationselect3 / 5 / 8 / 10 / 15

Supported capability

  • allowed_values · ratio · 16:9, 9:16, 1:1
  • allowed_values · resolution · 720p, 1080p
  • allowed_values · duration · 3, 5, 8, 10, 15
  • max_assets · reference_asset_ids · 1

Structured request example

text

Intent

{
  "duration": 3,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "720p"
}

Provider request

{
  "contents": [
    {
      "text": "A red paper kite over a quiet harbour at dusk.",
      "type": "prompt"
    }
  ],
  "settings": {
    "aspect_ratio": "16:9",
    "duration": 3,
    "resolution": "720p"
  }
}

reference

Intent

{
  "duration": 3,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "720p"
}

Provider request

{
  "contents": [
    {
      "text": "A red paper kite over a quiet harbour at dusk.",
      "type": "prompt"
    },
    {
      "type": "first_frame",
      "url": "https://example.com/reference.png"
    }
  ],
  "settings": {
    "aspect_ratio": "16:9",
    "duration": 3,
    "resolution": "720p"
  }
}