{
  "markdown": "# MuAPI Video Marketing Plugin for Claude Code\n\nCreate AI-powered marketing videos directly from **Claude Code** using [MuAPI](https://muapi.ai)'s generative media APIs.\n\n```\nBrief → Storyboard → Images → Videos → Music → Delivery\n```\n\n---\n\n## What You Can Build\n\n| Request | Pipeline |\n|---------|----------|\n| \"Create a 30s TikTok for our coffee brand\" | Storyboard → images → clips → music |\n| \"Make a product reveal video\" | Image upload → image-to-video → effects → music |\n| \"Animate this logo into a video ad\" | Upload → image-to-video with zoom → music |\n| \"Add background music to my video\" | Suno music gen → deliver audio URL |\n| \"Apply cinematic film noir effect to my clip\" | Video effects API |\n| \"Lipsync this spokesperson to my voiceover\" | Lipsync API |\n\n---\n\n## Installation\n\n### Prerequisites\n\n- **Claude Code** [installed and authenticated](https://code.claude.com/docs/en/quickstart)\n- **Node.js v18+** installed\n- **MuAPI API key** from [https://muapi.ai/dashboard](https://muapi.ai/dashboard)\n\n### Install from Marketplace\n\n```bash\nclaude plugin install muapi-video-marketing\n```\n\nYou'll be prompted for your MuAPI API key during setup.\n\n### Install for Local Development\n\n```bash\nclaude --plugin-dir ./muapi-marketing-video-plugin\n```\n\n### Test It Works\n\nOpen Claude Code and ask:\n\n```\nCreate a single test image: a sleek dark background with lime-green neon text \"Hello World\", photorealistic, 8k\n```\n\nClaude will call `muapi_generate_image` and return an image URL. If you get a URL back, you're set up correctly.\n\n### Use the Skill\n\n```\n/muapi-video-marketing:muapi-video-marketing\n```\n\nOr simply describe your video idea — Claude will automatically use the skill based on context.\n\n---\n\n## Plugin Structure\n\n```\nmuapi-marketing-video-plugin/\n├── .claude-plugin/\n│   └── plugin.json               # Plugin manifest & MCP config\n├── skills/\n│   └── muapi-video-marketing/\n│       └── SKILL.md              # Pipeline logic & guidance\n├── hooks/\n│   └── hooks.json                # Auto-installs deps on session start\n├── mcp-server/\n│   ├── src/\n│   │   └── index.ts              # MCP server with 10 tools\n│   ├── package.json\n│   └── tsconfig.json\n├── scripts/\n│   └── setup.sh                  # Manual setup (alternative)\n└── README.md                     # This file\n```\n\n---\n\n## MCP Tools Reference\n\n| Tool | Description |\n|------|-------------|\n| `muapi_generate_image` | Text → image via Flux Dev (12B params) |\n| `muapi_image_to_video` | Static image → animated video clip |\n| `muapi_generate_video` | Text → video (no source image) |\n| `muapi_create_music` | Generate background music via Suno V5 |\n| `muapi_lipsync` | Sync lips to audio track |\n| `muapi_video_effects` | Apply Wan AI cinematic effects |\n| `muapi_upload_file` | Upload local file → CDN URL |\n| `muapi_poll_result` | Check async task status |\n| `muapi_run_workflow` | Execute a saved MuAPI workflow |\n| `muapi_list_workflows` | Discover available workflows |\n\n---\n\n## Pipeline Deep Dive\n\n### Standard Marketing Video\n\n```\n1. Claude generates storyboard (3-8 scenes as JSON)\n2. muapi_generate_image x N   → scene images (Flux Dev, parallel)\n3. muapi_image_to_video x N   → scene clips (Kling Pro, sequential)\n4. muapi_create_music x 1     → background track (Suno V5)\n5. Claude delivers: clip URLs + music URL + assembly guide\n```\n\n### Asset-First (User provides images/video)\n\n```\n1. muapi_upload_file           → CDN URL for each local asset\n2. muapi_image_to_video        → animate provided images\n3. muapi_create_music          → background track\n```\n\n### Spokesperson Video\n\n```\n1. muapi_generate_image        → scene with person\n2. muapi_image_to_video        → animate\n3. User provides voiceover\n4. muapi_lipsync               → sync lips to voiceover\n```\n\n---\n\n## Model Guide\n\n### Image Models\n\n| Model ID | Quality | Speed | Best For |\n|----------|---------|-------|----------|\n| `flux-dev` | High | Medium | Default, high quality |\n| `flux-schnell` | Good | Fast | Drafts, prototyping |\n| `midjourney-v7` | High | Slow | Premium aesthetics |\n\n### Video Models\n\n| Model ID | Quality | Speed | Best For |\n|----------|---------|-------|----------|\n| `kling-pro` | High | Slow | Product shots, realism |\n| `kling-standard` | Good | Medium | General use |\n| `minimax-pro` | High | Medium | Dynamic motion, social |\n| `runway-gen3` | Good | Fast | Artistic, creative |\n| `wan-2.1` | High | Slow | High fidelity, speech |\n\n### Music (Suno)\n\nValid model values: `\"V5\"` (default), `\"V4_5\"`, `\"V4\"`, `\"V3_5\"`\n\nThe `style` parameter is **required** by the API.\n\n---\n\n## Aspect Ratio Guide\n\n| Format | Ratio | Size | Platform |\n|--------|-------|------|----------|\n| Landscape | 16:9 | 1344x768 | YouTube, TV ads |\n| Portrait | 9:16 | 768x1344 | TikTok, Reels, Stories |\n| Square | 1:1 | 1024x1024 | Instagram feed |\n\n---\n\n## Assembly\n\nAfter Claude delivers clip and music URLs, use any video editor to assemble:\n\n- **CapCut** (free, mobile/desktop) — import clips, arrange timeline, add music\n- **DaVinci Resolve** (free, desktop) — professional grade\n- **FFmpeg** (command line):\n\n```bash\n# Merge clips\nffmpeg -f concat -safe 0 -i clips.txt -c copy merged.mp4\n\n# Add music\nffmpeg -i merged.mp4 -i music.mp3 \\\n  -filter_complex \"[1:a]volume=0.3[music];[0:a][music]amix=inputs=2:duration=first\" \\\n  -c:v copy final.mp4\n```\n\n---\n\n## Pricing (Approximate MuAPI Credits)\n\n| Operation | Credits |\n|-----------|---------|\n| Image generation (Flux Dev) | ~2-5 |\n| Image-to-video (Kling Pro, 5s) | ~15-25 |\n| Music (Suno, 30s) | ~5-10 |\n| Video effects | ~10-20 |\n\nA typical 30s TikTok (6 scenes): ~100-200 credits.\nTop up at [https://muapi.ai/dashboard](https://muapi.ai/dashboard).\n\n---\n\n## Troubleshooting\n\n**MCP server not starting**\n- Ensure Node.js v18+ is installed\n- Check plugin errors: run Claude Code with `claude --debug`\n\n**401 Unauthorized**\n- Re-enter your API key: disable and re-enable the plugin\n\n**404 Not Found**\n- Check [https://muapi.ai/docs](https://muapi.ai/docs) for current endpoints\n\n**422 on music generation**\n- Ensure you pass a `style` field (e.g. `\"electronic, no vocals\"`)\n\n**Task failed / timeout**\n- Retry with a simpler prompt\n- Use `wait_for_result: false` and poll with `muapi_poll_result`\n\n---\n\n## Support\n\n- MuAPI Docs: [https://muapi.ai/docs/introduction](https://muapi.ai/docs/introduction)\n- MuAPI Discord: [https://discord.gg/zpnuBRXhKg](https://discord.gg/zpnuBRXhKg)\n- MuAPI Support: support@vadoo.tv\n",
  "bytes": 6439,
  "sha": "e26257c983bef99280b7059ed2016aba2cedd0d3f09bbfaf9ab423663afe1b82",
  "repo_slug": "phamvuhoang/muapi-marketing-video-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_phamvuhoang_muapi_marketing_video_plugin_5083e792/readme"
}