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

# Gemini Omni 1.1 通常版

> 通常版はテキストと画像からの動画生成に対応. 10 秒 / 720p 固定. 参照画像は最大 5 枚.

通常版はテキストと画像からの動画生成に対応. 10 秒 / 720p 固定. 参照画像は最大 5 枚.

<Note>プラットフォームの API Key を使用します. 中国本土では [https://toapis.cn](https://toapis.cn) を利用できます.</Note>

[VIP](./generation-1-1-vip) | [Official ガイド](../gemini-omni-1.1-flash-preview-official/generation)

## リクエストパラメータ

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_API_KEY`
</ParamField>

<ParamField body="model" type="string" required>
  `gemini-omni-1.1-flash-preview`
</ParamField>

<ParamField body="prompt" type="string" required>必須の動画説明.</ParamField>
<ParamField body="duration" type="integer" default="10">通常版は 10 秒固定.</ParamField>
<ParamField body="resolution" type="string" default="720p">720p</ParamField>
<ParamField body="aspect_ratio" type="string" default="16:9">16:9 または 9:16. 既定は 16:9.</ParamField>
<ParamField body="image_urls" type="string[]">通常版は公開画像 URL を最大 5 枚.</ParamField>

<Warning>ローカル素材は先にアップロードして公開 URL を取得します. base64 やローカルパスは送信しません.</Warning>

## リクエスト例

```bash theme={null}
curl https://toapis.com/v1/videos \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gemini-omni-1.1-flash-preview",
    "prompt": "A cinematic tracking shot through a sunlit city",
    "duration": 10,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "image_urls": ["https://example.com/image.png"]
  }'
```

## 結果の取得

返される id はプラットフォームのタスク ID です. GET /v1/videos/{id} で完了まで確認します. 供給元の task\_id や API は使用しません.

```bash theme={null}
curl https://toapis.com/v1/videos/YOUR_TASK_ID \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

<ResponseExample>
  ```json theme={null}
  {
    "id": "vid_example",
    "object": "generation.task",
    "model": "gemini-omni-1.1-flash-preview",
    "status": "queued",
    "created_at": 1789600000
  }
  ```
</ResponseExample>
