Skip to main content
Glama

aistudio_generate_video

Start a video generation job from a text prompt, optional first frame, aspect ratio, and duration; returns a job ID immediately so you can poll progress while clips render.

Instructions

Start a video generation job in Google AI Studio (Veo / Gemini Omni).

Returns a job_id immediately because video clips take 1-5 minutes; poll with aistudio_check_job.

Args: prompt: Scene, motion, camera, lighting, and audio prompt. aspect_ratio: '16:9' or '9:16'. Default '16:9'. first_frame: Optional local starting frame image path. duration: Video duration in seconds (default 8). model: Optional model name (API mode default: 'gemini-omni-1.2-flash'). output_path: Optional local MP4 output path. use_browser: True (default) drives AI Studio Video in Chrome; False uses Gemini API.

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": {
      "prompt": "<prompt>"
    },
    "name": "aistudio_generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
promptYes
durationNo
first_frameNo
output_pathNo
use_browserNo
aspect_ratioNo16:9

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description still clarifies important behavior: the tool returns a job_id immediately, work is asynchronous, and use_browser toggles between driving Chrome and calling the Gemini API, with different default models per mode. It does not mention authentication or login prerequisites (aistudio_browser_login is a sibling), rate limits, or what happens when a job fails, so a mutation and long-running operation is under-disclosed on the failure side.

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?

The first sentence gives the core outcome, the second the async contract, then a compact Args block. Zero filler, and the most decision-relevant facts (what it does, job_id, polling) are front-loaded before the parameter list.

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

Completeness4/5

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

Given 7 parameters and an output schema, the definition covers the async lifecycle, all parameters, and mode selection, so it is nearly complete. The remaining gaps are error and failure behavior and the login prerequisite for browser mode, which matter for a long-running generation job but are not mentioned.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates: every one of the 7 parameters gets meaning beyond its title, including the allowed aspect_ratio values, the semantic intent of the prompt (scene, motion, camera, lighting, audio), duration in seconds, local-file semantics for first_frame and output_path, and the mode-dependent default model.

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?

The description uses a clear verb and resource: "Start a video generation job in Google AI Studio (Veo / Gemini Omni)." This distinguishes it from aistudio_generate_image and aistudio_generate_music by naming the exact job type, and it names aistudio_check_job as the follow-up, so an agent can tell the two tools apart without reading either schema.

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

Usage Guidelines4/5

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

It states exactly when to use this tool (starting a job) and what to do next ("poll with `aistudio_check_job`"), and it explains why returns are asynchronous (1-5 minute clips). It does not say when not to use this tool, nor does it point to aistudio_generate_image when the user really wants a still, so the guidance is clear but not exclusionary.

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