Skip to main content
Glama

Generate Video

generate_video

Turn text prompts into realistic 4-8 second videos using Google Veo 3.1. Add a first-frame image, reference images, and audio for customized results.

Instructions

Generate videos using Google Veo 3.1 AI model. Creates realistic 4-8 second videos from text prompts with optional first-frame image and reference images for character/style consistency. Supports native audio generation. Processing time: 2-5 minutes for 1080p videos. Returns video file path with optional thumbnail and HTML preview player. ⚠️ IMPORTANT: Video generation is ASYNC and takes 2-5 minutes. The tool will poll for completion automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoOptional seed for deterministic output. Use the same seed with the same prompt for consistent results.
modelNoVideo generation model (default: veo-3.1-generate-preview)veo-3.1-generate-preview
promptYesDetailed description of the video to generate. Be specific about actions, camera movements, lighting, and style. Example: "A close-up shot of a futuristic coffee machine brewing a glowing blue espresso, with steam rising dramatically. Cinematic lighting, 4K quality."
outputPathNoOptional custom output path for the video file (e.g., C:/videos/output.mp4). If not provided, saves to default output directory with timestamped filename.
resolutionNoVideo resolution. Higher resolutions take longer to generate and result in larger files.1080p
aspectRatioNoVideo aspect ratio: 16:9 (landscape) or 9:16 (portrait/vertical)16:9
sampleCountNoNumber of video samples to generate (1-4). Each sample is a separate generation.
generateAudioNoGenerate native synchronized audio effects and dialogue based on the prompt
durationSecondsNoVideo duration in seconds — 4, 6, or 8. Other values in range are rounded to the nearest of those.
firstFrameImageNoStarting frame image for image-to-video generation. Provide via filePath (local file) or data+mimeType (base64). The video will animate from this image. Supports JPEG, PNG, WebP.
referenceImagesNoUp to 3 reference images for character/style consistency. Each needs a referenceType ("asset" or "style") and an image.
generateThumbnailNoExtract thumbnail from video (requires ffmpeg installed). Thumbnail is saved alongside video.
generateHTMLPlayerNoGenerate interactive HTML video player with preview and download options
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the async nature, processing time, and that it polls automatically, as well as dependencies like ffmpeg for thumbnails. It also implies mutations (creating files) but without explicit warnings, but this is covered by the nature of generation. It adds value beyond the schema by explaining behavior like automatic polling.

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?

The description is relatively compact for a complex tool, with key information front-loaded (model, duration, inputs, audio), followed by a warning about async processing. It uses bullet points effectively. It could be more concise, but for the complexity it is well-structured and not verbose.

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 the high schema coverage and descriptive schema (nested objects, enums, bounds), the description completes the picture by explaining output artifacts (file path, thumbnail, HTML player) and processing time. It does not explain return structure, but there's no output schema, and the description hints at what is returned. For a generation tool with no output schema, this is adequate.

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?

The schema already has 100% coverage with detailed descriptions for each parameter, including example prompts, resolution trade-offs, and image input alternatives. The description reinforces the overall purpose but does not add additional parameter-level semantics beyond what's in the schema. Since coverage is high, a baseline of 3 is appropriate, but the description's mention of output paths and thumbnail/HTML player adds slight context, hence a 4.

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 clearly states that it generates videos using Google Veo 3.1, with specific details on duration, input types (text prompt, first-frame image, reference images), audio generation, and output artifacts (video file, thumbnail, HTML player). It distinguishes it from sibling image tools by emphasizing video generation and asynchronous processing.

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 explains key usage context: asynchronous with 2-5 minute processing time, automatic polling, and supports optional inputs like first-frame and reference images. It does not explicitly mention when NOT to use it or alternatives, but the context is clear enough for an agent to decide, especially with sibling tools like generate_image.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/houtini-ai/gemini-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server