Kling 2.1

Text-to-video and image-to-video. Supports first-last-frame mode.

Back to docs
Videokuaishou/kling-2.1$0.0100–$0.0200 / sec

Base URL

https://api.zekron.tech/api/v1

Supported modes

text-to-videoimage-to-videofirst-last-frame

Parameters

Pass these inside the input object when creating a task.

promptrequired
image_urloptional
durationoptional
aspect_ratiooptional
modeoptional

Example request

bash
curl -X POST https://api.zekron.tech/api/v1/tasks \
  -H "Authorization: Bearer zk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kuaishou/kling-2.1",
  "input": {
    "prompt": "a cinematic shot of a lighthouse at golden hour",
    "duration": 5,
    "aspect_ratio": "16:9",
    "mode": "std"
  }
}'

Example response

json
{
  "id": "zk_task_8f3a2b1c9d",
  "model": "kuaishou/kling-2.1",
  "status": "processing",
  "created_at": "2026-06-10T12:00:00Z"
}

Poll GET https://api.zekron.tech/api/v1/tasks/{id} until status is success or failed.

Pricing

This model is billed at $0.0100–$0.0200 / sec. You are only charged for successful generations — failed tasks are never billed. Generated outputs are retained for 30 days before they expire.