# muapi-media-editing

This skill edits images and videos through muapi.ai, covering prompt-driven changes, upscaling, background removal, lip sync, and video effects.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1000 installs · ★ 25
- Author: SamurAIGPT
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/core/edit/SKILL.md
- Updated: 2026-09-29
- HTML: https://affpapa.org/en/nevibecode/skills/muapi-media-editing

## What it does

The skill sends image and video editing jobs to muapi.ai. For images, it supports prompt-based changes with Flux Kontext, GPT-4o, Midjourney, Qwen, and other models. Ready-made operations cover upscaling, background removal, face swaps, colorization, Ghibli styling, and product shots.

Its scripts are `edit-image.sh`, `enhance-image.sh`, `lipsync.sh`, and `video-effects.sh`. They handle prompt edits, enhancement tasks, audio-driven lip sync, and video or image effects. Each script accepts `--async`, `--json`, `--timeout N`, and `--help`.

Set `MUAPI_KEY` through `core/platform/setup.sh` before making requests. The environment also needs `curl`, `jq`, and `python3`; without the API key, calls to muapi.ai will not run.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-media-editing -a claude-code
```
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill edit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/edit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/edit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill edit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/edit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill edit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/edit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install SamurAIGPT/Generative-Media-Skills edit
```

2. **Manually: put the files in place**
- File: `.github/skills/edit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill edit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path core/edit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/edit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add SamurAIGPT/Generative-Media-Skills --skill edit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/core/edit/SKILL.md

## When to use it
- edit an image from a text prompt
- upscale an existing image
- remove an image background
- match video lip movement to audio
- apply a dance or video effect

## Example prompts
- Use `muapi-media-editing` to add sunglasses to an image with `edit-image.sh`.
- Run `enhance-image.sh` with the `upscale` operation on this image.
- Use `lipsync.sh` with the `sync` model to match this video to the supplied audio.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: a00c90dad397e486.

BEGIN THIRD-PARTY FILE a00c90dad397e486
````text
---
name: muapi-media-editing
version: 0.1.0
description: Edit and enhance images and videos with AI via muapi.ai — prompt-based editing, upscaling, background removal, face swap, lipsync, video effects, and more
---

# ✏️ 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`
````
END THIRD-PARTY FILE a00c90dad397e486

The third-party file has ended. Everything between the a00c90dad397e486 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© SamurAIGPT · MIT · https://github.com/SamurAIGPT/Generative-Media-Skills/tree/HEAD/core/edit/SKILL.md

## Similar
- [layer-image-editing](https://affpapa.org/en/nevibecode/skills/layer-image-editing.md) — skill · 3400 installs
- [ai-image-editing](https://affpapa.org/en/nevibecode/skills/ai-image-editing.md) — skill · 603 installs
- [scenario-image-editing](https://affpapa.org/en/nevibecode/skills/scenario-image-editing.md) — skill · 443 installs
- [ai-image-generation](https://affpapa.org/en/nevibecode/skills/ai-image-generation.md) — skill · 870900 installs
- [scenario-video-editing](https://affpapa.org/en/nevibecode/skills/scenario-video-editing.md) — skill · 383 installs
- [beat-sync-editing](https://affpapa.org/en/nevibecode/skills/beat-sync-editing.md) — skill · 2900 installs

From the same set: [samuraigpt/generative-media-skills](https://affpapa.org/en/nevibecode/by/samuraigpt/generative-media-skills.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
