> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Kling V2.6 Pro Image-to-Video

This is an asynchronous API that only returns the `task_id` of the async task.

<Tip>
  This is an **asynchronous** API that only returns the task\_id of the async task. You should use this task\_id to request the [Query Task Result API](/en/docs/models/reference-get-async-task-result) to retrieve the generated result.
</Tip>

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum value: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API key}}.
</ParamField>

## Request Body

<ParamField body="image" type="string" required={true}>
  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.
</ParamField>

<ParamField body="sound" type="boolean" default={true}>
  Whether to generate audio at the same time when generating the video.
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  The positive prompt text for generating the video; must not exceed 2500 characters.
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  Duration of the generated media (seconds)

  Allowed values: `5`, `10`
</ParamField>

<ParamField body="cfg_scale" type="number" default={0.5}>
  Controls the flexibility of video generation. The higher the value, the more closely the generated content matches the prompt.

  Value range: \[0, 1]
</ParamField>

<ParamField body="voice_list" type="string[]">
  List of voice IDs (up to 2).

  Array length: 0 - 2
</ParamField>

<ParamField body="aspect_ratio" type="string" default="16:9">
  Aspect ratio of the generated video

  Allowed values: `16:9`, `9:16`, `1:1`
</ParamField>

<ParamField body="negative_prompt" type="string">
  Negative prompt; must not exceed 2500 characters.
</ParamField>

## Response Information

<ResponseField name="task_id" type="string" required={true}>
  Use the task\_id to request the [Query Task Result API](/en/docs/models/reference-get-async-task-result) to retrieve the generated output.
</ResponseField>
