> ## 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 動画生成 (Reverse)

Veo 3.1 動画生成・照会 API

<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="size" type="string">
  幅x高さ。具体的な数値は無視され、幅>高さの場合は横向き、幅\<高さの場合は縦向きになります。サポートされる値: 1280x720、720x1280
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  プロンプト。動画生成をガイドするために使用します。例：画像内のキャラクターが走り出し、その後互いに衝突する
</ParamField>

<ParamField body="seconds" type="integer">
  動画の長さ。現在は 8 秒のみサポートしています
</ParamField>

<ParamField body="watermark" type="boolean">
  ウォーターマークが必要かどうか。デフォルトではウォーターマークなし
</ParamField>

<ParamField body="input_images" type="string[]">
  動画生成をガイドするための画像ファイル。veo-3.1-reverse は先頭フレームと末尾フレームのアップロードをサポートしています
</ParamField>

## レスポンス情報

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