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

Score is being calculated.