SuperAPIAI Directory

genrelay-mcp

github.com · AI developer platforms

genrelay-mcp is an MCP server for video and image generation that lets MCP clients such as Claude Desktop and Cursor call a variety of generation models through the GenRelay API, including Veo 3.1, Grok Imagine, Omni Flash, Nano Banana Pro/2, and GPT Image 2. It starts via npx with no additional installation; once the client is configured and GENRELAY_API_KEY is set, images or videos can be generated in conversation. Video generation takes a long time, so the tool first returns a job ID and you need to query the result with check_job, avoiding duplicate submissions that incur a second charge. Images can usually be returned directly within the call timeout. The project also provides Python and JavaScript/TypeScript SDKs, and the chat and image editing interfaces are compatible with the OpenAI format.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

genrelay-mcp is an MCP (Model Context Protocol) server for generating videos and images in MCP-capable clients. It connects GenRelay's generation capabilities to Claude Desktop, Cursor, or other MCP clients, letting users initiate image or video generation requests directly in a conversational environment.

Purpose and model support The server provides unified access to multiple generation models: on the video side, Veo 3.1, Grok Imagine, and Omni Flash; on the image side, Nano Banana Pro, Nano Banana 2, and GPT Image 2. Users do not need to integrate with each model provider separately; they can call them all through the same MCP server.

How to use The project documentation states that no installation is required; npx lets the MCP client start the server. Claude Desktop is configured via claude_desktop_config.json, and Cursor via .cursor/mcp.json; the client must be restarted after changing the configuration. Before use, you need to register at genrelay.ai and create an API Key, then set it as the environment variable GENRELAY_API_KEY. Any MCP client that can start a stdio server with npx -y genrelay-mcp can use it.

Main capabilities and call characteristics Video generation usually takes 1 to 5 minutes, exceeding the allowed duration of a single MCP tool call. Therefore generate_video waits within a safe time limit and then returns a job ID; this is a normal result, not a failure, and the job continues running on the server. You should use check_job to query progress and not resubmit, because duplicate submissions are billed again. Image generation usually completes within the time limit and returns the result directly.

Resolution and billing Images offer 1k, 2k, and 4k tiers, and Veo videos offer 720p, 1080p, and 4k tiers. Billing differs by tier; if the size does not match any tier, it falls back to the model's base rate, so you should explicitly set the tier when cost-sensitive. Billing is via prepaid USD credits, pay-as-you-go.

SDK and compatibility The project provides a Python SDK (pip install genrelay) and a JavaScript/TypeScript SDK (npm install genrelay). The chat and image editing interfaces are compatible with the OpenAI format, and the official openai package can be pointed at https://genrelay.ai/v1 for use. The project has been published on npm and the official MCP Registry under the identifier io.github.gaoruitech/genrelay-mcp.

Use cases and limitations It is suitable for users who already work in Claude Desktop or Cursor and want to generate images and videos directly via MCP. Note: video jobs are asynchronous and must be queried by job ID; duplicate submissions incur extra charges; a GenRelay account and API Key are required before use; specific prices and quotas are subject to the official pricing page, as the material does not provide a detailed price list.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools