gemini-omni-text-to-video API
Google / Gemini Omni
透過 RunAPI 使用 Gemini Omni 系列的 gemini-omni-text-to-video。按次計費,無訂閱費,失敗的生成不收費。
可直接上線
·
video
·
可商用
curl -X POST https://runapi.ai/api/v1/gemini_omni/text_to_video \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-omni-text-to-video",
"prompt": "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."
}'
import { GeminiOmniClient } from "@runapi.ai/gemini-omni";
const client = new GeminiOmniClient();
const result = await client.textToVideo.run({
model: "gemini-omni-text-to-video",
prompt: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\GeminiOmni\GeminiOmniClient;
$client = new GeminiOmniClient();
$result = $client->textToVideo->run([
'model' => 'gemini-omni-text-to-video',
'prompt' => 'Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.',
]);
require "runapi/gemini_omni"
client = RunApi::GeminiOmni::Client.new
result = client.text_to_video.run(
model: "gemini-omni-text-to-video",
prompt: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks."
)
npx skills add runapi-ai/gemini-omni -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
切換 variant
OVERVIEW
gemini-omni-text-to-video 在 Gemini Omni 系列中,兼顧品質與成本的最佳平衡。
- 以美元按次計費
- 生成失敗不收費
- 模型支援時可串流輸出
- Model skill setup
PRICING
價格
失敗的生成不收費
Text to video
$0.63-$2.52
/ video
Input mode: video · Duration seconds: any · Output resolution: 4k
$2.52
Input mode: video · Duration seconds: any · Output resolution: 720p
$1.68
Input mode: video · Duration seconds: any · Output resolution: 1080p
$1.68
Input mode: generated · Duration seconds: 4 · Output resolution: 4k
$1.47
Input mode: generated · Duration seconds: 4 · Output resolution: 720p
$0.63
Input mode: generated · Duration seconds: 4 · Output resolution: 1080p
$0.63
Input mode: generated · Duration seconds: 6 · Output resolution: 4k
$1.68
Input mode: generated · Duration seconds: 6 · Output resolution: 720p
$0.84
Input mode: generated · Duration seconds: 6 · Output resolution: 1080p
$0.84
Input mode: generated · Duration seconds: 8 · Output resolution: 4k
$1.89
Input mode: generated · Duration seconds: 8 · Output resolution: 720p
$1.05
Input mode: generated · Duration seconds: 8 · Output resolution: 1080p
$1.05
Input mode: generated · Duration seconds: 10 · Output resolution: 4k
$2.10
Input mode: generated · Duration seconds: 10 · Output resolution: 720p
$1.26
Input mode: generated · Duration seconds: 10 · Output resolution: 1080p
$1.26
規格表
技術細節
| Model ID | gemini-omni-text-to-video |
| 供應商 | |
| 模態 | video |
| 任務類型 | asynchronous |
| 計費單位 | call |
| API endpoint | /api/v1/gemini_omni/text_to_video |
| 商用授權 | 是 — 已透過 API 包含 |
| 目錄狀態 | 可直接上線 |
SKILLS
快速開始 — gemini-omni-text-to-video
相同格式 · variant 固定在 model 中
# Install the model skill for app development workflows
npx skills add runapi-ai/gemini-omni -g
Or use this setup request in your coding tool:
Install the Gemini Omni skill for this app: 1. Add runapi-ai/gemini-omni with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
運作方式
四步驟使用 gemini-omni-text-to-video
01
安裝
安裝此 model line 的 model skill。
02
設定
將 model 欄位設定為此頁面顯示的完整 model ID。
03
呼叫
使用您的 prompt、inputs 和 callback 設定送出型別化請求。
04
接收
讀取 RunAPI 的 task 回應、webhook callback 或快取輸出 URL。
DIFFERENCES
gemini-omni-text-to-video 有什麼不同
VS GEMINI-OMNI-AUDIO
Prompted multimodal video with image, audio, character, and source-clip references
Synchronous reusable voice resource creation from preset voices
VS GEMINI-OMNI-CHARACTER
Prompted multimodal video with image, audio, character, and source-clip references
Synchronous reusable character resource creation from one reference image
VS GEMINI-OMNI-FLASH-PREVIEW
Prompted multimodal video with image, audio, character, and source-clip references
適合自然語言創意迭代的快速對話式影片生成
使用情境
最適合
廣告與社群內容
根據文字簡報生成產品上市短片與短影音廣告,將製作時間從數週縮短到數小時。
線上學習
無需攝影機或團隊,即可大規模將課程腳本轉為動畫解說影片。
創作者工作流程
直接從 prompt 產生適合社群平台的爆紅短影音內容。
FAQ
關於 gemini-omni-text-to-video 的常見問題
模型 ID 在不同版本之間會保持穩定嗎?
RunAPI 會維持 model ID 穩定,並在不改變請求格式的情況下處理相容版本更新。
這個 variant 的速率限制是多少?
每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。
之後可以切換 variant 嗎?
可以——variant 只是旗標。只要變更 model 參數即可切換。
它支援串流嗎?
只要支援串流,RunAPI 就會端到端串流。
我該在哪裡回報品質問題?
請在公開 GitHub repo 提交 issue,或寄信給支援。
Gemini Omni 的其他 variant
gemini-omni-audio
最便宜
audio
$0.0000 / call
gemini-omni-character
character
$0.0000 / call
gemini-omni-flash-preview
最快
flash-preview
$0.460 / call
其他模型的替代方案
GR
Grok Imagine
Image and video generation from text — text-to-image, image-to-image, text-to-video, and image-to-video.
HA
Hailuo
Text and image-to-video at native 1080p with accurate physics simulation and motion.
HA
HappyHorse
Text, image, and edit-video generation with 720p and 1080p output, duration control, first-frame image support, ordered reference images for character-guided clips, and source-video editing.
立即開始