Skip to main content
POST
kling-v3

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

Must be one of: kling-v3.

Available options:
kling-v3
prompt
string
required

Length must be between 1 and 2500.

Required string length: 1 - 2500
resolution
enum<string>
default:720P
required

Must be one of: 1080P, 720P. Defaults to 720P.

Available options:
1080P,
720P
first_frame_image
string<url>

Provide a reference image to run in image-to-video mode.

last_frame_image
string<url>

End frame for i2v mode only.

duration
enum<integer>
default:5

Must be one of: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15. Defaults to 5. Value is in s.

Available options:
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
size
enum<string>
default:16x9

Video aspect ratio. Defaults to 16x9.

Available options:
16x9,
1x1,
9x16
extends
object
extends.audio
boolean
default:false

Defaults to false.

extends.cfg_scale
number
default:0.5

Must be between 0 and 1. Defaults to 0.5.

Required range: 0 <= x <= 1
extends.negative_prompt
string

Length must be at most 2500.

Maximum string length: 2500

Response

Task accepted and queued for generation.

code
integer
Example:

0

data
object
msg
string
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"