mcpField
V
VEO 3.1

VEO 3.1

Local
github.com/u2n4Media & Design3Updated 28w ago

About VEO 3.1

VEO 3.1 is an MCP server for video generation with Google VEO 3.1, supporting text-to-video, image animation, frame interpolation, and video extension. Asynchronous jobs, key rotation, and download fallbacks support the generation process.

Key features

  1. 01Generate video from text
  2. 02Image-to-video and frame interpolation
  3. 03Extend generated videos
  4. 04Check asynchronous job status
  5. 05Rotate API keys after 429 errors
  6. 06Use multi-layer download fallbacks

Use cases

  1. 01Create videos from text prompts
  2. 02Animate a still reference image
  3. 03Generate a smooth transition between frames
  4. 04Track long-running generation jobs

MCP support

The server exposes video generation, image-to-video, frame interpolation, video extension, and job-status tools to MCP clients. Generation runs asynchronously and returns a job ID.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"u2n4-veo": {
"command": "uvx",
"args": [
"veo-mcp-server"
]
}
}
}
Run commanduvx veo-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiveo-mcp-server1.1.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

VEO 3.1 MCP Server

Professional-grade MCP server for Google VEO 3.1 video generation with async job pattern, API key rotation, and multi-fallback download.

Quick Install

pip install veo-mcp-server
# or
uvx veo-mcp-server --help

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "veo": {
      "command": "uvx",
      "args": ["veo-mcp-server"],
      "env": {
        "GEMINI_API_KEY": "your_key_here"
      }
    }
  }
}
VariableDescriptionDefault
GEMINI_API_KEYGemini API key — required for all generation--
GEMINI_API_KEY_BACKUPBackup key for automatic rotation on 429--
VIDEO_OUTPUT_DIRDirectory where generated videos are saved~/veo-videos

What It Does

Generates AI videos using Google's VEO 3.1 model. Supports text-to-video, image-to-video, video extension, and frame interpolation. Uses an async job pattern where generation starts immediately in the background and returns a job ID for polling.

Tools (9)

ToolDescription
veo_generate_videoGenerate video from a text prompt. Supports resolution (720p/1080p/4K), aspect ratio (16:9/9:16), duration (4/6/8s), negative prompts, reference images, seed control, and batch generation (1-4 videos).
veo_image_to_videoAnimate a reference image with a text prompt. Supports resolution, aspect ratio, reference images, and seed control.
veo_interpolate_videoCreate a smooth video transition between a first frame and a last frame image.
veo_extend_videoExtend an existing VEO-generated video by ~7 seconds. 720p only, max 148 seconds total. Source must be from a previous VEO generation (tracks provenance server-side).
veo_check_jobCheck the status of an async video generation job. Call repeatedly until status is 'completed' or 'failed'.
veo_list_jobsList all video generation jobs and their current status.
veo_api_statusShow current API key rotation status — keys configured, active key, keys remaining.
veo_pricing_infoShow VEO 3.1 pricing per second of generated video for both standard and fast models at all resolutions.
veo_show_output_statsDisplay statistics about generated videos and active/recent jobs.

Configuration

VariableDescriptionDefault
GEMINI_API_KEYPrimary Gemini API key (required)--
GEMINI_API_KEY_BACKUPBackup key for automatic rotation on 429--
VIDEO_OUTPUT_DIRDirectory where generated videos are saved~/veo-videos

Architecture

  • Async Job Pattern: All generation tools return a job ID instantly. Background threads handle the long-running Google API calls, so each MCP call returns in under 5 seconds.
  • API Key Rotation: On 429/RESOURCE_EXHAUSTED, automatically switches to the backup key and retries.
  • 3-Layer Download Fallback: SDK download -> URI fallback -> Wait-for-ACTIVE state. Handles Google's Files API edge cases.
  • Preventive Cleanup: Deletes stuck PROCESSING files before each generation to prevent cascading 500 errors.

Models

TierModel IDUse Case
Standardveo-3.1-generate-previewHigher quality output
Fastveo-3.1-fast-generate-previewQuicker generation

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.