> ## 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 参照動画

VIDU Q2 Pro Fast の参照画像/動画から動画を生成する API です。主体モードと非主体モードに対応し、720p、1080p の 2 種類の解像度をサポートします。

<Tip>
  これは**非同期** API であり、非同期タスクの task\_id のみを返します。この task\_id を使用して [タスク結果取得 API](/ja/docs/models/reference-get-async-task-result) にリクエストし、生成結果を取得してください。
</Tip>

## リクエストヘッダー

<ParamField header="Content-Type" type="string" required={true}>
  列挙値: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer 認証形式: Bearer \{\{API Key}}。
</ParamField>

## リクエストボディ

<ParamField body="bgm" type="boolean" default={false}>
  BGM を追加するかどうか
</ParamField>

<ParamField body="seed" type="integer">
  生成結果のランダム性を制御するためのランダムシード。同じシードでは類似した結果が生成されます。
</ParamField>

<ParamField body="audio" type="boolean" default={false}>
  音声を生成するかどうか
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  テキストプロンプト。@1、@2 などのプレースホルダーを使用して主体を参照できます

  指定可能な値：`1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`
</ParamField>

<ParamField body="duration" type="integer" required={true} default={5}>
  動画の長さ（秒）。1～10 秒に対応

  指定可能な値：`1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`
</ParamField>

<ParamField body="subjects" type="object[]" required={true}>
  主体リスト。各主体には name、images、voice\_id が含まれます

  配列の長さ：1 - 無制限

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="name" type="string" required={true}>
      主体名。prompt 内で @{name} として参照します
    </ParamField>

    <ParamField body="images" type="string[]">
      主体画像 URL リスト。最大 3 枚、各画像は 20MB 以下

      配列の長さ：0 - 3
    </ParamField>

    <ParamField body="voice_id" type="string">
      音声 ID（任意）
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="watermark" type="boolean" default={false}>
  ウォーターマークを追加するかどうか
</ParamField>

<ParamField body="resolution" type="string" default="720p">
  出力動画の解像度。デフォルト値は 720p です。

  指定可能な値：`720p`, `1080p`
</ParamField>

<ParamField body="aspect_ratio" type="string">
  動画のアスペクト比。例：16:9、9:16、1:1 など
</ParamField>

<ParamField body="movement_amplitude" type="string">
  動きの大きさ。動画内のオブジェクトの動きの強さを制御します

  指定可能な値：`auto`, `small`, `medium`, `high`
</ParamField>

## レスポンス情報

<ResponseField name="task_id" type="string" required={true}>
  task\_id を使用して [タスク結果取得 API](/ja/docs/models/reference-get-async-task-result) にリクエストし、生成された出力を取得します。
</ResponseField>
