Gemini Omni 1.1 闪光灯
文生视频图生视频参考生视频$0.03 起/ s
Google Omni 1.1 Flash 可从多模态输入生成和编辑视频,并具有对话式改进、视频扩展和分辨率提升功能。
输入
模式
请填写必填字段以查看价格
Text To Video · 5s
空闲输出不可用
| 时长 | 分辨率 | 类型 | 价格 |
|---|---|---|---|
| output second | 360p | 图生视频 | $0.03 / s |
| 参考生视频 | $0.03 / s | ||
| 文生视频 | $0.03 / s | ||
| 720p | 图生视频 | $0.1002 / s | |
| 参考生视频 | $0.1002 / s | ||
| 文生视频 | $0.1002 / s | ||
| 1080p | 图生视频 | $0.15 / s | |
| 参考生视频 | $0.15 / s | ||
| 文生视频 | $0.15 / s | ||
| 4K | 图生视频 | $0.30 / s | |
| 参考生视频 | $0.30 / s | ||
| 文生视频 | $0.30 / s |
端点
POST
https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-1-flash/video模式
验证
在 x-api-key 请求标头中传递您的 API 密钥。
x-api-key: YOUR_API_KEY查看 API 密钥提交任务
创建模型生成任务。
请求
curl -X POST 'https://pollo.ai/api/platform/v1/generation/google/gemini-omni-1-1-flash/video' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5
}
}'回复(200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"status": "pending"
}检查状态
轮询任务状态端点,直到生成完成。
HTTP 请求
GET /api/platform/v1/generation/{taskId}/status HTTP/1.1
Host: pollo.ai
x-api-key: YOUR_API_KEY回复(200)
{
"taskId": "task_01HZ7Q2V8J3E4T6Y9K0M1N2P3",
"credit": 12,
"costUsd": 0.12,
"generations": [
{
"id": "generation_01",
"createdDate": "2026-07-13T07:00:00.000Z",
"updatedDate": "2026-07-13T07:00:12.000Z",
"status": "succeeded",
"failMsg": null,
"url": "https://example.com/output.mp4",
"mediaType": "video"
}
]
}Webhook
(可选)包含 webhookUrl,以便在任务成功或失败时接收回调。
可选请求字段
{
"input": {
"prompt": "A close-up of raindrops rippling across a still pond in slow motion, natural daylight",
"aspectRatio": "16:9",
"duration": 5
},
"webhookUrl": "https://example.com/webhooks/pollo"
}模式
输入所选端点和模式的字段。
| 场地 | 类型 | 必需的 | 描述 |
|---|---|---|---|
| prompt | string | 支持 | Text prompt describing the content to generate. |
| aspectRatio | string | 不 | Output aspect ratio, as width:height (e.g. 16:9). |
| duration | integer | 不 | The duration of the generated video, in seconds. |
| resolution | string | 不 | Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive. |
错误
常见的公共 API 响应代码。
- 400
- 输入或模型约束无效
- 401
- API密钥缺失或无效
- 403
- API密钥无访问权限
- 404
- 未找到模型或任务
模型文档即将推出。