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
- 01Prompt-based image editing
- 02Image upscaling and background removal
- 03Face swap and image colorization
- 04Video lip-sync
- 05Video and image effects
Use cases
- 01Edit an image using a text prompt
- 02Upscale an image or remove its background
- 03Sync video lip movement to audio
- 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-editingAfter installing, type/muapi-media-editingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
edit-image.shenhance-image.shlipsync.shvideo-effects.shDetails
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
| Script | Description |
|---|---|
edit-image.sh | Prompt-based image editing (Flux Kontext, GPT-4o, Midjourney, Qwen, and more) |
enhance-image.sh | One-click operations: upscale, background removal, face swap, colorize, Ghibli style, product shots |
lipsync.sh | Sync video lip movement to audio (Sync Labs, LatentSync, Creatify, Veed) |
video-effects.sh | Video/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_KEYenvironment variable (set viacore/platform/setup.sh)curl,jq,python3
Comments
Markdown supported