Skip to main content
POST

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <YOUR_API_KEY> in the request header. Go to the API Keys management page to create and manage API Keys.

Body

application/json
model
string
required

Fixed value kling/kling-v3.

prompt
string

The prompt. Up to 2500 characters.

May be empty when extra_params.multi_shot (multi-shot mode) is enabled; in that case, per-shot prompts are provided via extra_params.multi_prompt.

Example:

"A cinematic shot of an orange cat stretching slowly under cherry blossoms, warm sunlight"

resolution
enum<string>
default:720P

Output resolution. Defaults to 720P.

Available options:
720P,
1080P
aspect_ratio
enum<string>
default:16:9

Output aspect ratio. Defaults to 16:9.

Available options:
16:9,
9:16,
1:1
duration
integer
default:5

Video duration in seconds. Defaults to 5; range 3 ~ 15.

Required range: 3 <= x <= 15
generate_audio
boolean
default:false

Whether to generate audio. Defaults to false.

reference_images
object[]

Reference image list, up to 4 images. When empty, the task is text-to-video; otherwise the input mode is determined by the reference_type combination:

  • Image-to-video: 1 image with first_frame
  • First/last-frame interpolation: 1 first_frame + 1 last_frame
  • Multi-reference image-to-video: up to 4 images with asset

Image constraints (each image must satisfy):

  • Format: jpg / jpeg / png
  • File size: ≤ 10 MB
  • Dimensions: width and height each ≥ 200 px
  • Aspect ratio: 1:2.5 ~ 2.5:1
Maximum array length: 4
extra_params
object

Kling's official extension parameters. All optional.

Response

Submitted successfully (asynchronous mode)

task_id
string

Unique task ID, used for subsequent polling

Example:

"task_2042864638838083584"

model
string

The model ID used for this task

Example:

"kling/kling-v3"

created_at
string

Task creation time (ISO 8601)

Example:

"2026-04-11T07:17:39.146Z"

request_id
string

Unique request ID

Example:

"291a4117-9df8-4349-aee1-bdf8ffcacb9a"