MCP server for video & image generation — use Veo 3.1, Grok Imagine and Nano Banana from Claude Desktop and Cursor
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add genrelay-mcp -- npx -y genrelay-mcp{
"mcpServers": {
"genrelay-mcp": {
"command": "npx",
"args": ["-y", "genrelay-mcp"]
}
}
}MCP Servers overview
# genrelay-mcp
[](https://www.npmjs.com/package/genrelay-mcp) [](LICENSE)
MCP server for [GenRelay](https://genrelay.ai/?utm_source=github&utm_medium=readme&utm_campaign=genrelay-mcp) — generate **video and images** from Claude Desktop, Cursor, or any MCP client.
One server, several models: **Veo 3.1**, **Grok Imagine**, **Omni Flash**, **Nano Banana Pro/2**, **GPT Image 2**.

## Install
Nothing to install — point your MCP client at it with `npx`.
**Claude Desktop** — `claude_desktop_config.json`:
```json
{
"mcpServers": {
"genrelay": {
"command": "npx",
"args": ["-y", "genrelay-mcp"],
"env": { "GENRELAY_API_KEY": "sk-..." }
}
}
}
```
**Cursor** — `.cursor/mcp.json`:
```json
{
"mcpServers": {
"genrelay": {
"command": "npx",
"args": ["-y", "genrelay-mcp"],
"env": { "GENRELAY_API_KEY": "sk-..." }
}
}
}
```
Get a key at [genrelay.ai](https://genrelay.ai/?utm_source=github&utm_medium=readme&utm_campaign=genrelay-mcp). Restart the client after editing the config.
## Tools
| Tool | What it does |
|---|---|
| `generate_video` | Text-to-video and image-to-video. Returns the clip, or a task id if it's still running |
| `generate_image` | Image generation and editing. Returns the picture **inline** |
| `check_job` | Pick up a job by task id |
| `list_models` | What's available and what each model is for |
Then just ask:
> Generate an 8-second video of a neon fox running through a rainy city at night, 1080p
## About the wait
Video generation takes **1–5 minutes** — longer than an MCP tool call is allowed to run. So `generate_video` waits as long as it safely can, then hands back a task id:
```
Still generating — this is normal for video.
task id: task_abc123
status: in_progress
progress: 35%
Call check_job with task id "task_abc123" in a minute or two.
```
That's a normal outcome, not a failure. The job keeps running server-side — **use `check_job`, don't resubmit** (resubmitting bills a second time).
Images usually finish inside the budget and come back inline.
## Models
**Video**
| Model | Notes |
|---|---|
| `veo_3_1` | Google Veo 3.1 — highest quality, with audio |
| `veo_3_1-fl` | first/last frame — supply both endpoints |
| `veo_3_1-components` | component-guided |
| `grok-imagine-video-1-5-preview` | xAI Grok Imagine 1.5 |
| `grok-imagine-1-0-video` | xAI Grok Imagine 1.0 |
| `omni-flash` | fast, good for longer clips |
| `omni_flash_abra_edit` | video editing from a source video |
**Image** — `nano-banana-pro`, `nano-banana-2`, `gpt-image-2`
Tiers: images `1k`/`2k`/`4k`, Veo video `720p`/`1080p`/`4k`. **Pricing is per tier**, and a `size` matching no tier falls back to the model's base rate — so set `tier` explicitly when cost matters.
## Configuration
| Variable | |
|---|---|
| `GENRELAY_API_KEY` | required |
| `GENRELAY_BASE_URL` | optional, defaults to `https://genrelay.ai/v1` |
## Also available
- **Python SDK** — [`pip install genrelay`](https://pypi.org/project/genrelay/)
- **JavaScript/TypeScript SDK** — [`npm install genrelay`](https://www.npmjs.com/package/genrelay)
- **Chat & image edits** are OpenAI-compatible: point the official `openai` package at `https://genrelay.ai/v1`
## Development
```bash
npm install
npm run build
node test/smoke.mjs # boots the server and speaks MCP to it
```
## FAQ
**What is genrelay-mcp?** An MCP server that lets Claude Desktop, Cursor and other MCP clients generate video and images through the GenRelay API.
**Which clients work?** Any MCP client that can launch a stdio server with `npx -y genrelay-mcp`, including Claude Desktop and Cursor.
**How do I get an API key?** Sign up at [genrelay.ai](https://genrelay.ai/?utm_source=github&utm_medium=readme&utm_campaign=genrelay-mcp) and create a key in the console. Set it as `GENRELAY_API_KEY`.
**How is it billed?** Prepaid credits in USD, pay as you go. See [Pricing](https://genrelay.ai/pricing?utm_source=github&utm_medium=readme&utm_campaign=genrelay-mcp).
**A video is still running. Do I resubmit?** No. Use `check_job` with the task id. Resubmitting is billed again.
**Where is it listed?** [npm](https://www.npmjs.com/package/genrelay-mcp) and the official MCP Registry as `io.github.gaoruitech/genrelay-mcp`.
## License
MIT
What people ask about genrelay-mcp
What is gaoruitech/genrelay-mcp?
+
gaoruitech/genrelay-mcp is mcp servers for the Claude AI ecosystem. MCP server for video & image generation — use Veo 3.1, Grok Imagine and Nano Banana from Claude Desktop and Cursor It has 0 GitHub stars and its last recorded update is dated 2026-10-13.
How do I install genrelay-mcp?
+
You can install genrelay-mcp by cloning the repository (https://github.com/gaoruitech/genrelay-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is gaoruitech/genrelay-mcp safe to use?
+
Our security agent has analyzed gaoruitech/genrelay-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains gaoruitech/genrelay-mcp?
+
gaoruitech/genrelay-mcp is maintained by gaoruitech. The last recorded GitHub activity is dated 2026-10-13, with 0 open issues.
Are there alternatives to genrelay-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy genrelay-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/gaoruitech-genrelay-mcp)<a href="https://claudewave.com/repo/gaoruitech-genrelay-mcp"><img src="https://claudewave.com/api/badge/gaoruitech-genrelay-mcp" alt="Featured on ClaudeWave: gaoruitech/genrelay-mcp" width="320" height="64" /></a>More MCP Servers
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev