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

# VIDU Q2 Pro Image-to-Video

Generate a new video based on reference images. Supports three resolutions: 540p, 720p, and 1080p.

<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 [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="bgm" type="boolean" default={false}>
  Whether to add background music
</ParamField>

<ParamField body="seed" type="integer">
  Random seed used to control the randomness of the generated result. The same seed will produce similar results.
</ParamField>

<ParamField body="audio" type="boolean" default={false}>
  Whether to generate audio
</ParamField>

<ParamField body="images" type="string[]" required={true}>
  List of input image URLs

  Array length: 1 - unlimited
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Text prompt that describes the desired video content in detail
</ParamField>

<ParamField body="duration" type="integer" required={true} default={5}>
  Video duration (seconds), supports 1-10 seconds

  Available values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`
</ParamField>

<ParamField body="off_peak" type="boolean" default={false}>
  Whether to enable off-peak task mode
</ParamField>

<ParamField body="voice_id" type="string">
  Voice ID, optional
</ParamField>

<ParamField body="watermark" type="boolean" default={false}>
  Whether to add a watermark
</ParamField>

<ParamField body="resolution" type="string" default="720p">
  Output video resolution. The default value is 720p.

  Available values: `540p`, `720p`, `1080p`
</ParamField>

<ParamField body="movement_amplitude" type="string" default="auto">
  Movement amplitude, controls the motion intensity of objects in the video

  Available values: `auto`, `small`, `medium`, `high`
</ParamField>

## Response Information

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

<ResponseField name="provider_request_id" type="string" required={false}>
  Provider request ID (optional)
</ResponseField>
