Kling V2.6 Pro Image-to-Video
Video
Kling V2.6 Pro Image-to-Video
POST
Kling V2.6 Pro Image-to-Video
This is an async API that only returns the
task_id of the async task.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
First frame image for the video. Supports
.jpg, .jpeg, .png.
File size must not exceed 10MB. Width and height must be >= 300px. Aspect ratio must be between 1:2.5 and 2.5:1.Whether to generate audio along with the video.
Positive prompt text for video generation. Maximum 2500 characters.
Duration of the generated media in seconds.Possible values:
5, 10Controls the flexibility of video generation. Higher values make the generated content adhere more closely to the prompt.Range: [0, 1]
List of voice IDs (up to 2).Array length: 0 - 2
Aspect ratio of the generated video.Possible values:
16:9, 9:16, 1:1Negative prompt. Maximum 2500 characters.
Response
Use the task_id to call the Get Async Task Result API to retrieve the generated output.