Skip to main content
Glama
@runapi.ai/gemini-omni-mcp

@runapi.ai/gemini-omni-mcp

by runapi-ai

extend_video

Extends a completed Gemini Omni video generation or extension task by adding seconds from a continuation prompt, returning a task ID, status, and output URLs.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source_task_id": "<source_task_id>",
      "prompt": "<prompt>",
      "duration_seconds": "<duration_seconds>"
    },
    "name": "extend_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesContinuation prompt. Declared type: string.
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
source_task_idYesOwn completed 1.2 generation or extension Task, at most 15 seconds and 360p or 720p. Declared type: string.
duration_secondsYesAdditional seconds to generate and bill. Declared type: integer.
poll_interval_msNo
reference_image_urlsNoOptional reference images for the extension. Declared type: array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the async task pattern and the return shape (task id, status, output URLs), which is valuable, but it omits that duration_seconds is billed, that wait=true polls until terminal status, and what the source-task constraints mean for failures — significant gaps for a paid, long-running mutation.

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

Conciseness4/5

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

Two short sentences with the action front-loaded and no filler. The parenthetical qualifier is the only mildly awkward element, but nothing is wasted.

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?

For a 9-parameter, billing-affecting asynchronous tool with no annotations and no output schema, the description is too thin. It does not cover polling/blocking behavior, billing implications, or the relationship to sibling task tools, leaving an agent to infer how to drive the task lifecycle.

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?

Schema coverage is 78%, so the schema already documents most parameters, including a detailed source_task_id constraint note. The description adds no parameter-level meaning beyond the implicit link between 'extend video' and source_task_id, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb (Create) and resource (a Gemini Omni task on RunAPI) and parenthetically scopes it to video extension, which distinguishes it from the text_to_video sibling. It does not, however, explain that the extension is anchored to a prior task's output, so the 'extend' semantics remain slightly thin.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as text_to_video for fresh generations or get_task for retrieving results. The parenthetical '(extend video)' implies usage but never states prerequisites or exclusions.

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