@runapi.ai/gemini-omni-mcp
This MCP server provides focused access to Gemini Omni models via RunAPI, enabling AI agents to create multimodal generation tasks, poll task results, and check pricing.
create_audio: Generate audio content using thegemini-omni-audiomodel, with optional polling until completion.create_character: Create a character image/asset using thegemini-omni-charactermodel, supporting reference images and descriptions.text_to_video: Convert text prompts into videos using thegemini-omni-text-to-videomodel, with configurable duration (4, 6, 8, or 10 seconds), aspect ratio (16:9 or 9:16), and resolution (720p, 1080p, or 4K).get_task: Poll the status and retrieve output URLs for any previously created task using its ID and original endpoint.check_pricing: Look up current pricing for any Gemini Omni model/endpoint combination — no API key required.
Task execution can either wait for completion (polling) or return immediately with a task ID for asynchronous handling. A RUNAPI_API_KEY is required for creating and polling tasks. Compatible with Claude Code, Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP-compatible hosts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@runapi.ai/gemini-omni-mcpCreate an audio task with the text 'Hello'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why This Package?
@runapi.ai/gemini-omni-mcp is a focused Model Context Protocol server for the Gemini Omni model line on RunAPI.
It gives MCP-compatible assistants direct access to 3 endpoints and 5 model variants without loading the full RunAPI catalog.
Use this per-model server when an agent should stay scoped to Gemini Omni. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.
Related MCP server: imagen-4-mcp
Install
Add it to Claude Code:
claude mcp add gemini-omni -s user -- npx -y @runapi.ai/gemini-omni-mcpUse project scope when the server should be shared with a repository:
claude mcp add gemini-omni -s project -- npx -y @runapi.ai/gemini-omni-mcpCodex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:
{
"mcpServers": {
"gemini-omni": {
"command": "npx",
"args": ["-y", "@runapi.ai/gemini-omni-mcp"]
}
}
}check_pricing works before sign-in. For task creation and status polling, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login.
Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.
Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.
Tools
Tool | Auth | Purpose |
| Yes | Run a Gemini Omni create audio operation synchronously. Returns the operation result. |
| Yes | Run a Gemini Omni create character operation synchronously. Returns the operation result. |
| Yes | Create a Gemini Omni text to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs. |
| Yes | Fetch the current status and latest payload for an existing task. |
| No | Look up current pricing for a Gemini Omni model and endpoint. |
Models
Gemini Omni covers 5 model variants across 3 endpoints. Each tool accepts the models listed for it:
Tool | Models |
|
|
|
|
|
|
Model availability can change between releases. Use check_pricing or the Gemini Omni model page for the current catalog view.
Agent Prompts
Ask your assistant in natural language; it can inspect pricing, create the task, and return the task id plus output URLs.
Create a task
Run a Gemini Omni text to video task with RunAPI.The assistant can call check_pricing, then text_to_video, and return the task id, status, and output URLs.
Submit without waiting
Create the task but don't wait for it to finish.The assistant calls the create tool with wait: false and returns the task id. Check on it later with get_task.
Check pricing before creating
Check current Gemini Omni pricing, then create the task if it matches my request.The assistant calls check_pricing and can link to the Gemini Omni model page for the canonical catalog entry.
Configuration
The server resolves auth in this order:
RUNAPI_API_KEYenvironment variable, useful for headless and CI hosts~/.config/runapi/config.json, created by the MCPlogintool orrunapi loginNo key, which still allows
check_pricing
The config file is normally managed by login. A pre-provisioned headless config can use:
{
"apiKey": "your_runapi_key"
}Do not commit real API keys.
Links
Resource | URL |
Gemini Omni model page | |
npm package | |
GitHub repository | |
RunAPI MCP overview | |
RunAPI docs |
License
Licensed under the Apache License, Version 2.0.
Available Tools
6 toolscheck_pricing
Look up RunAPI pricing for the gemini-omni model line.
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model slug. Defaults to the line's primary model. | |
| action | No | Endpoint name. Defaults to the endpoint that offers the model. |
create_audioB
Run a synchronous Gemini Omni operation on RunAPI (create audio). Returns the operation result.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Audio preset display name. | |
| model | No | RunAPI model slug for this model line. | |
| audio_id | Yes | Voice identity used for the audio preset. | |
| example_dialogue | No | Example dialogue demonstrating the voice style. | |
| voice_description | No | Voice characteristics such as pitch, tone, or accent. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that the operation is synchronous and returns the operation result, which adds behavioral context beyond the schema. However, it does not explain side effects, permissions, or error behavior, leaving a moderate gap given the absence of annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences, front-loading the action and following with return behavior. It contains no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description's mention of returning the operation result is useful but underspecified. It does not clarify the result structure or common use cases, leaving the description only partially complete for a 5-parameter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% parameter description coverage, so the schema already defines each parameter. The description adds no parameter-specific meaning, making the baseline score of 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies a synchronous Gemini Omni operation, with the parenthetical 'create audio' clarifying the tool's purpose. This distinguishes it from siblings like text_to_video and create_character, though the generic verb 'run' and lack of explicit 'preset' wording slightly reduce specificity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. Sibling tools exist (create_character, text_to_video), but the description does not mention conditions, exclusions, or selection criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_character
Run a synchronous Gemini Omni operation on RunAPI (create character). Returns the operation result.
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | RunAPI model slug for this model line. | |
| audio_ids | No | Audio preset IDs returned by create-audio. | |
| descriptions | Yes | Character appearance, identity, style, clothing, or personality description. | |
| character_name | No | Character display name. | |
| reference_image_url | Yes | Public portrait reference image URL. | |
| body_reference_image_url | No | Optional public full-body reference image URL; reference_image_url must provide the portrait. |
get_taskA
Fetch the current status and latest result payload for a gemini-omni task.
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Asynchronous endpoint the task was created on. Defaults to the line's only asynchronous endpoint. | |
| task_id | Yes | Task id returned when the task was created. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries the full burden. It discloses a read operation (fetch) but does not mention any side effects, auth requirements, or error conditions. Adequate for a simple fetch but lacks depth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with the action and resource, no unnecessary words. Highly concise and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity (2 params, no output schema), the description is sufficient but could be improved by hinting at the return format or any important limitations. Not incomplete, but not rich.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the description does not add any parameter-specific details beyond what the schema already provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches current status and latest result payload for a gemini-omni task, using a specific verb and resource. It implicitly distinguishes from siblings like text_to_video which creates tasks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives, such as checking task status versus creating a new task. The agent must infer usage from context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
loginA
Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-run browser login when the current credential comes from the local config file. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. It discloses the interactive browser flow and the file write side effect (config.json). However, it does not mention that it may overwrite existing credentials or that it could block waiting for user input, though these are implied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that front-loads the action ('Authenticate RunAPI') and provides necessary details without extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple login tool with one optional parameter and no output schema, the description covers the core purpose and side effect. It lacks an explicit statement that this is a prerequisite for other tools, but that is implied.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (the only parameter 'force' has a description). The tool description adds no additional meaning about parameters beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Authenticate'), target resource ('RunAPI'), method ('browser PKCE login flow'), and side effect (saving to config.json). It is distinct from sibling tools, none of which relate to authentication.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage (to authenticate RunAPI) but does not explicitly say when to run it (e.g., before other RunAPI tools) or when to use the 'force' parameter. Since there are no alternative auth tools among siblings, 'vs alternatives' is not applicable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
text_to_video
Create a Gemini Omni task on RunAPI (text to video). Returns a task id, status, and output URLs.
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Deterministic generation seed. | |
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | Video generation prompt. | |
| audio_ids | No | Audio preset IDs returned by create-audio. | |
| timeout_ms | No | ||
| video_list | No | Source video clips; each clip consumes two reference units. | |
| aspect_ratio | No | Output aspect ratio. | |
| callback_url | No | Webhook URL for terminal Task delivery. | |
| character_ids | No | Character IDs returned by create-character; dual-image characters consume two of the shared seven reference units. | |
| duration_seconds | No | Output duration in seconds. | |
| poll_interval_ms | No | ||
| output_resolution | No | Output resolution. | |
| last_frame_image_url | No | Public last-frame image URL; requires first_frame_image_url. | |
| reference_image_urls | No | Public reference image URLs; images, video clips, and characters share a seven-unit reference limit. | |
| first_frame_image_url | No | Public first-frame image URL; mutually exclusive with reference images, audio IDs, video clips, and character IDs. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.2.2- Changed
check_pricing1 field changed- changed
Input schema / properties / model / enumPrevious value: -[ - "gemini-omni-audio", - "gemini-omni-character", - "gemini-omni-flash-preview", - "gemini-omni-text-to-video" -]New value: +[ + "gemini-omni-audio", + "gemini-omni-character", + "gemini-omni-flash-1-1", + "gemini-omni-flash-preview", + "gemini-omni-text-to-video" +]
- Changed
create_character2 fields changed- added
Input schema / properties / body_reference_image_urlAdded value: +{ + "description": "Optional public full-body reference image URL; reference_image_url must provide the portrait.", + "type": "string" +} - changed
Input schema / properties / reference_image_url / descriptionPrevious value: -"Public character reference image URL."New value: +"Public portrait reference image URL."
- Changed
text_to_video23 fields changed- removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / aspect_ratio / anyOfAdded value: +[ + { + "const": "16:9", + "type": "string" + }, + { + "const": "9:16", + "type": "string" + } +] - removed
Input schema / properties / aspect_ratio / enumRemoved value: -[ - "16:9", - "9:16" -] - removed
Input schema / properties / aspect_ratio / typeRemoved value: -"string" - added
Input schema / properties / audio_ids / descriptionAdded value: +"Audio preset IDs returned by create-audio." - added
Input schema / properties / character_ids / descriptionAdded value: +"Character IDs returned by create-character; dual-image characters consume two of the shared seven reference units." - added
Input schema / properties / duration_seconds / descriptionAdded value: +"Output duration in seconds." - added
Input schema / properties / first_frame_image_urlAdded value: +{ + "description": "Public first-frame image URL; mutually exclusive with reference images, audio IDs, video clips, and character IDs.", + "pattern": "^https?:\\/\\/", + "type": "string" +} - added
Input schema / properties / last_frame_image_urlAdded value: +{ + "description": "Public last-frame image URL; requires first_frame_image_url.", + "pattern": "^https?:\\/\\/", + "type": "string" +} - changed
Input schema / properties / model / enumPrevious value: -[ - "gemini-omni-flash-preview", - "gemini-omni-text-to-video" -]New value: +[ + "gemini-omni-flash-1-1", + "gemini-omni-flash-preview", + "gemini-omni-text-to-video" +] - added
Input schema / properties / output_resolution / anyOfAdded value: +[ + { + "const": "360p", + "type": "string" + }, + { + "const": "720p", + "type": "string" + }, + { + "const": "1080p", + "type": "string" + }, + { + "const": "4k", + "type": "string" + } +] - removed
Input schema / properties / output_resolution / enumRemoved value: -[ - "720p", - "1080p", - "4k" -] - removed
Input schema / properties / output_resolution / typeRemoved value: -"string" - added
Input schema / properties / poll_interval_ms / maximumAdded value: +9007199254740991 - added
Input schema / properties / reference_image_urls / descriptionAdded value: +"Public reference image URLs; images, video clips, and characters share a seven-unit reference limit." - added
Input schema / properties / seed / descriptionAdded value: +"Deterministic generation seed." - added
Input schema / properties / seed / maximumAdded value: +2147483647 - added
Input schema / properties / seed / minimumAdded value: +0 - added
Input schema / properties / timeout_ms / maximumAdded value: +9007199254740991 - added
Input schema / properties / video_list / descriptionAdded value: +"Source video clips; each clip consumes two reference units." - added
Input schema / properties / video_list / items / propertiesAdded value: +{ + "ends": { + "description": "Clip end time in seconds; must be greater than start and no more than 10 seconds after start.", + "minimum": 0, + "type": "number" + }, + "start": { + "description": "Clip start time in seconds.", + "minimum": 0, + "type": "number" + }, + "url": { + "description": "Public source video URL.", + "type": "string" + } +} - added
Input schema / properties / video_list / items / requiredAdded value: +[ + "url", + "ends", + "start" +] - added
Input schema / properties / video_list / items / typeAdded value: +"object"
5 tool updates
v0.2.1- Added
check_pricing - Added
create_audio - Changed
create_character6 fields changed- added
Input schema / properties / audio_ids / descriptionAdded value: +"Audio preset IDs returned by create-audio." - added
Input schema / properties / character_name / descriptionAdded value: +"Character display name." - added
Input schema / properties / character_name / maxLengthAdded value: +210 - added
Input schema / properties / descriptions / descriptionAdded value: +"Character appearance, identity, style, clothing, or personality description." - added
Input schema / properties / descriptions / maxLengthAdded value: +20000 - added
Input schema / properties / reference_image_url / descriptionAdded value: +"Public character reference image URL."
- Added
login - Changed
text_to_video5 fields changed- added
Input schema / properties / aspect_ratio / descriptionAdded value: +"Output aspect ratio." - added
Input schema / properties / callback_url / descriptionAdded value: +"Webhook URL for terminal Task delivery." - added
Input schema / properties / output_resolution / descriptionAdded value: +"Output resolution." - added
Input schema / properties / prompt / descriptionAdded value: +"Video generation prompt." - added
Input schema / properties / prompt / maxLengthAdded value: +20000
6 tool updates
v0.2.0- Removed
check_pricing - Removed
create_audio - Changed
create_character8 fields changed- added
Input schema / properties / audio_idsAdded value: +{ + "items": {}, + "type": "array" +} - added
Input schema / properties / character_nameAdded value: +{ + "type": "string" +} - added
Input schema / properties / descriptions / typeAdded value: +"string" - removed
Input schema / properties / poll_interval_msRemoved value: -{ - "exclusiveMinimum": 0, - "type": "integer" -} - added
Input schema / properties / reference_image_url / typeAdded value: +"string" - removed
Input schema / properties / timeout_msRemoved value: -{ - "exclusiveMinimum": 0, - "type": "integer" -} - removed
Input schema / properties / waitRemoved value: -{ - "default": true, - "description": "Poll until the task reaches a terminal status.", - "type": "boolean" -} - added
Input schema / requiredAdded value: +[ + "descriptions", + "reference_image_url" +]
- Changed
get_task3 fields changed- changed
Input schema / properties / action / descriptionPrevious value: -"Endpoint the task was created on."New value: +"Asynchronous endpoint the task was created on. Defaults to the line's only asynchronous endpoint." - changed
Input schema / properties / action / enumPrevious value: -[ - "create_audio", - "create_character", - "text_to_video" -]New value: +[ + "text_to_video" +] - changed
Input schema / requiredPrevious value: -[ - "task_id", - "action" -]New value: +[ + "task_id" +]
- Removed
login - Changed
text_to_video11 fields changed- added
Input schema / properties / audio_idsAdded value: +{ + "items": {}, + "type": "array" +} - added
Input schema / properties / callback_urlAdded value: +{ + "type": "string" +} - added
Input schema / properties / character_idsAdded value: +{ + "items": {}, + "type": "array" +} - removed
Input schema / properties / duration_seconds / enumRemoved value: -[ - 4, - 6, - 8, - 10 -] - changed
Input schema / properties / model / enumPrevious value: -[ - "gemini-omni-text-to-video" -]New value: +[ + "gemini-omni-flash-preview", + "gemini-omni-text-to-video" +] - added
Input schema / properties / prompt / typeAdded value: +"string" - added
Input schema / properties / reference_image_urls / itemsAdded value: +{} - added
Input schema / properties / reference_image_urls / typeAdded value: +"array" - added
Input schema / properties / seedAdded value: +{ + "type": "number" +} - added
Input schema / properties / video_listAdded value: +{ + "items": {}, + "type": "array" +} - changed
Input schema / requiredPrevious value: -[ - "duration_seconds" -]New value: +[ + "prompt" +]
1 tool update
v0.1.6- Added
login
5 tool updates
v0.1.0- First observed
check_pricing - First observed
create_audio - First observed
create_character - First observed
get_task - First observed
text_to_video
TDQS
Scored across 6 tools
Each tool targets a distinct operation: authentication, video generation, audio generation, character creation, task retrieval, and pricing. The similar descriptions for create_audio and create_character are clarified by their names, leaving no real ambiguity.
Most tools follow a verb_noun pattern (create_audio, create_character, get_task, check_pricing), but 'login' is a bare verb and 'text_to_video' is an action-object phrase without a leading verb. This mix is readable but not fully consistent.
Six tools is a well-scoped set for a Gemini Omni integration, covering authentication, content generation, task status, and pricing. Each tool has a clear purpose and the count is appropriate for the server's domain.
The server covers core generation types (video, audio, character) and task status, but lacks operations like listing or canceling tasks. The missing lifecycle operations are minor and workable for most workflows.
Maintenance
Related MCP Connectors
MCP server for Google Veo AI video generation
MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
MCP server for Luma Dream Machine AI video generation
MCP server for Hailuo (MiniMax) AI video generation
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for GPT-4o Image model line, enabling text-to-image task creation, status polling, and pricing checks via RunAPI.472 npmApache 2.0
- AlicenseAqualityAmaintenanceRunAPI MCP server for the Imagen 4 model line. Create tasks, poll their status, and check pricing through a single RunAPI API key.526 npmApache 2.0
- AlicenseAqualityAmaintenanceMCP server for the InfiniteTalk model line, enabling audio-to-video task creation, status polling, and pricing checks via a RunAPI API key.428 npmApache 2.0
- AlicenseAqualityAmaintenanceMCP server for the Runway Aleph model line. Enables creating edit video tasks, polling status, and checking pricing through a single RunAPI API key.436 npmApache 2.0