> ## 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.

# Veo 3.1 Lite Text-to-Video

Generate videos from text prompts using the Google Veo 3.1 Lite model. Supports 4s/6s/8s durations, 720p/1080p resolutions, 16:9 and 9:16 aspect ratios, and optional audio generation.

<Tip>
  This is an **asynchronous** API and only returns the task\_id of the async task. 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="seed" type="integer">
  Random seed for reproducible results
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Text description for video generation

  Length limit: 0 - 2048
</ParamField>

<ParamField body="duration" type="integer" default={8}>
  Video duration (seconds)

  Allowed values: `4`, `6`, `8`
</ParamField>

<ParamField body="resolution" type="string" default="720p">
  Output video resolution

  Allowed values: `720p`, `1080p`
</ParamField>

<ParamField body="aspect_ratio" type="string" default="16:9">
  Video aspect ratio

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

<ParamField body="sample_count" type="integer" default={1}>
  Number of videos to generate

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

<ParamField body="enhance_prompt" type="boolean" default={true}>
  Whether to automatically optimize the prompt
</ParamField>

<ParamField body="generate_audio" type="boolean" default={false}>
  Whether to generate audio at the same time
</ParamField>

<ParamField body="negative_prompt" type="string">
  Content that should not appear in the video

  Length limit: 0 - 2048
</ParamField>

<ParamField body="person_generation" type="string" default="allow_adult">
  Controls whether generating people is allowed

  Allowed values: `dont_allow`, `allow_adult`
</ParamField>

## Response

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