impeccable
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Image and video generation across 40+ providers with your own keys, plus a local asset library.
Skills that teach the AI this kind of work; they work alongside this one
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
Create beautiful slides on the web using a coding agent's frontend skills
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 7/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 19/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install AI Media Router. Follow https://mcp.popnx.com/i/jutsuhq-ai-media-router.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a AI Media Router key (create it on the maker’s site) · Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server AI Media Router for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "ai-media-router": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "KIE_API_KEY", "-e", "FAL_KEY", "-e", "REPLICATE_API_TOKEN", "-e", "RUNWARE_API_KEY", "-e", "WAVESPEED_API_KEY", "ghcr.io/jutsuhq/ai-media-router:v0.1.0" ], "env": { "KIE_API_KEY": "your-value", "FAL_KEY": "your-value", "REPLICATE_API_TOKEN": "your-value", "RUNWARE_API_KEY": "your-value", "WAVESPEED_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AI Media Router tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"ai-media-router": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIE_API_KEY",
"-e",
"FAL_KEY",
"-e",
"REPLICATE_API_TOKEN",
"-e",
"RUNWARE_API_KEY",
"-e",
"WAVESPEED_API_KEY",
"ghcr.io/jutsuhq/ai-media-router:v0.1.0"
],
"env": {
"KIE_API_KEY": "your-value",
"FAL_KEY": "your-value",
"REPLICATE_API_TOKEN": "your-value",
"RUNWARE_API_KEY": "your-value",
"WAVESPEED_API_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use AI Media Router and tell me what you can do for me, then show me one thing✓ If Claude says it is using AI Media Router or shows a AI Media Router tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect AI Media Router yet
AI Media Router runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect AI Media Router
B · Others in Design, images & audio that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a AI Media Router key (create it on the maker’s site) · Install Docker on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server AI Media Router for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user ai-media-router --env KIE_API_KEY=your-value --env FAL_KEY=your-value --env REPLICATE_API_TOKEN=your-value --env RUNWARE_API_KEY=your-value --env WAVESPEED_API_KEY=your-value -- docker run -i --rm -e KIE_API_KEY -e FAL_KEY -e REPLICATE_API_TOKEN -e RUNWARE_API_KEY -e WAVESPEED_API_KEY ghcr.io/jutsuhq/ai-media-router:v0.1.0 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AI Media Router tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user ai-media-router --env KIE_API_KEY=your-value --env FAL_KEY=your-value --env REPLICATE_API_TOKEN=your-value --env RUNWARE_API_KEY=your-value --env WAVESPEED_API_KEY=your-value -- docker run -i --rm -e KIE_API_KEY -e FAL_KEY -e REPLICATE_API_TOKEN -e RUNWARE_API_KEY -e WAVESPEED_API_KEY ghcr.io/jutsuhq/ai-media-router:v0.1.0Replace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see AI Media Router listed as connected
Use AI Media Router and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using AI Media Router or shows a AI Media Router tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a AI Media Router key (create it on the maker’s site) · Install Docker on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server AI Media Router for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "ai-media-router": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "KIE_API_KEY", "-e", "FAL_KEY", "-e", "REPLICATE_API_TOKEN", "-e", "RUNWARE_API_KEY", "-e", "WAVESPEED_API_KEY", "ghcr.io/jutsuhq/ai-media-router:v0.1.0" ], "env": { "KIE_API_KEY": "your-value", "FAL_KEY": "your-value", "REPLICATE_API_TOKEN": "your-value", "RUNWARE_API_KEY": "your-value", "WAVESPEED_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AI Media Router tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the AI Media Router settings, KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use AI Media Router and tell me what you can do for me, then show me one thing✓ If Cursor says it is using AI Media Router or shows a AI Media Router tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a AI Media Router key (create it on the maker’s site) · Install Docker on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server AI Media Router for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "ai-media-router": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "KIE_API_KEY", "-e", "FAL_KEY", "-e", "REPLICATE_API_TOKEN", "-e", "RUNWARE_API_KEY", "-e", "WAVESPEED_API_KEY", "ghcr.io/jutsuhq/ai-media-router:v0.1.0" ], "env": { "KIE_API_KEY": "your-value", "FAL_KEY": "your-value", "REPLICATE_API_TOKEN": "your-value", "RUNWARE_API_KEY": "your-value", "WAVESPEED_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AI Media Router tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the AI Media Router settings, KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use AI Media Router and tell me what you can do for me, then show me one thing✓ If VS Code says it is using AI Media Router or shows a AI Media Router tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user ai-media-router --env KIE_API_KEY=your-value --env FAL_KEY=your-value --env REPLICATE_API_TOKEN=your-value --env RUNWARE_API_KEY=your-value --env WAVESPEED_API_KEY=your-value -- docker run -i --rm -e KIE_API_KEY -e FAL_KEY -e REPLICATE_API_TOKEN -e RUNWARE_API_KEY -e WAVESPEED_API_KEY ghcr.io/jutsuhq/ai-media-router:v0.1.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"ai-media-router": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIE_API_KEY",
"-e",
"FAL_KEY",
"-e",
"REPLICATE_API_TOKEN",
"-e",
"RUNWARE_API_KEY",
"-e",
"WAVESPEED_API_KEY",
"ghcr.io/jutsuhq/ai-media-router:v0.1.0"
],
"env": {
"KIE_API_KEY": "your-value",
"FAL_KEY": "your-value",
"REPLICATE_API_TOKEN": "your-value",
"RUNWARE_API_KEY": "your-value",
"WAVESPEED_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ai-media-router": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIE_API_KEY",
"-e",
"FAL_KEY",
"-e",
"REPLICATE_API_TOKEN",
"-e",
"RUNWARE_API_KEY",
"-e",
"WAVESPEED_API_KEY",
"ghcr.io/jutsuhq/ai-media-router:v0.1.0"
],
"env": {
"KIE_API_KEY": "your-value",
"FAL_KEY": "your-value",
"REPLICATE_API_TOKEN": "your-value",
"RUNWARE_API_KEY": "your-value",
"WAVESPEED_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"ai-media-router": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIE_API_KEY",
"-e",
"FAL_KEY",
"-e",
"REPLICATE_API_TOKEN",
"-e",
"RUNWARE_API_KEY",
"-e",
"WAVESPEED_API_KEY",
"ghcr.io/jutsuhq/ai-media-router:v0.1.0"
],
"env": {
"KIE_API_KEY": "your-value",
"FAL_KEY": "your-value",
"REPLICATE_API_TOKEN": "your-value",
"RUNWARE_API_KEY": "your-value",
"WAVESPEED_API_KEY": "your-value"
}
}
}
}KIE_API_KEY secret required envFAL_KEY secret required envREPLICATE_API_TOKEN secret required envRUNWARE_API_KEY secret required envWAVESPEED_API_KEY secret required envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account jutsuhq, which owns the repo
Code last changed 8 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked: only npm and PyPI packages with a version can be checked
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/jutsuhq-ai-media-router)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: KIE_API_KEY, FAL_KEY, REPLICATE_API_TOKEN, RUNWARE_API_KEY, WAVESPEED_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 8 days ago, and the latest version (0.1.0) reached the registry 18 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.
Hosted MCP for Remotion videos: search Remocn components, read docs, plan a video, preview it.
| This one AI Media Router | HyperFrames by HeyGen | Pascal 3D Editor | draw.io | Figma MCP Server | Remocn: Remotion MCP server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | Yes | No | No | Yes | No |
| Basic checks | 3/3 | 4/4 | 5/5 | 4/4 | 4/4 | 4/4 |
| License | MIT | Apache-2.0 | MIT | Apache-2.0 | – | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
One MCP server for AI image and video generation across 40+ providers, with your own keys and a local library that remembers everything.
AI Media Router is an open-source MCP server that lets Claude, Cursor, Codex or any MCP client generate images and videos with Seedance, Kling, Veo, Wan, FLUX, GPT Image, Nano Banana, Seedream and more, through 43 providers: fal, Replicate, kie, Runware, WaveSpeed, OpenRouter, BytePlus and 35 others, or your own ComfyUI server. The agent compares prices across providers before it spends, pays each one with your own key, and gets every result back as a local file it can search, review, reuse as a reference and chain into the next shot. Self-hosted, a single Rust binary, MIT.
For example, on November 1, 2026 the price catalog listed Seedance 2.5 text-to-video at 720p with audio from $0.216 a second (302.AI) to $0.462 (fal) among the providers the router can call: the same 10-second clip for $2.16 or $4.62. search_prices shows the agent that spread before it picks.
Contents:
| Without it | With AI Media Router |
|---|---|
| Every provider has its own API, auth, polling and output format | One generate → get_job loop for all 43; providers are TOML files |
| Result URLs expire after hours or days | Every output is downloaded at once, content-hashed, indexed, previewed |
| The agent forgets what it made last week | Full-text and similarity search, history, lineage graph, per-model stats |
| A character or product drifts between shots | Named references fed into every generation with {{ref:name}} |
| "$5 budget" is a promise in a prompt | Budgets refuse a job before it is submitted, from real price estimates |
| An API change breaks the integration until a release | The agent reads the raw exchange, fixes the spec, saves it live |
Principles: bring your own keys (no middleman account), the agent chooses provider and price (no hidden routing), model and input pass through unchanged (no lagging unified schema). Details are in docs/concept.md.
44 built-in provider specs (Higgsfield has two), each a TOML file in providers/ with recorded fixtures. ai-media-router providers lists them with the env vars each one still needs.
| Kind | Providers (key) |
|---|---|
| Inference platforms and API aggregators | fal.ai (fal), Replicate (replicate), Runware (runware), WaveSpeedAI (wavespeed), kie.ai (kie), OpenRouter (openrouter), Vercel AI Gateway (vercel), Together AI (together), DeepInfra (deepinfra), Novita AI (novita), SiliconFlow (siliconflow), Segmind (segmind), Atlas Cloud (atlascloud), each::labs (eachlabs), AI/ML API (aimlapi), 302.AI (ai302), APIMart (apimart), CometAPI (cometapi), EvoLink (evolink), PiAPI (piapi), ModelsLab (modelslab), Makernice (makernice), Pollo AI (pollo), Sume (sume), Unifically (unifically), Yir (yir), Higgsfield (higgsfield; higgsfield-account signs in to the account and pays in credits), Comfy Router partner models (comfy) |
| Model makers' own APIs | BytePlus ModelArk (byteplus) and Volcengine Ark (volcengine) for Seedance and Seedream, Kling (kling), Gemini API (gemini) for Veo and Nano Banana, Google Vertex AI (vertex) for Veo, Imagen and Nano Banana, Alibaba Cloud Model Studio (alibaba, alibaba-cn) for Wan, MiniMax Hailuo (minimax), Runway (runway), Luma (luma), LTX (ltx), PixVerse (pixverse), Vidu (vidu), xAI Grok Imagine (xai) |
| Self-hosted | ComfyUI (comfyui): your own server or a rented GPU, any workflow in API format, 0 USD per job |
Models are not a fixed list: model goes to the provider as written, so a model a provider adds today works today. get_provider shows the model id format and an example call. Specs not yet checked against a live response say so in their notes; live verification of every spec is on the roadmap.
| One provider's own MCP server (for example fal's or Replicate's) | A local ComfyUI | AI Media Router | |
|---|---|---|---|
| Providers | That one | Models you run yourself | 43 providers, plus your ComfyUI as one of them |
| Price comparison | Its own prices | Free per job, your GPU | Catalog prices across providers, before the agent picks |
| Spending limit | Whatever that provider offers | Not needed | Named USD budgets that refuse a job before it is sent |
| Where results end up | That provider's storage or URLs | Your ComfyUI output folder | A local library: search, ratings, references, lineage |
| Account | That provider's | None | None of ours: your keys go straight to each provider |
AI Media Router is not a hosted gateway like OpenRouter: there is no account, no balance and no markup, and OpenRouter itself is one of the providers it calls. It does not route to the cheapest provider by itself either; it shows prices and the agent or you choose.
1. Install. Prebuilt binaries for Linux (x86_64, arm64), macOS (Apple silicon, Intel) and Windows (x86_64) are on the releases page. You can also build from source with Rust 1.89 or later:
cargo install --git https://github.com/jutsuhq/ai-media-router
Or run the container (stdio MCP; /data holds the library):
docker run -i --rm -v ai-media-router:/data -e KIE_API_KEY ghcr.io/jutsuhq/ai-media-router
2. Add keys in a terminal. The value is read from a hidden prompt, or from stdin, and never passes through an agent or a tool call:
ai-media-router keys set KIE_API_KEY
pbpaste | ai-media-router keys set FAL_KEY
On Windows there is no hidden prompt: pipe the value in (Get-Clipboard | ai-media-router keys set FAL_KEY).
--store auto (the default) keeps the secret in the OS keychain (macOS keychain, Linux Secret Service via secret-tool) when one is available, else in /config.toml under [env], written atomically with mode 0600; --store keychain or --store file forces one. In config.toml a keychain-held key appears as FAL_KEY = "keychain:ai-media-router/ ", with no secret in the file. The process environment still overrides both, and keys apply without a restart.
ai-media-router keys list shows every key variable, which providers use it, whether it is set, its source (environment, keychain or config file), its last four characters and the exact keys set command. ai-media-router keys test kie makes a free auth check where its spec defines auth_check: accepted, refused, inconclusive, not_supported or not_configured. ai-media-router keys remove FAL_KEY deletes a key.
Or sign in to an account. higgsfield-account uses your Higgsfield account and its credits instead of an API key (the higgsfield provider is the API key pair, billed in USD):
ai-media-router login higgsfield-account
A browser opens to sign in (--no-browser prints the URL instead); the command listens on 127.0.0.1 only until the sign-in finishes or five minutes pass. The session is stored like a key, in the keychain or config.toml, and refreshes itself; ai-media-router logout higgsfield-account signs out. Agents see only whether you are signed in, never a token. Budgets count USD: a job paid in credits counts its estimated_cost_usd, as kie's credit-billed jobs do.
is set by --home or AI_MEDIA_ROUTER_HOME. By default it is the OS data dir: ~/Library/Application Support/jutsu.ai-media-router on macOS, %APPDATA%\jutsu\ai-media-router\data on Windows, ~/.local/share/ai-media-router on Linux. ai-media-router providers lists every provider and the env vars it still needs.
3. Connect an agent. For Claude Code:
claude mcp add ai-media-router -- ai-media-router mcp
For Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json) and other clients that take an mcpServers block, use the binary's full path, since these apps may not see your shell's PATH:
{
"mcpServers": { "ai-media-router": { "command": "/usr/local/bin/ai-media-router", "args": ["mcp"] } } }
Then ask the agent something like "find the cheapest Seedance 2.5 offer at 720p among my providers and make a 5-second clip of a paper boat on a rainy street".
| Mode | Command |
|---|---|
| MCP over stdio (one process per agent session) | ai-media-router mcp |
HTTP: REST /v1/* and MCP /mcp | ai-media-router serve --bind 127.0.0.1:8787 |
| CLI | ai-media-router prices seedance --res 1080p, generate, jobs, assets, … (--help) |
serve refuses a non-loopback address unless AI_MEDIA_ROUTER_TOKEN is set. Then every request needs Authorization: Bearer , and save_spec / reset_spec stay disabled unless --allow-spec-writes is given.
4. Save a preset. A preset is a saved single generation; --input merges over its input field by field:
ai-media-router recipes save video-draft --provider fal --model <model> --input '{"prompt": "…"}' --budget ad
ai-media-router generate --recipe video-draft --input '{"prompt": "a bottle on wet stone"}'
The preset supplies provider, model, input, save_to, offer and budget; fields given in the call win. ai-media-router recipes list shows the presets.
Optional extras:
| Install / set | Unlocks |
|---|
| COMFYUI_URL (e.g. http://127.0.0.1:8188), optional COMFYUI_TOKEN | Your own ComfyUI server as provider comfyui: input is the API-format workflow, {{asset:…}} in a LoadImage node uploads the file, jobs cost 0 USD