Kling
Kling V3 Video
Create asynchronous video tasks with kling-v3-video via POST /v1/predictions (function video).
POST
Overview
Kling V3 (kling-v3-video) supports:
- Text-to-video —
promptonly - First / last frame —
first_frame_url,last_frame_url
Input parameters
| Field | Required | Default | Notes |
|---|---|---|---|
prompt | Yes | — | Max 2500 characters |
aspect_ratio | No | 16:9 | 16:9, 9:16, or 1:1 |
resolution | No | standard | standard or pro |
duration | No | 5 | 3–15 (seconds) |
generate_audio | No | true | Include generated audio |
first_frame_url | No | — | First keyframe image URL |
last_frame_url | No | — | Last keyframe image URL |
Authorizations
Authorization: Bearer YOUR_API_KEY
Body
application/json
Model ID. Use kling-v3-video for this endpoint.
Available options:
kling-v3-video Example:
"kling-v3-video"
Task type. Must be video for video generation.
Available options:
video Example:
"video"
Optional HTTPS callback URL when the task completes, fails, or is cancelled.
Response
Async task created