
Muapi Media Editing
Wire your agent to muapi.ai shell scripts for prompt image edits, one-click enhance ops, lipsync, and video effects on existing URLs.
Overview
MuAPI Media Editing is an agent skill for the Build phase that runs muapi.ai bash scripts to edit, upscale, lipsync, and apply effects on image and video URLs.
Install
npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-media-editingWhat is this skill?
- Four script families: edit-image, enhance-image, lipsync, and video-effects
- Prompt-based editing across Flux Kontext, GPT-4o, Midjourney, Qwen, and related models
- One-click enhance-image operations: upscale, background removal, face swap, colorize, Ghibli style, product shots
- Lipsync via Sync Labs, LatentSync, Creatify, and Veed model options
- Video and image effects including Wan AI, dance, dress change, and Luma modify/reframe
- 4 top-level script categories documented: edit-image, enhance-image, lipsync, video-effects
- enhance-image documents multiple one-click ops including upscale and background-remove
- lipsync lists four provider models: Sync Labs, LatentSync, Creatify, and Veed
Adoption & trust: 684 installs on skills.sh; 3.5k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have raw creatives but no fast, scriptable way for your agent to upscale, edit, or lipsync them through a single AI media API.
Who is it for?
Indie builders automating ad creatives, short-form video tweaks, or app-store visuals via agent-driven muapi.ai calls.
Skip if: Teams that cannot allow shell plus outbound API traffic, need purely local open-source pipelines, or want open weights training instead of hosted editing.
When should I use this skill?
You need to edit or enhance existing image or video URLs with AI via muapi.ai from an agent-run bash workflow.
What do I get? / Deliverables
Your agent executes documented muapi.ai scripts and returns enhanced or edited media from URL inputs with explicit model and operation choices.
- Edited or enhanced media from muapi.ai jobs
- Repeatable CLI invocations with model and operation flags
Recommended Skills
Journey fit
Build is where you connect third-party media APIs and automation scripts into your product or content pipeline. Integrations subphase matches external muapi.ai scripts (edit, enhance, lipsync, effects) rather than hand-coding models locally.
How it compares
Integration skill around hosted muapi.ai scripts—not a self-hosted ComfyUI workflow or a design tool MCP.
Common Questions / FAQ
Who is muapi-media-editing for?
Solo builders and small teams who want Claude Code, Cursor, or similar agents to drive muapi.ai editing and enhancement from the terminal.
When should I use muapi-media-editing?
During Build when wiring generative media into your app or content factory, and optionally at Launch or Grow when batch-producing visuals or short videos from existing assets.
Is muapi-media-editing safe to install?
It implies shell execution and external API calls—check the Security Audits panel on this page, rotate muapi keys, and never pass secrets on the command line in logs.
SKILL.md
READMESKILL.md - Muapi Media Editing
# ✏️ 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 ```bash # 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` #!/bin/bash # muapi.ai Lipsync # Usage: ./lipsync.sh --video-url URL --audio-url URL [--model sync] set -e MUAPI_BASE="https://api.muapi.ai/api/v1" VIDEO_URL="" VIDEO_FILE="" AUDIO_URL="" AUDIO_FILE="" MODEL="sync" ASYNC=false JSON_ONLY=false MAX_WAIT=300 POLL_INTERVAL=5 for arg in "$@"; do if [ "$arg" = "--add-key" ]; then shift KEY_VALUE="" if [[ -n "$1" && ! "$1" =~ ^-- ]]; then KEY_VALUE="$1"; fi if [ -z "$KEY_VALUE" ]; then echo "Enter your muapi.ai API key:" >&2; read -r KEY_VALUE; fi if [ -n "$KEY_VALUE" ]; then grep -v "^MUAPI_KEY=" .env > .env.tmp 2>/dev/null || true mv .env.tmp .env 2>/dev/null || true echo "MUAPI_KEY=$KEY_VALUE" >> .env echo "MUAPI_KEY saved to .env" >&2 fi exit 0 fi done if [ -f ".env" ]; then source .env 2>/dev/null || true; fi while [[ $# -gt 0 ]]; do case $1 in --video-url) VIDEO_URL="$2"; shift 2 ;; --video-file) VIDEO_FILE="$2"; shift 2 ;; --audio-url) AUDIO_URL="$2"; shift 2 ;; --audio-file) AUDIO_FILE="$2"; shift 2 ;; --model|-m) MODEL="$2"; shift 2 ;; --async) ASYNC=true; shift ;; --timeout) MAX_WAIT="$2"; shift 2 ;; --json) JSON_ONLY=true; shift ;; --help|-h) echo "muapi.ai Lipsync" >&2 echo "" >&2 echo "Usage: ./lipsync.sh --video-url URL --audio-url URL [options]" >&2 echo "" >&2 echo "Models (--model):" >&2 echo " sync Sync Labs — high quality (default)" >&2 echo " latent LatentSync — open source" >&2 echo " creatify Creatify — fast" >&2 echo " veed Veed — reliable" >&2 echo "" >&2 echo "File Inputs:" >&2 echo " --video-file Local video file" >&2 echo " --audio-file Local audio file" >&2 exit 0 ;; *) shift ;; esac done if [ -z "$MUAPI_KEY" ]; then echo "Error: MUAPI_KEY not set" >&2; exit 1; fi # Auto-upload local files upload_file() { local FPATH="$1" if [ ! -f "$FPATH" ]; then echo "Error: File not found: $FPATH" >&2; exit 1; fi [ "$JSON_ONLY" = false