Generate images, videos, and audio using 100+ AI models via muapi.ai.
A Claude Code plugin that gives Claude the power to generate images, create videos, edit visuals, and more — all powered by MuAPI.
Simply install the plugin and start asking Claude to generate media for you.
| Tool | Description |
|---|---|
generate_image | Generate images from text prompts |
generate_video | Generate videos from text prompts |
edit_image | Edit an existing image with instructions |
image_to_video | Convert a still image into a video |
upload_file | Upload files to MuAPI for processing |
list_models | Browse available model categories |
model_details | Get details about a specific model |
get_prediction | Track the status of an async prediction |
account_balance | Check your MuAPI account balance |
claude plugin add muapi
Or install directly from GitHub:
claude plugin add https://github.com/SamurAIGPT/muapi-claude-code.git
Set your MuAPI API key:
claude config set plugins.muapi.env.MUAPI_API_KEY your_api_key_here
Get your API key from muapi.ai.
Once installed, just ask Claude naturally:
Image Generation
Generate an image of a futuristic city at sunset
Video Generation
Generate a cinematic drone shot over mountains
Image Editing
Edit this image to add a rainbow in the sky
Image to Video
Convert this image into a slow zoom-in video
After installing, you can invoke skills directly:
| Command | What it does |
|---|---|
/muapi:generate-image <prompt> | Generate an image from a text prompt |
/muapi:generate-video <prompt> | Generate a video from a text prompt |
/muapi:edit-image <instructions> | Edit an existing image |
/muapi:image-to-video <image url> | Animate a still image into a video |
/muapi:media-help | Explore available models and get recommendations |
If you want to run the plugin locally for development:
git clone https://github.com/SamurAIGPT/muapi-claude-code.git
cd muapi-claude-code
npm install
Create a .env file:
MUAPI_API_KEY=your_api_key_here
Run the MCP server directly:
node src/index.js
muapi-claude-code/
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
├── src/
│ ├── index.js # MCP server entry point
│ └── tools/
│ ├── generateImage.js # Image generation
│ ├── generateVideo.js # Video generation
│ ├── editImage.js # Image editing
│ ├── imageToVideo.js # Image-to-video conversion
│ ├── uploadFile.js # File upload
│ ├── listModels.js # Model listing
│ ├── modelDetails.js # Model details
│ ├── getPrediction.js # Prediction tracking
│ └── accountBalance.js # Account balance
├── .mcp.json # MCP server config
├── package.json
└── .env # API key (not committed)
ISC
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y muapi-mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-anil-matcha-muapi": {
"command": "npx",
"args": [
"-y",
"muapi-mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemuapi-mcp-servernpmio.github.Anil-matcha/muapi works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.