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

# Google Omni 视频 API

> 通过 /v1/videos 调用 Google Omni（omni-fast / omni-fast-v2v）。

# Google Omni 视频 API

| 说明 | 方法 | 路径 |
| - | - | - |
| 创建 | `POST` | `/v1/videos` |
| 查询 | `GET` | `/v1/videos/{task_id}` |

**API 主机：** `https://api.omniall.ai` · 鉴权 `Authorization: Bearer sk-...`。

| 模型 | 用途 |
| - | - |
| `omni-fast` | 文生 / 参考图 / 首尾帧 |
| `omni-fast-v2v` | 视频参考（v2v） |

同一创建接口，按字段切换场景：

| 场景 | 关键字段 |
| - | - |
| 文生视频 | `prompt` + `seconds` + `aspect_ratio` + `resolution` |
| 参考图 | `images`（最多 5 张） |
| 首尾帧 | `first_image_url` + `last_image_url` |
| 视频参考 | `model=omni-fast-v2v` + `video` / `video_url` |

```bash theme={null}
curl -X POST "https://api.omniall.ai/v1/videos" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "omni-fast",
    "prompt": "沿海城市的航拍镜头",
    "seconds": "8",
    "aspect_ratio": "16:9",
    "resolution": "720P"
  }'
```

完整用例见 **API Reference → 视频 → Google Omni**。


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