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

VIDU Q2 Pro Fast reference image/video-to-video API, supports subject mode and non-subject mode, with 720p and 1080p resolutions.

<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="prompt" type="string" required={true}>
  Text prompt. You can use placeholders such as @1 and @2 to reference subjects

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

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

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

<ParamField body="subjects" type="object[]" required={true}>
  Subject list. Each subject includes name, images, and voice\_id

  Array length: 1 - unlimited

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="name" type="string" required={true}>
      Subject name, referenced in prompt using @{name}
    </ParamField>

    <ParamField body="images" type="string[]">
      List of subject image URLs, up to 3 images, each no larger than 20MB

      Array length: 0 - 3
    </ParamField>

    <ParamField body="voice_id" type="string">
      Voice ID, optional
    </ParamField>
  </Expandable>
</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.

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

<ParamField body="aspect_ratio" type="string">
  Video aspect ratio, such as 16:9, 9:16, 1:1, etc.
</ParamField>

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

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