muapi-media-editing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese✏️ MuAPI Media Editing & Enhancement
✏️ MuAPI 媒体编辑与增强
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.
针对图片和视频的高级编辑与增强操作。
为现有媒体应用AI驱动的编辑、增强和特效。支持通过Flux Kontext、GPT-4o和Midjourney进行基于提示词的编辑,还支持画质提升、背景移除等一键操作。
Available Scripts
可用脚本
| Script | Description |
|---|---|
| Prompt-based image editing (Flux Kontext, GPT-4o, Midjourney, Qwen, and more) |
| One-click operations: upscale, background removal, face swap, colorize, Ghibli style, product shots |
| Sync video lip movement to audio (Sync Labs, LatentSync, Creatify, Veed) |
| Video/image effects: Wan AI, face swap, dance, dress change, Luma modify/reframe |
| Script | Description |
|---|---|
| 基于提示词的图片编辑(支持Flux Kontext、GPT-4o、Midjourney、Qwen等模型) |
| 一键操作:画质提升、背景移除、人脸互换、色彩还原、吉卜力风格转换、商品图优化 |
| 视频唇形与音频同步(支持Sync Labs、LatentSync、Creatify、Veed) |
| 视频/图片特效:Wan AI、人脸互换、舞蹈特效、换装、Luma修改/重构图 |
Quick Start
快速开始
bash
undefinedbash
undefinedEdit an image with a prompt
Edit an image with a prompt
bash edit-image.sh --image-url "https://..." --prompt "add sunglasses" --model flux-kontext-pro
bash edit-image.sh --image-url "https://..." --prompt "add sunglasses" --model flux-kontext-pro
Upscale an image
Upscale an image
bash enhance-image.sh --op upscale --image-url "https://..."
bash enhance-image.sh --op upscale --image-url "https://..."
Remove background
Remove background
bash enhance-image.sh --op background-remove --image-url "https://..."
bash enhance-image.sh --op background-remove --image-url "https://..."
Lipsync a video
Lipsync a video
bash lipsync.sh --video-url "https://..." --audio-url "https://..." --model sync
bash lipsync.sh --video-url "https://..." --audio-url "https://..." --model sync
Apply dance effect
Apply dance effect
bash video-effects.sh --op dance --image-url "https://..." --audio-url "https://..."
undefinedbash video-effects.sh --op dance --image-url "https://..." --audio-url "https://..."
undefinedCommon Flags
通用参数
All scripts support: , , ,
--async--json--timeout N--help所有脚本均支持:, , ,
--async--json--timeout N--helpRequirements
依赖要求
- environment variable (set via
MUAPI_KEY)core/platform/setup.sh - ,
curl,jqpython3
- 环境变量(可通过
MUAPI_KEY进行配置)core/platform/setup.sh - ,
curl,jqpython3