gemini-omni-mcp

v0.4.0
io.github.runapi-builder/gemini-omni-mcp Checked 2 days ago Published 3 days ago

RunAPI MCP server for Gemini Omni: create tasks, poll status, check pricing.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

login

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

ParameterTypeDescription
forcebooleanRe-run browser login when the current credential comes from the local config file.

extend_video

Create a Gemini Omni task on RunAPI (extend video). Returns a task id, status, and output URLs.

ParameterTypeDescription
duration_seconds *integerAdditional seconds to generate and bill. Declared type: integer.
prompt *stringContinuation prompt. Declared type: string.
source_task_id *stringOwn completed 1.2 generation or extension Task, at most 15 seconds and 360p or 720p. Declared type: string.
callback_urlstringWebhook URL for terminal Task delivery. Declared type: string.
modelstringRunAPI model slug for this model line.
poll_interval_msinteger
reference_image_urlsarrayOptional reference images for the extension. Declared type: array.
timeout_msinteger
waitbooleanPoll until the task reaches a terminal status.

text_to_video

Create a Gemini Omni task on RunAPI (text to video). Returns a task id, status, and output URLs.

ParameterTypeDescription
prompt *stringVideo generation prompt. Declared type: string.
aspect_ratiostringOutput aspect ratio. Declared type: string. Known values: "16:9", "9:16", "auto".
audio_idsarrayAudio preset IDs returned by create-audio. Declared type: array.
callback_urlstringWebhook URL for terminal Task delivery. Declared type: string.
character_idsarrayCharacter IDs returned by create-character; dual-image characters consume two of the shared seven reference units. Declared type: array.
duration_secondsintegerOutput duration in seconds. Declared type: integer.
first_frame_image_urlstringPublic first-frame image URL; mutually exclusive with reference images, audio IDs, video clips, and character IDs. Declared type: string.
last_frame_image_urlstringPublic last-frame image URL; requires first_frame_image_url. Declared type: string.
modelstringRunAPI model slug for this model line.
output_resolutionstringOutput resolution. Declared type: string. Known values: "360p", "720p", "1080p", "4k".
poll_interval_msinteger
reference_image_urlsarrayPublic reference image URLs; images, video clips, and characters share a seven-unit reference limit. Declared type: array.
reference_video_urlsarraySource video for edit; consumes two reference slots and determines output and billable duration. Declared type: array.
seedintegerDeterministic generation seed. Declared type: integer.
timeout_msinteger
video_listarraySource video clips; each clip consumes two reference units. Declared type: array.
waitbooleanPoll until the task reaches a terminal status.

create_audio

Run a synchronous Gemini Omni operation on RunAPI (create audio). Returns the operation result.

ParameterTypeDescription
audio_id *stringVoice identity used for the audio preset. Declared type: string.
name *stringAudio preset display name. Declared type: string.
example_dialoguestringExample dialogue demonstrating the voice style. Declared type: string.
modelstringRunAPI model slug for this model line.
voice_descriptionstringVoice characteristics such as pitch, tone, or accent. Declared type: string.

create_character

Run a synchronous Gemini Omni operation on RunAPI (create character). Returns the operation result.

ParameterTypeDescription
descriptions *stringCharacter appearance, identity, style, clothing, or personality description. Declared type: string.
reference_image_url *stringPublic portrait reference image URL. Declared type: string.
audio_idsarrayAudio preset IDs returned by create-audio. Declared type: array.
body_reference_image_urlstringOptional public full-body reference image URL; reference_image_url must provide the portrait. Declared type: string.
character_namestringCharacter display name. Declared type: string.
modelstringRunAPI model slug for this model line.

get_task

Fetch the current status and latest result payload for a gemini-omni task.

ParameterTypeDescription
action *stringAsynchronous endpoint the task was created on.
task_id *stringTask id returned when the task was created.

check_pricing

Look up RunAPI pricing for the gemini-omni model line.

ParameterTypeDescription
actionstringEndpoint name. Defaults to the endpoint that offers the model.
modelstringModel slug. Defaults to the line's primary model.