Generate and edit images and video via OpenRouter or any OpenAI-compatible API.
Generate and edit images and video via OpenRouter or any OpenAI-compatible API. That is what the mediamcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
(Gemini Flash Image, GPT-5 Image, Seedream, Veo, Sora, …) через OpenRouter или любой OpenAI-совместимый API.
The server publishes 14 tools. What each one is for:
generate_image — Текст → изображение (одно или несколько). Сохраняет на диск, возвращает путь и встроенное превью. Поддерживает count (до 4 вариаций), aspect_ratio иedit_image — Существующее изображение (одно или несколько) + инструкция → отредактированное изображение. Принимает пути к файлам, https://- и data:-URL; несколькоgenerate_video — Текст → видео или картинка → видео (асинхронная задача, обычно 1–5 минут). Передайте first_frame_image, чтобы оживить существующую картинкуcheck_video_status — Возобновляет ожидание видеозадачи по polling_url / id; по готовности скачивает результатlist_models — Выводит слаги и цены моделей с поддержкой изображений/видео — агент сможет сам подобрать модельcheck_config — Диагностика: наличие и валидность ключа, эндпоинт, значения по умолчанию, возможность записи в каталог вывода. Если что-то не работает — запускайтеOPENROUTER_API_KEY — —MEDIAMCP_API_KEY — —MEDIAMCP_BASE_URL — https://openrouter.ai/api/v1MEDIAMCP_MODEL — google/gemini-2.5-flash-imageMEDIAMCP_VIDEO_MODEL — google/veo-3.1MEDIAMCP_OUTPUT_DIR — ~/Pictures/mediamcpConfiguration is passed through the environment: OPENROUTER_API_KEY, MEDIAMCP_BASE_URL, MEDIAMCP_API_KEY, MEDIAMCP_MODEL, YOUR_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
The server ships on npm as mediamcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mediamcp's toolset — generate_image, edit_image, generate_video and 11 more — is a fair guide to whether it matches your workflow. It is maintained by legolev; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Mediamcp's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| generate_image | Текст → изображение (одно или несколько). Сохраняет на диск, возвращает путь и встроенное превью. Поддерживает count (до 4 вариаций), aspect_ratio и переопределение model. |
| edit_image | Существующее изображение (одно или несколько) + инструкция → отредактированное изображение. Принимает пути к файлам, https://- и data:-URL; несколько источников — для объединения изображений в одну композицию. |
| generate_video | Текст → видео **или картинка → видео** (асинхронная задача, обычно 1–5 минут). Передайте first_frame_image, чтобы оживить существующую картинку (image-to-video), last_frame_image — для финального кадра, или reference_ima |
| check_video_status | Возобновляет ожидание видеозадачи по polling_url / id; по готовности скачивает результат. |
| list_models | Выводит слаги и цены моделей с поддержкой изображений/видео — агент сможет сам подобрать модель. |
| check_config | Диагностика: наличие и валидность ключа, эндпоинт, значения по умолчанию, возможность записи в каталог вывода. Если что-то не работает — запускайте его первым. |
| OPENROUTER_API_KEY | — |
| MEDIAMCP_API_KEY | — |
| MEDIAMCP_BASE_URL | https://openrouter.ai/api/v1 |
| MEDIAMCP_MODEL | google/gemini-2.5-flash-image |
| MEDIAMCP_VIDEO_MODEL | google/veo-3.1 |
| MEDIAMCP_OUTPUT_DIR | ~/Pictures/mediamcp |
| MEDIAMCP_TIMEOUT_MS | 120000 |
| MEDIAMCP_PREVIEW | true |
{
"mcpServers": {
"mediamcp": {
"command": "npx",
"args": ["-y", "mediamcp"],
"env": {
"OPENROUTER_API_KEY": "your-value",
"MEDIAMCP_BASE_URL": "your-value",
"MEDIAMCP_API_KEY": "your-value",
"MEDIAMCP_MODEL": "your-value",
"YOUR_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| OPENROUTER_API_KEY | Credential the server authenticates with. | Yes |
| MEDIAMCP_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| MEDIAMCP_API_KEY | Credential the server authenticates with. | Yes |
| MEDIAMCP_MODEL | Configuration value read at startup. | Optional |
| YOUR_KEY | Credential the server authenticates with. | Yes |
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Give your assistant a voice — text-to-speech, voice cloning and audio tools from the ElevenLabs API.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
The ML hub in your context window — search models, datasets, papers and run Spaces from the official server.