VeoMCP
VeoMCP
一个用于 AI 视频生成的 Model Context Protocol (MCP) 服务器,通过 AceDataCloud API 使用 Veo。
直接从 Claude、VS Code 或任何兼容 MCP 的客户端,根据文本提示词或图像生成 AI 视频。
功能特性
文生视频 - 根据文本描述创建 AI 生成的视频
图生视频 - 为图像添加动画或创建图像间的过渡效果
多图融合 - 融合来自多张图像的元素
1080p 超分 - 获取生成视频的高分辨率版本
任务追踪 - 监控生成进度并获取结果
多种模型 - 在多种 Veo 模型中选择质量与速度的平衡
Related MCP server: Veo 3.1 MCP Server
工具参考
工具 | 描述 |
| 使用 Veo 根据文本提示词生成 AI 视频。 |
| 使用 Veo 根据一张或多张参考图像生成 AI 视频。 |
| 获取生成视频的 1080p 高分辨率版本。 |
| 查询视频生成任务的状态和结果。 |
| 同时查询多个视频生成任务。 |
| 列出所有可用的 Veo 模型及其功能。 |
| 列出所有可用的 Veo API 操作及对应的工具。 |
| 获取关于编写高效 Veo 视频生成提示词的指南。 |
快速入门
1. 获取您的 API Token
在 AceDataCloud 平台 注册
前往 API 文档页面
点击 "Acquire" 获取您的 API token
复制该 token 以供下方使用
2. 使用托管服务器(推荐)
AceDataCloud 托管了一个受管理的 MCP 服务器 —— 无需本地安装。
端点: https://veo.mcp.acedata.cloud/mcp
所有请求都需要 Bearer token。请使用第 1 步中获取的 API token。
Claude.ai
通过 OAuth 直接在 Claude.ai 上连接 —— 无需 API token:
前往 Claude.ai 设置 → 集成 → 添加更多
输入服务器 URL:
https://veo.mcp.acedata.cloud/mcp完成 OAuth 登录流程
开始在对话中使用这些工具
Claude Desktop
添加到您的配置文件(macOS 上为 ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
添加到您的 MCP 配置文件(.cursor/mcp.json 或 .windsurf/mcp.json):
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
添加到您的 VS Code MCP 配置文件(.vscode/mcp.json):
{
"servers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}或者为 VS Code 安装 Ace Data Cloud MCP 扩展,该扩展集成了所有 15 个 MCP 服务器,支持一键设置。
JetBrains IDEs
前往 设置 → 工具 → AI Assistant → Model Context Protocol (MCP)
点击 添加 → HTTP
粘贴:
{
"mcpServers": {
"veo": {
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude Code 原生支持 MCP 服务器:
claude mcp add veo --transport http https://veo.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"或者添加到项目的 .mcp.json 中:
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
添加到 Cline 的 MCP 设置(.cline/mcp_settings.json):
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Amazon Q Developer
添加到您的 MCP 配置中:
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
添加到 Roo Code 的 MCP 设置中:
{
"mcpServers": {
"veo": {
"type": "streamable-http",
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
添加到 .continue/config.yaml:
mcpServers:
- name: veo
type: streamable-http
url: https://veo.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
添加到 Zed 的设置(~/.config/zed/settings.json):
{
"language_models": {
"mcp_servers": {
"veo": {
"url": "https://veo.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}cURL 测试
# Health check (no auth required)
curl https://veo.mcp.acedata.cloud/health
# MCP initialize
curl -X POST https://veo.mcp.acedata.cloud/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'3. 或者本地运行(替代方案)
如果您更喜欢在自己的机器上运行服务器:
# Install from PyPI
pip install mcp-veo
# or
uvx mcp-veo
# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"
# Run (stdio mode for Claude Desktop / local clients)
mcp-veo
# Run (HTTP mode for remote access)
mcp-veo --transport http --port 8000Claude Desktop (本地)
{
"mcpServers": {
"veo": {
"command": "uvx",
"args": ["mcp-veo"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (自托管)
docker pull ghcr.io/acedatacloud/mcp-veo:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-veo:latest客户端使用各自的 Bearer token 进行连接 —— 服务器会从每个请求的 Authorization 头中提取 token。
可用工具
视频生成
工具 | 描述 |
| 根据文本提示词生成视频 |
| 根据参考图像生成视频 |
| 获取 1080p 高分辨率版本 |
任务
工具 | 描述 |
| 查询单个任务状态 |
| 同时查询多个任务 |
信息
工具 | 描述 |
| 列出可用的 Veo 模型 |
| 列出可用的 API 操作 |
| 获取视频提示词编写指南 |
使用示例
根据文本生成视频
User: Create a video of a sunset over the ocean
Claude: I'll generate a sunset video for you.
[Calls veo_text_to_video with prompt="Cinematic shot of a golden sunset over the ocean, waves gently rolling, warm colors reflecting on the water"]为图像添加动画
User: Animate this product image to make it rotate slowly
Claude: I'll create a video from your image.
[Calls veo_image_to_video with image_urls=["product_image.jpg"], prompt="Product slowly rotates 360 degrees, studio lighting"]创建图像过渡效果
User: Create a video that transitions between these two landscape photos
Claude: I'll create a transition video between your images.
[Calls veo_image_to_video with image_urls=["img1.jpg", "img2.jpg"], prompt="Smooth cinematic transition between scenes"]可用模型
模型 | 文生视频 | 图生视频 | 图像输入 |
| ✅ | ✅ | 1 张图像(第一帧) |
| ✅ | ✅ | 1 张图像(第一帧) |
| ✅ | ✅ | 1-3 张图像 |
| ✅ | ✅ | 1-3 张图像 |
| ✅ | ✅ | 1-3 张图像 |
| ✅ | ✅ | 1-3 张图像 |
| ❌ | ✅ | 1-3 张图像(融合) |
宽高比:
16:9- 横屏/宽屏(默认)9:16- 竖屏(社交媒体)4:3- 标准3:4- 标准竖屏1:1- 正方形
配置
环境变量
变量 | 描述 | 默认值 |
| 来自 AceDataCloud 的 API token | 必填 |
| API 基础 URL |
|
| OAuth 客户端 ID(托管模式) | — |
| 平台基础 URL |
|
| 生成默认模型 |
|
| 请求超时时间(秒) |
|
| 日志级别 |
|
命令行选项
mcp-veo --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)开发
设置开发环境
# Clone repository
git clone https://github.com/AceDataCloud/VeoMCP.git
cd VeoMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"运行测试
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integration代码质量
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core tools构建与发布
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*项目结构
VeoMCP/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for Veo API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ ├── server.py # MCP server initialization
│ ├── types.py # Type definitions
│ └── utils.py # Utility functions
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── video_tools.py # Video generation tools
│ ├── info_tools.py # Information tools
│ └── task_tools.py # Task query tools
├── prompts/ # MCP prompts
│ └── __init__.py
├── tests/ # Test suite
│ ├── conftest.py
│ ├── test_client.py
│ ├── test_config.py
│ ├── test_integration.py
│ └── test_utils.py
├── deploy/ # Deployment configs
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .env.example # Environment template
├── .gitignore
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdAPI 参考
此服务器封装了 AceDataCloud Veo API:
Veo Videos API - 视频生成
Veo Tasks API - 任务查询
贡献
欢迎贡献代码!请:
Fork 本仓库
创建功能分支 (
git checkout -b feature/amazing)提交更改 (
git commit -m 'Add amazing feature')推送到分支 (
git push origin feature/amazing)开启 Pull Request
许可证
MIT 许可证 - 详情请参阅 LICENSE。
链接
由 AceDataCloud 用心制作
Available Tools
8 toolsveo_get_1080pAInspect
Get the 1080p high-resolution version of a generated video.
By default, Veo generates videos at a lower resolution for faster processing.
Use this tool to get the full 1080p version of a completed video.
Use this when:
- You need a higher resolution version for production use
- The initial video generation is complete and you want to upscale
- You need a clearer, more detailed video output
Note: The video must be in 'succeeded' state before requesting 1080p version.
Returns:
Task ID and the 1080p video information including the new video URL.
Inputs: video_id (required), model, callback_url. Returns: result
veo_get_prompt_guideAInspect
Get guidance on writing effective prompts for Veo video generation.
Shows how to structure prompts for best video generation results.
Following these tips helps Veo understand your vision and generate
more accurate and higher quality videos.
Returns:
Complete guide with prompt structure, examples, and tips.
Inputs: no named parameters. Returns: result
veo_get_taskAInspect
Query the status and result of a video generation task.
Use this to check if a generation is complete and retrieve the resulting
video URLs and metadata.
Use this when:
- You want to check if a generation has completed
- You need to retrieve video URLs from a previous generation
- You want to get the full details of a generated video
Task states:
- 'processing': Generation is still in progress
- 'succeeded': Generation finished successfully
- 'failed': Generation failed (check error message)
Returns:
Task status and generated video information including URLs and state.
Inputs: task_id, trace_id. Returns: result
veo_get_tasks_batchAInspect
Query multiple video generation tasks at once.
Efficiently check the status of multiple tasks in a single request.
More efficient than calling veo_get_task multiple times.
Use this when:
- You have multiple pending generations to check
- You want to get status of several videos at once
- You're tracking a batch of generations
Returns:
Status and video information for all queried tasks.
Inputs: type, limit, offset, task_ids, +3 more. Returns: result
veo_image_to_videoAInspect
Generate AI video from one or more reference images using Veo.
This creates a video using your image(s) as reference frames. The video
will animate from/between your provided images according to the prompt.
Image modes:
- 1 image: First-frame mode - the video starts from your image
- 2-3 images: First-last frame mode - video interpolates between images
- veo31-fast-ingredients model: Multi-image fusion - blends elements from all images
Use this when:
- You have a specific image you want to animate
- You want consistent visual style from a reference
- You need to create a video transition between two images
For video generation from text only, use veo_text_to_video instead.
Returns:
Task ID and generated video information including URLs and state.
Inputs: prompt (required), image_urls (required), model, resolution, +3 more. Returns: result
veo_list_actionsAInspect
List all available Veo API actions and corresponding tools.
Reference guide for what each action does and which tool to use.
Helpful for understanding the full capabilities of the Veo MCP.
Returns:
Categorized list of all actions and their corresponding tools.
Inputs: no named parameters. Returns: result
veo_list_modelsAInspect
List all available Veo models and their capabilities.
Shows all available model versions with their features, supported actions,
and image input rules. Use this to understand which model to choose
for your video generation.
Model comparison:
- veo3/veo3-fast: Improved quality, 1-3 images supported
- veo31/veo31-fast: Latest models, 1-3 images supported
- veo31-fast-ingredients: Multi-image fusion mode (ingredients2video action)
Returns:
Table of all models with their capabilities and image rules.
Inputs: no named parameters. Returns: result
veo_text_to_videoAInspect
Generate AI video from a text prompt using Veo.
This creates a video from scratch based on your text description. Veo
will interpret your prompt and generate a matching video clip.
Use this when:
- You want to create a video from a text description
- You don't have a reference image to use
- You want maximum creative freedom for Veo
For video generation starting from an image, use veo_image_to_video instead.
Returns:
Task ID and generated video information including URLs and state.
Inputs: prompt (required), model, resolution, translation, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes (text-to-video, image-to-video, status checking), but veo_get_task and veo_get_tasks_batch overlap slightly in that both retrieve task status, just for different counts. Descriptions clarify the difference, so ambiguity is minimal.
All tools follow a consistent 'veo_<verb>_<noun>' pattern (e.g., veo_get_task, veo_list_models, veo_text_to_video). The verbs are descriptive and the pattern is uniform across all 8 tools.
With 8 tools, the server is well-scoped for a video generation MCP. Each tool addresses a core need: generation (text/image), task management (single/batch), model/prompt guidance, and resolution upgrade. No bloat or sparseness.
The tool set covers the core lifecycle: create (text/image), poll status (single/batch), and retrieve high-res output. A minor gap is no explicit cancellation or deletion tool for tasks, but that may not be critical for the domain.
Maintenance
Related MCP Connectors
Google Vids: Gemini Omni video, talking avatars from a photo or description, speech, extend, upscale
AI image, video, music and speech generation: text-to-video, image-to-video, effects and upscaling.
AI video, image, voiceover and music generation: Veo, Kling, Seedance, Nano Banana, GPT Image.
AI video, images, music & SFX: Seedance 2.5, Veo 3.1, Kling 3.0, Nano Banana Pro, 20+ models.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables video generation from text prompts or images using Google's Veo 3 API. Supports multiple models, audio generation, and various aspect ratios for creating high-quality videos.6,607 PyPI2MIT
- AlicenseAqualityDmaintenanceEnables high-quality AI video generation using Google's Veo 3.1 model for text-to-video, style-guided, and frame-interpolation tasks. It features token-efficient reference image handling, batch processing, and video extension capabilities with built-in cost estimation.62MIT
- AlicenseAqualityBmaintenanceOpenAI Sora AI video generation with text-to-video, image-to-video, character reuse across scenes, and async webhook callbacks.1046 PyPIMIT
- AlicenseNot gradedqualityBmaintenanceMCP server for 4K video generation using Google VEO 3.1 — text-to-video, image-to-video, video extension, and frame interpolation.4MIT