altrouter.ai
Models/Kling/Kling 2.6
KL

Kling: Kling 2.6

Videokling-2.6

Kling 2.6: synchronized video and audio — speech, ambience and effects — from text or an image.

API docs
Playgroundkling-2.6
Reference image
duration
sound
Latency11.3 s
24hnow
Specifications
Authorkling
ModalityVideo
Price$0.069 / second$0.070 / second
Savings2%
ReleasedJul 23, 2026
Quick start
# Video is asynchronous: create, then poll.
curl https://api.altrouter.ai/v1/videos \
  -H "Authorization: Bearer ar-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-2.6",
    "prompt": "a drone shot over a coastline"
  }'
# → { "id": "vid_...", "status": "queued" }

curl https://api.altrouter.ai/v1/videos/vid_... \
  -H "Authorization: Bearer ar-..."
# → { "status": "completed", "url": "https://api.altrouter.ai/media/videos/..." }

Same OpenAI-compatible endpoint — just swap base_url and key.

API

An asynchronous endpoint: the call returns immediately in queued, and you poll GET /v1/videos/{id} for the result. The finished mp4 is re-hosted on our CDN, and only a completed render is charged.

POST/v1/videos
Body parameters
modelstringrequired"kling-2.6"
The model id.
promptstringrequired
The text description of the scene.
secondsinteger
Clip length; `duration` is accepted as an alias.
imagestringURL or base64
A reference frame — its presence routes to the model’s image-to-video variant.
durationenum5 · 10default 5
Clip length in seconds (affects price).
soundbooleandefault false
Generate an audio track (costs more).
Response

The same object comes back from GET /v1/videos/{id}; the finished file is also served directly from GET /v1/videos/{id}/content.

idstring
The render id (vid_…) — this is what you poll.
statusenumqueued · in_progress · completed · failed
The state of the render.
urlstring
The finished mp4 on our CDN — appears at status: completed.
secondsinteger
The clip length the price was computed on.
errorobject
Why it failed at status: failed: { code, message }.
Example
cURLPythonJSON
curl https://api.altrouter.ai/v1/videos \
  -H "Authorization: Bearer ar-..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-2.6",
  "prompt": "a drone shot over a rocky coastline at sunrise",
  "duration": "5"
}'
Errors
400Invalid request.
401Missing or invalid API key.
402Insufficient credits, or the key’s spending cap is exhausted.
404Model not found.
429Rate limit exceeded.
More from Kling
Kling 3.0
kling-3.0