muapi-fashion-try-on — Claude Code skill: virtual outfit try-on
This skill puts a garment from one photo onto a person from another, then optionally turns the result into a fashion video.
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-fashion-try-on -a claude-code
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a claude-codeWhat muapi-fashion-try-on does
The skill runs in two phases. First it takes two images — a person and a clothing item — and calls muapi image edit with the qwen-image-edit-2511 model to build a frame where the garment sits on the person. Pose and fabric texture stay intact, lighting is soft studio, background neutral. The resulting photo goes back to you for approval.
The second phase is optional and starts only when you ask for it. From the approved frame the skill generates video via muapi video from-image with seedance-v1.5-pro-i2v-fast: the model places a hand on the hip, shifts weight, adjusts her hair. Output is 9:16 or 4:5.
You need a MUAPI_API_KEY before the first run. If it is unset, the skill tells you to run muapi auth configure. For model IDs that have no CLI alias yet, it falls back to the raw endpoint with curl and polls through muapi predict wait <request_id>. Both images are required — miss either one and the skill stops to ask you for the upload.
What it helps with
- try a garment on a person without a photo shoot
- turn two images into a fashion-style shot
- produce a short video of a model in the outfit
- check the fit before ordering a sample
- build collection previews from product photos
Example prompts for the agent
- Try this jacket on the model in my photo
- Generate a 9:16 video of the model wearing this outfit
- Virtual fitting room: here is the person, here is the dress
How to install muapi-fashion-try-on
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-fashion-try-on -a claude-codenpx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a claude-code2Manually: put the files in place
~/.claude/skills/fashion-try-on/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fashion-try-on/
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a codex2Manually: put the files in place
.agents/skills/fashion-try-on/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a cursor2Manually: put the files in place
.cursor/skills/fashion-try-on/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills fashion-try-on2Manually: put the files in place
.github/skills/fashion-try-on/SKILL.md1Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a gemini-cli2Platform CLI
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/visual/fashion-try-onManually: put the files in place
.devin/skills/fashion-try-on/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about muapi-fashion-try-on
How do I install muapi-fashion-try-on in Claude?
Run npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-fashion-try-on -a claude-code. The skill lands in ~/.claude/skills/fashion-try-on/SKILL.md.
What does muapi-fashion-try-on do?
It combines a person photo and a clothing photo into one try-on frame, then optionally generates a video of the model wearing the outfit.
What do I need before using it?
A MUAPI_API_KEY and two images: the person and the garment. If the key is unset, run muapi auth configure first.
Source text
SKILL.md · MIT
---
slug: muapi-fashion-try-on
name: muapi-fashion-try-on
version: "1.0.0"
description: Virtually try on different outfits by combining a person's photo and a clothing item, then optionally generate a professional fashion model video.
acceptLicenseTerms: true
---
# Fashion Try-On
**Virtually try on different outfits by combining a person's photo and a clothing item, then optionally generate a professional fashion model video.**
## Inputs
| Name | Type | Required | Default | Description |
|:---|:---|:---|:---|:---|
| `person_image` | image_url | yes | — | A photo of the person or model who will try on the clothes. |
| `clothing_image` | image_url | yes | — | A photo of the clothing item to try on. |
## Steps
### Phase A — Virtual Try-On
If `{{person_image}}` or `{{clothing_image}}` is not provided, ask the user to upload them.
Once both images are available, submit the plan with ONE step to perform the try-on:
1. **Fashion Try-On** — `muapi image edit` (model=`qwen-image-edit-2511`):
- Reference Images: Use both `{{person_image}}` and `{{clothing_image}}`.
- Prompt: `A high-quality fashion photograph of the person from the first reference image wearing the exact clothing item from the second reference image. The fit should be natural and realistic, maintaining the person's pose and the clothing's texture and patterns. Soft studio lighting, neutral background, professional fashion photography style.`
- Aspect ratio: 1:1 or 4:5
Present the resulting fashion photo to the user for approval.
### Phase B — Fashion Video Generation (Optional)
After the image is generated, ask the user if they would like to create a professional fashion video of the model wearing the outfit.
If requested, submit the plan with ONE step:
1. **Fashion Video Generation** — `muapi video from-image` (model=`seedance-v1.5-pro-i2v-fast`):
- Reference Image: The try-on image generated in Phase A.
- Prompt: `Shot type of Three-Quarter Length Shot. [Push in] as model gracefully places hand on hip, shifts weight to one side, tilts head slightly with soft smile, and gently adjusts hair with fingertips, creating elegant movement and confidence.`
- Aspect ratio: 9:16 or 4:5
After generation, present the final fashion video.
## Trigger Keywords
`fashion try on`, `virtual fitting room`, `try on clothes`, `model fashion`, `clothing preview`
---
## Notes for the Executing Agent
- This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call `muapi` CLI commands. Use `muapi auth configure` first if `MUAPI_API_KEY` is unset.
- For model IDs without a CLI alias yet, fall back to the raw endpoint via `curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}'` and poll with `muapi predict wait <request_id>`.
- Substitute `{{input_name}}` placeholders with the user's actual inputs before issuing each call.
© SamurAIGPT · MIT · SamurAIGPT/Generative-Media-Skills