> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# VIDU Q2 Pro Image to Video

Generate new videos from reference images. Supports 540p, 720p, and 1080p resolutions.

<Tip>
  This is an **async** API that only returns the task\_id of the async task. Use the task\_id to call the [Get Async Task Result API](/docs/models/reference-get-async-task-result) to retrieve the generated result.
</Tip>

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Enum: `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 for controlling the randomness of the generation result. The same seed produces similar results.
</ParamField>

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

<ParamField body="images" type="array" required={true}>
  List of input image URLs.

  Array length: 1 - unlimited
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Text prompt with a detailed description of the expected video content.
</ParamField>

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

  Possible 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. Default: 720p.

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

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

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

## Response

<ResponseField name="task_id" type="string" required={true}>
  Use the task\_id to call the [Get Async Task Result API](/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>
