Skip to main content
Glama

Generate video (Veo, like Google Flow)

flow_generate_video

Generate short Veo video clips from text prompts, start/end frames, or up to three reference images for consistent characters, with cinematic control over camera, lens, lighting, and audio.

Instructions

Create a short video clip with Veo (the model behind Google Flow). Modes: text-to-video (prompt only); frames-to-video (startImage, optional endImage); ingredients-to-video (referenceImages for consistent characters/objects/style). Write a cinematic prompt: subject, action, setting, camera move, lens, lighting, style, and any dialogue in quotes plus sound effects/ambience. Images can be asset ids (from flow_list_assets / flow_generate_image) or local file paths. Rendering takes 1-6 minutes; by default the tool waits. If it returns status=pending, call flow_check_operation later. Files are saved locally and the result includes their paths.

Input Schema

NameRequiredDescriptionDefault
fastNoUse the cheaper/faster model (FLOW_VIDEO_FAST_MODEL).
seedNoVertex AI only; ignored on the Gemini API.
waitNoWait for the render (default true). false returns an operationName immediately.
modelNoOverride model id, e.g. veo-3.1-generate-preview.
promptNoDetailed description of the shot. Required unless startImage is given.
endImageNoLast frame: asset id or local image path (needs startImage).
resolutionNoOutput resolution. Not every model supports every value.
startImageNoFirst frame: asset id or local image path.
aspectRatioNo16:9 landscape (default) or 9:16 vertical.
generateAudioNoVertex AI only. Leave unset on the Gemini API: Veo 3.x there always generates audio, so describe sounds in the prompt.
negativePromptNoWhat to avoid, e.g. 'text overlays, blurry, cartoon'.
numberOfVideosNo
timeoutSecondsNoMax seconds to wait (default 540).
durationSecondsNoClip length in seconds (Veo 3.1: 4, 6 or 8).
referenceImagesNoUp to 3 'ingredient' images (asset ids or paths).
personGenerationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: 1-6 minute render latency, default blocking behavior via wait, the pending/operationName fallback path, and that files are written locally with their paths returned. It also flags that image arguments accept either asset ids or local file paths, which is non-obvious side-effect-adjacent context.

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?

Purpose is front-loaded and every sentence adds information; the prompt-writing and latency sentences both earn their place. It is a single dense block rather than structured sections, so the mode list and the async-fallback instruction take a careful read to separate.

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?

Covers the things an agent cannot infer: render time, blocking vs non-blocking, where output files land, and the pending-operation handoff. For a 16-parameter, no-annotation, no-output-schema tool it omits cost implications and safety-relevant behavior (personGeneration, content restrictions), which the agent must infer from the schema.

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

Parameters4/5

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

Schema coverage is already 88%, so the 3 baseline applies, but the description adds genuine value by tying startImage/endImage/referenceImages to named modes and by spelling out what a good 'prompt' should contain (subject, action, camera move, lens, lighting, dialogue in quotes, SFX). It leaves several params (numberOfVideos, resolution, aspectRatio, negativePrompt, personGeneration, fast, seed) entirely to the schema.

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 and resource ('Create a short video clip with Veo') and immediately enumerates the three generation modes, which cleanly separates it from flow_generate_image (stills) and flow_extend_video (extending an existing clip). The scope constraint 'short video clip' plus the duration bounds makes the intent unambiguous.

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

Usage Guidelines5/5

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

Explicitly maps each mode to its required inputs ('text-to-video (prompt only)', 'frames-to-video (startImage, optional endImage)', 'ingredients-to-video (referenceImages...)'), states the prompt-unless-startImage condition, and routes the agent to flow_check_operation when status=pending. It even points at flow_list_assets / flow_generate_image as the source of image ids.

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