一個驗證,對應所有 provider
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
It looks like you may prefer a different language. Switch anytime.
透過 RunAPI 使用 Gemini Omni API,包含 model skill、統一驗證與按用量計費。
curl -X POST https://runapi.ai/api/v1/gemini_omni/create_audio \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"audio_id": "achernar",
"name": "Acher Narrator",
"voice_description": "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
"example_dialogue": "Hello, I am achernar"
}'
import { GeminiOmniClient } from "@runapi.ai/gemini-omni";
const client = new GeminiOmniClient();
const result = await client.createAudio.run({
audio_id: "achernar",
name: "Acher Narrator",
voice_description: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
example_dialogue: "Hello, I am achernar",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\GeminiOmni\GeminiOmniClient;
$client = new GeminiOmniClient();
$result = $client->createAudio->run([
'audio_id' => 'achernar',
'name' => 'Acher Narrator',
'voice_description' => 'Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.',
'example_dialogue' => 'Hello, I am achernar',
]);
require "runapi/gemini_omni"
client = RunApi::GeminiOmni::Client.new
result = client.create_audio.run(
audio_id: "achernar",
name: "Acher Narrator",
voice_description: "Create a 1080p neon city tracking shot with a reusable character walking through rain while a calm narrator speaks.",
example_dialogue: "Hello, I am achernar"
)
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
Gemini Omni creates reusable voice resources, reusable character resources, and multimodal videos that can combine prompts, reference images, audio IDs, character IDs, and a source video clip.
| Endpoint | 解析度 | 時長 | 價格 | |
|---|---|---|---|---|
| create_audio | — | — | Free / track |
以下為 gemini-omni-audio 的定價。其他變體保留各自的 endpoint 定價。
挑選符合輸出類型、品質門檻與延遲目標的模型與變體。
設定 RunAPI key,並在 coding workspace 安裝 model skill。
使用 skill 指引,在你的 app 內加入模型功能。
透過 task ID 查詢、在支援時串流,或處理 webhook callback。
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
按次以 USD 收費,每月結算。失敗的生成不會收費。
型別化 schema 與 setup 備註打包在 model skill 內,讓實作從正確契約開始。
It can create reusable audio resources, reusable character resources, and multimodal videos that combine prompts with image, audio, character, or source-video references.
Create a character resource when multiple videos need the same visual identity; pass the returned character ID into video requests that should reuse that subject.
Audio resources capture a preset voice choice and can be referenced by video requests that need narration or dialogue with consistent voice selection.
Video price depends on the request mode, duration, resolution, and whether source media changes the effective billed clip length.
Yes. Gemini Omni video can combine prompt text with reference images, audio IDs, character IDs, and a source video, within the documented reference limits.
先選最平而且符合你質素要求的版本。大多數團隊會先用快速版本,之後再升級到 pro 用於正式生產。