io.github.Anil-matcha/muapi

السجل الرسمي الوسائط والتصميم

Generate images, videos, and audio using 100+ AI models via muapi.ai.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package muapi-mcp-server
Claude Code
claude mcp add muapi -e 'MUAPI_API_KEY=<your muapi_api_key>' -- npx -y muapi-mcp-server@1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "muapi": {
            "command": "npx",
            "args": [
                "-y",
                "muapi-mcp-server@1.0.1"
            ],
            "env": {
                "MUAPI_API_KEY": "<your muapi_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • MUAPI_API_KEY إلزامي سري Your MuAPI API key from muapi.com/dashboard/keys

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. MuAPI – Claude Code Plugin
  2. Related Projects
  3. ✨ What It Can Do
  4. 🚀 Installation
  5. 💡 Usage
  6. 🔧 Slash Commands
  7. 🛠 Development
  8. 📁 Project Structure
  9. 📄 License

MuAPI – Claude Code Plugin

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.

  • MuAPI — Unified API for image, video, and audio generation across hundreds of AI models. Install agent skills, connect through MCP, or create access keys.
  • muapi-cli — Run the same generation workflows from a terminal or MCP client.

✨ What It Can Do

ToolDescription
generate_imageGenerate images from text prompts
generate_videoGenerate videos from text prompts
edit_imageEdit an existing image with instructions
image_to_videoConvert a still image into a video
upload_fileUpload files to MuAPI for processing
list_modelsBrowse available model categories
model_detailsGet details about a specific model
get_predictionTrack the status of an async prediction
account_balanceCheck your MuAPI account balance

🚀 Installation

Install as a Claude Code Plugin
claude plugin add muapi

Or install directly from GitHub:

claude plugin add https://github.com/SamurAIGPT/muapi-claude-code.git
Configure Your API Key

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.

💡 Usage

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

🔧 Slash Commands

After installing, you can invoke skills directly:

CommandWhat 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-helpExplore available models and get recommendations

🛠 Development

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

📁 Project Structure

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)

📄 License

ISC

الأسئلة الشائعة

ما هو io.github.Anil-matcha/muapi؟

Generate images, videos, and audio using 100+ AI models via muapi.ai.

كيف أثبّت io.github.Anil-matcha/muapi؟

يعمل على جهازك. في Claude Code: claude mcp add muapi -e 'MUAPI_API_KEY=<your muapi_api_key>' -- npx -y muapi-mcp-server@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.Anil-matcha/muapi إلى مفتاح API؟

نعم. يتطلب MUAPI_API_KEY، وتضبطها في إعداداته.

هل io.github.Anil-matcha/muapi مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.Anil-matcha/muapi؟

ينشره SamurAIGPT. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.