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 asynchronous API that only returns the
task_id of the async task.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API key}}.
Request Body
The first-frame image of the video; supports
.jpg, .jpeg, .png.
The image file size must not exceed 10MB; both width and height must be >= 300px; the aspect ratio must be between 1:2.5 and 2.5:1.Whether to generate audio at the same time when generating the video.
The positive prompt text for generating the video; must not exceed 2500 characters.
Duration of the generated media (seconds)Allowed values:
5, 10Controls the flexibility of video generation. The higher the value, the more closely the generated content matches the prompt.Value range: [0, 1]
List of voice IDs (up to 2).Array length: 0 - 2
Aspect ratio of the generated videoAllowed values:
16:9, 9:16, 1:1Negative prompt; must not exceed 2500 characters.
Response Information
Use the task_id to request the Query Task Result API to retrieve the generated output.