> ## 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 Image-to-Video

Generate videos from input images using the Google Veo 3.1 Lite model. Supports durations of 4, 6, and 8 seconds, 720p and 1080p resolutions, and 16:9 and 9:16 aspect ratios. Optional audio generation. Input images can be up to 20MB.

<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 used to reproduce generation results.

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

<ParamField body="image" type="string" required={true}>
  Input image. Supports image URLs or Base64-encoded data. Supported formats: JPEG, PNG. Maximum 20MB. Recommended resolution is 720p (1280x720) or higher, with an aspect ratio of 16:9 or 9:16.
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Text prompt describing the desired video content to generate.
</ParamField>

<ParamField body="duration" type="integer" default={8}>
  Duration of the generated video, in 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">
  Output video aspect ratio.

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

<ParamField body="sample_count" type="integer" default={1}>
  Number of generated video samples (1-4).

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

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

<ParamField body="negative_prompt" type="string">
  Describe the content to avoid in the generated video.
</ParamField>

<ParamField body="person_generation" type="string" default="allow_adult">
  Whether to allow generating adult people. allow\_adult: allow generating adults; dont\_allow: do not allow generating people.

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

## Response

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