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

# Gemini Omni 1.1 Flash

> Gemini Omni 1.1 Flash：通过 MixRoute 调用的对话式视频生成与编辑模型，支持文本、图像或视频输入。

Gemini Omni 1.1 Flash 是 Google 面向快速对话式视频生成与编辑的高性能模型。

MixRoute 通过异步视频生成 API 提供 `gemini-omni-1.1-flash`。

<Warning>
  不要通过 Chat Completions 调用此路由。请使用 `POST /v1/video/generations`。高级媒体输入和编辑字段在 MixRoute 路由层可能变化；依赖可选控制项前请先查看模型广场。
</Warning>

## 核心能力

* 对话式视频工作流 - 上游支持生成、编辑、续写、放大和插帧
* 多模态输入 - 支持文本、图像，以及最长 10 秒的编辑或续写源视频
* 视频输出 - 可生成 3-10 秒、24 FPS、360p 至 4K 的视频
* MixRoute 异步路由 - 提交任务后使用任务 ID 轮询结果

## 快速示例

<Tabs>
  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.mixroute.ai/v1/video/generations" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "gemini-omni-1.1-flash",
        "prompt": "生成一段六秒的电影感视频：纸艺城市在日出时缓缓展开。"
      }'
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    import requests

    response = requests.post(
        "https://api.mixroute.ai/v1/video/generations",
        headers={"Authorization": "Bearer YOUR_API_KEY"},
        json={
            "model": "gemini-omni-1.1-flash",
            "prompt": "生成一段六秒的电影感视频：纸艺城市在日出时缓缓展开。",
        },
    )
    response.raise_for_status()
    print(response.json())
    ```
  </Tab>
</Tabs>

## 调用流程

1. 使用 `POST /v1/video/generations` 提交任务。
2. 读取返回的任务 ID。
3. 使用 [查询视频任务](/cn/api-reference/endpoint/query-video-task) 轮询结果。

## 参数

| Parameter | Type   | 必填 | 说明                              |
| --------- | ------ | -- | ------------------------------- |
| `model`   | string | 是  | 模型 ID: `gemini-omni-1.1-flash`. |
| `prompt`  | string | 是  | 视频生成或编辑指令。                      |

## 厂商参考

* [Gemini Omni Flash 官方文档](https://ai.google.dev/gemini-api/docs/models/gemini-omni-flash)
