---
title: "Kling 2.1"
method: POST
path: "/generate/video/kling/kling-2.1"
tags: ["Video"]
---

# Kling 2.1

`POST /generate/video/kling/kling-2.1`

Frontier model with 1080p resolution.

## Headers

- `X-Webhook-URL` string, uri

## Request body

- object
  - `prompt` string, required
  - `start_image` string, uri — Can be an external URL, base64 data URI, or uploaded asset URL.
  - `aspect_ratio` '16:9' | '9:16' | '1:1'
  - `duration` union
    - 5
    - 10
  - `end_image` string, uri — Can be an external URL, base64 data URI, or uploaded asset URL.
  - `mode` 'master' | 'pro'

## Response `200`

The resulting job data. This will be returned in a pending state until the job is completed. See [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the results.

- object
  - `job_id` string, uuid, required
  - `status` 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` unknown, required
  - `result` unknown, required
  - `error` object
    - `code` string, required
    - `message` string

## Other responses

- `400` — The request body is invalid.
- `401` — You are not authenticated.
- `402` — You have run out of credits.
- `429` — You have reached the maximum number of concurrent jobs.

---

[API](https://skmtc.net/krea/apis/krea-api.md) · [All operations](https://skmtc.net/krea/apis/krea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/krea/krea-api/versions/5654aa0aa524/schema)
