> ## 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-o1 Video Editing

This is an asynchronous API that only returns an asynchronous task\_id. You need to use the task\_id to call the task result query API to obtain the generated result.

<Tip>
  This is an **asynchronous** API and will only return the task\_id of the asynchronous 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="video" type="string" required={true}>
  Video URL
</ParamField>

<ParamField body="images" type="string[]" default="[]">
  Reference images containing elements, scenes, styles, etc. Up to 4 images

  Array length: 0 - 4
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Positive prompt for generation
</ParamField>

<ParamField body="fast_mode" type="boolean" default={false}>
  Whether to use fast mode
</ParamField>

<ParamField body="aspect_ratio" type="string">
  The aspect ratio of the generated video

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

<ParamField body="keep_original_sound" type="boolean" default={true}>
  Choose whether to preserve the video's original audio via this parameter
</ParamField>

## Response

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