> ## 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 v3.0 4K Text-to-Video

Kling v3.0 4K text-to-video generates 4K ultra-high-definition videos from text prompts, with richer visual details, natural motion, and smooth scene dynamics. It supports flexible durations from 3 to 15 seconds, synchronized audio and video generation, and multi-shot video generation.

<Tip>
  This is an **asynchronous** API and will only return the asynchronous task's task\_id. You should use this task\_id to request the [Get 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="sound" type="boolean" default={false}>
  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. It can describe scene motion, camera movement, actions, voice style, atmosphere, and sound effects. Must not exceed 2500 characters. Mutually exclusive with multi\_prompt.

  Length limit: 0 - 2500
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  The duration of the generated video (in seconds). Supports flexible durations from 3 to 15 seconds.

  Value range: \[3, 15]
</ParamField>

<ParamField body="cfg_scale" type="number" default={0.5}>
  Controls the flexibility of video generation. The higher the value, the more closely the model-generated content adheres to the prompt; the lower the value, the more natural the motion effects.

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

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

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

<ParamField body="multi_prompt" type="string[]">
  A list of prompts for multi-shot video generation. Divides the video into multiple shots. Mutually exclusive with prompt.
</ParamField>

<ParamField body="negative_prompt" type="string">
  Negative prompt, specifying elements to avoid in the visuals and audio. The length must not exceed 2500 characters.

  Length limit: 0 - 2500
</ParamField>

## Response

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