New to Claude Skills? Learn how to install them →

samuraigpt on GitHub

MuAPI Media Editing

Free

AI-powered image and video editing made simple.

Get this skill

Free · Opens the source repo

What MuAPI Media Editing does

MuAPI Media Editing is a skill designed for developers and designers looking to enhance their media editing capabilities with AI-driven tools. This skill allows users to perform a variety of advanced editing and enhancement operations on images and videos through a series of bash scripts. Leveraging the capabilities of muapi.ai, users can execute prompt-based edits using models like Flux Kontext, GPT-4o, and Midjourney, as well as perform one-click operations for common tasks such as upscaling images and removing backgrounds.

The skill includes several scripts that cater to different media editing needs. For instance, the edit-image.sh script enables users to apply custom edits to images by specifying prompts, while the enhance-image.sh script offers streamlined operations like face swapping and colorization. For video content, the lipsync.sh script allows users to synchronize lip movements in videos to corresponding audio tracks, and the video-effects.sh script provides various effects such as dance animations and dress changes. This makes it a versatile tool for both image and video editing tasks.

To get started, users need to set up their environment with the required MUAPI_KEY and have necessary tools like curl, jq, and python3 installed. The scripts are designed to be straightforward, with common flags available for asynchronous processing and JSON output. This skill is particularly useful for content creators, digital marketers, and anyone involved in media production who wants to leverage AI to enhance their workflow and improve the quality of their media assets.

When to use it

Use this skill when you need to quickly edit or enhance media assets, especially when working with AI-generated prompts or effects.

When not to use it

This skill may not be suitable for users looking for extensive manual control over editing processes or those who require a GUI-based solution.

What you can build with it

Quick Image Enhancement

Use the `enhance-image.sh` script to upscale an image or remove its background with a single command.

Video Lip Syncing

Utilize the `lipsync.sh` script to synchronize lip movements in a video with an audio file, enhancing video production quality.

Creative Video Effects

Apply fun effects to your videos using the `video-effects.sh` script, such as dance animations or face swaps.

How to install MuAPI Media Editing

View source

1. Install with the skills CLI

npx skills add samuraigpt/generative-media-skills/edit --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by samuraigpt

✏️ 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

Frequently asked questions about MuAPI Media Editing

Similar skills