Skip to main content
Glama
runapi-ai

@runapi.ai/gemini-omni-mcp

by runapi-ai

text_to_video

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

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoDeterministic generation seed.
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesVideo generation prompt.
audio_idsNoAudio preset IDs returned by create-audio.
timeout_msNo
video_listNoSource video clips; each clip consumes two reference units.
aspect_ratioNoOutput aspect ratio.
callback_urlNoWebhook URL for terminal Task delivery.
character_idsNoCharacter IDs returned by create-character; dual-image characters consume two of the shared seven reference units.
duration_secondsNoOutput duration in seconds.
poll_interval_msNo
output_resolutionNoOutput resolution.
last_frame_image_urlNoPublic last-frame image URL; requires first_frame_image_url.
reference_image_urlsNoPublic reference image URLs; images, video clips, and characters share a seven-unit reference limit.
first_frame_image_urlNoPublic first-frame image URL; mutually exclusive with reference images, audio IDs, video clips, and character IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changedv0.2.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / aspect_ratio / anyOf
      Added value: +[
      +  {
      +    "const": "16:9",
      +    "type": "string"
      +  },
      +  {
      +    "const": "9:16",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / aspect_ratio / enum
      Removed value: -[
      -  "16:9",
      -  "9:16"
      -]
    • removedInput schema / properties / aspect_ratio / type
      Removed value: -"string"
    • addedInput schema / properties / audio_ids / description
      Added value: +"Audio preset IDs returned by create-audio."
    • addedInput schema / properties / character_ids / description
      Added value: +"Character IDs returned by create-character; dual-image characters consume two of the shared seven reference units."
    • addedInput schema / properties / duration_seconds / description
      Added value: +"Output duration in seconds."
    • addedInput schema / properties / first_frame_image_url
      Added value: +{
      +  "description": "Public first-frame image URL; mutually exclusive with reference images, audio IDs, video clips, and character IDs.",
      +  "pattern": "^https?:\\/\\/",
      +  "type": "string"
      +}
    • addedInput schema / properties / last_frame_image_url
      Added value: +{
      +  "description": "Public last-frame image URL; requires first_frame_image_url.",
      +  "pattern": "^https?:\\/\\/",
      +  "type": "string"
      +}
    • changedInput schema / properties / model / enum
      Previous 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"
      +]
    • addedInput schema / properties / output_resolution / anyOf
      Added value: +[
      +  {
      +    "const": "360p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "720p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "1080p",
      +    "type": "string"
      +  },
      +  {
      +    "const": "4k",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / output_resolution / enum
      Removed value: -[
      -  "720p",
      -  "1080p",
      -  "4k"
      -]
    • removedInput schema / properties / output_resolution / type
      Removed value: -"string"
    • addedInput schema / properties / poll_interval_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / reference_image_urls / description
      Added value: +"Public reference image URLs; images, video clips, and characters share a seven-unit reference limit."
    • addedInput schema / properties / seed / description
      Added value: +"Deterministic generation seed."
    • addedInput schema / properties / seed / maximum
      Added value: +2147483647
    • addedInput schema / properties / seed / minimum
      Added value: +0
    • addedInput schema / properties / timeout_ms / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / video_list / description
      Added value: +"Source video clips; each clip consumes two reference units."
    • addedInput schema / properties / video_list / items / properties
      Added 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"
      +  }
      +}
    • addedInput schema / properties / video_list / items / required
      Added value: +[
      +  "url",
      +  "ends",
      +  "start"
      +]
    • addedInput schema / properties / video_list / items / type
      Added value: +"object"
  2. Changed5 schema fields changedv0.2.1
    • addedInput schema / properties / aspect_ratio / description
      Added value: +"Output aspect ratio."
    • addedInput schema / properties / callback_url / description
      Added value: +"Webhook URL for terminal Task delivery."
    • addedInput schema / properties / output_resolution / description
      Added value: +"Output resolution."
    • addedInput schema / properties / prompt / description
      Added value: +"Video generation prompt."
    • addedInput schema / properties / prompt / maxLength
      Added value: +20000
  3. Changed11 schema fields changedv0.2.0
    • addedInput schema / properties / audio_ids
      Added value: +{
      +  "items": {},
      +  "type": "array"
      +}
    • addedInput schema / properties / callback_url
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / character_ids
      Added value: +{
      +  "items": {},
      +  "type": "array"
      +}
    • removedInput schema / properties / duration_seconds / enum
      Removed value: -[
      -  4,
      -  6,
      -  8,
      -  10
      -]
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "gemini-omni-text-to-video"
      -]New value: +[
      +  "gemini-omni-flash-preview",
      +  "gemini-omni-text-to-video"
      +]
    • addedInput schema / properties / prompt / type
      Added value: +"string"
    • addedInput schema / properties / reference_image_urls / items
      Added value: +{}
    • addedInput schema / properties / reference_image_urls / type
      Added value: +"array"
    • addedInput schema / properties / seed
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / video_list
      Added value: +{
      +  "items": {},
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "duration_seconds"
      -]New value: +[
      +  "prompt"
      +]
  4. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It reveals that a task is created and that the return includes a task id, status, and output URLs, hinting at asynchronous execution. However, it omits cost/quota implications, reference-unit consumption, the effect of the wait flag, and whether output URLs are durable, leaving partial transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single two-clause sentence that efficiently captures purpose, modality, and return contract with no filler. 'On RunAPI' and 'Returns a task id, status, and output URLs' both add value beyond the tool name and schema. It is short and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This tool has 16 parameters with intricate constraints (mutual exclusion of first-frame image, shared seven-unit reference limits, clip timing rules, webhooks, and polling), yet the description only covers a trivial text-to-video case. It also does not mention that the returned task id should be consumed by get_task. With no output schema and no annotations, this description is too thin for safe invocation of the tool's advanced modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description itself adds no parameter-level meaning. Schema description coverage is 88%, which sets the baseline at 3; the schema does the heavy lifting for parameters. The description does not compensate for the two undocumented parameters (timeout_ms, poll_interval_ms), but it does not need to given the high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Create'), resource ('Gemini Omni task on RunAPI'), and domain ('text to video'), which clearly distinguishes it from sibling tools like create_audio and create_character. The mention of RunAPI and Gemini Omni goes beyond the tool name, so the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance. The description only implies that this tool is for generating video from a text prompt and does not mention that get_task is the companion for polling or that create_character/create_audio are alternatives for other modalities. This is implied usage, not active routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.