muapi-fashion-try-on — скилл для Claude Code: виртуальная примерка
Скилл надевает вещь с одной фотографии на человека с другой, а потом по желанию делает видео с моделью в этом образе.
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-codeЧто делает muapi-fashion-try-on
Скилл работает в два этапа. Сначала он берёт два изображения — фото человека и фото одежды — и через muapi image edit с моделью qwen-image-edit-2511 собирает кадр, где вещь сидит на человеке. Поза и текстура ткани сохраняются, свет студийный, фон нейтральный. Готовое фото скилл показывает вам на утверждение.
Второй этап включается по вашему запросу. Из одобренного кадра скилл делает видео через muapi video from-image с моделью seedance-v1.5-pro-i2v-fast: модель ставит руку на бедро, переносит вес, поправляет волосы. Формат — 9:16 или 4:5.
Перед первым запуском нужен ключ MUAPI_API_KEY. Если он не задан, скилл сам предложит выполнить muapi auth configure. Для моделей без алиаса в CLI он уходит на сырой эндпоинт через curl и опрашивает результат командой muapi predict wait <request_id>. Оба изображения обязательны: без любого из них скилл попросит загрузить файл и дальше не пойдёт.
Какие задачи решает
- примерить вещь с фото на человека без съёмки
- получить кадр в стиле фэшн-съёмки из двух картинок
- сделать короткое видео с моделью в новом образе
- проверить, как сидит одежда, до заказа образца
- собрать превью коллекции из фото товаров
Примеры запросов агенту
- Примерь эту куртку на фото модели и покажи результат
- Сделай видео с моделью в этом образе, формат 9:16
- Виртуальная примерка: вот фото человека, вот фото платья
Как установить muapi-fashion-try-on
1Через Skills 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-code2Вручную: положить файлы
~/.claude/skills/fashion-try-on/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/fashion-try-on/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a codex2Вручную: положить файлы
.agents/skills/fashion-try-on/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a cursor2Вручную: положить файлы
.cursor/skills/fashion-try-on/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install SamurAIGPT/Generative-Media-Skills fashion-try-on2Вручную: положить файлы
.github/skills/fashion-try-on/SKILL.md1Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a gemini-cli2Командой платформы
gemini skills install https://github.com/SamurAIGPT/Generative-Media-Skills --path library/visual/fashion-try-onВручную: положить файлы
.devin/skills/fashion-try-on/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add SamurAIGPT/Generative-Media-Skills --skill fashion-try-on -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о muapi-fashion-try-on
Как установить muapi-fashion-try-on в Claude?
Выполните npx skills add SamurAIGPT/Generative-Media-Skills --skill muapi-fashion-try-on -a claude-code. Скилл встанет в ~/.claude/skills/fashion-try-on/SKILL.md.
Что делает muapi-fashion-try-on?
Совмещает фото человека и фото одежды в один кадр виртуальной примерки, а затем по запросу генерирует видео с моделью в этом образе.
Что нужно для работы скилла?
Ключ MUAPI_API_KEY и два изображения: человека и вещи. Если ключ не задан, сначала выполните muapi auth configure.
Исходный текст
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