> ## 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) を利用できます.

[VIP](https://docs.toapis.com/docs/ja/api-reference/videos/gemini-omni-flash/generation-1-1-vip.md) | [Official ガイド](https://docs.toapis.com/docs/ja/api-reference/videos/gemini-omni-1.1-flash-preview-official/generation.md)

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

**Authorization** `string` *required*

`Bearer YOUR_API_KEY`

**model** `string` *required*

`gemini-omni-1.1-flash-preview`

**prompt** `string` *required*

必須の動画説明.

**duration** `integer` (default: 10)

通常版は 10 秒固定.

**resolution** `string` (default: 720p)

720p

**aspect\_ratio** `string` (default: 16:9)

16:9 または 9:16. 既定は 16:9.

**image\_urls** `string[]`

通常版は公開画像 URL を最大 5 枚.

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

## リクエスト例

```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'
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.