mcpField
M
muapi-media-editing

muapi-media-editing

github.com/samuraigptCreative & media251.0k installsUpdated 4w ago
Repository

About muapi-media-editing

muapi-media-editing is a set of scripts for editing and enhancing existing images and videos through MuAPI. It serves users who need prompt-based edits, image operations such as upscaling or background removal, or video effects and lip-sync.

Key features

  1. 01Prompt-based image editing
  2. 02Image upscaling and background removal
  3. 03Face swap and image colorization
  4. 04Video lip-sync
  5. 05Video and image effects

Use cases

  1. 01Edit an image using a text prompt
  2. 02Upscale an image or remove its background
  3. 03Sync video lip movement to audio
  4. 04Apply effects to video or images

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-media-editing

After installing, type/muapi-media-editingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

edit-image.sh
enhance-image.sh
lipsync.sh
video-effects.sh

Details

From the project README

✏️ MuAPI Media Editing & Enhancement

Advanced editing and enhancement operations for images and videos.

Apply AI-powered edits, enhancements, and effects to existing media. Supports prompt-based editing with Flux Kontext, GPT-4o, and Midjourney, plus one-click operations like upscaling and background removal.

Available Scripts

ScriptDescription
edit-image.shPrompt-based image editing (Flux Kontext, GPT-4o, Midjourney, Qwen, and more)
enhance-image.shOne-click operations: upscale, background removal, face swap, colorize, Ghibli style, product shots
lipsync.shSync video lip movement to audio (Sync Labs, LatentSync, Creatify, Veed)
video-effects.shVideo/image effects: Wan AI, face swap, dance, dress change, Luma modify/reframe

Quick Start

# Edit an image with a prompt
bash edit-image.sh --image-url "https://..." --prompt "add sunglasses" --model flux-kontext-pro

# Upscale an image
bash enhance-image.sh --op upscale --image-url "https://..."

# Remove background
bash enhance-image.sh --op background-remove --image-url "https://..."

# Lipsync a video
bash lipsync.sh --video-url "https://..." --audio-url "https://..." --model sync

# Apply dance effect
bash video-effects.sh --op dance --image-url "https://..." --audio-url "https://..."

Common Flags

All scripts support: --async, --json, --timeout N, --help

Requirements

  • MUAPI_KEY environment variable (set via core/platform/setup.sh)
  • curl, jq, python3

Comments

Markdown supported