/mage:mage-outfit-swapfrom mage
Transfers clothing, footwear, and accessories from one image onto a person in another image while preserving identity, pose, and scene. Uses Mage's Outfit Swap app via the Mango 4 model.
Ships in mage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dress the person in one image in the outfit from another, keeping their identity, pose, and background. This is the Outfit Swap app as a skill: the same prompt and models, run through the Mage connector.
get_model, estimate_cost, generate, get_request, list_references, and create_upload for local files. If they are missing, ask the user to connect Mage (Claude: Customize → Connectors → Add custom connector, https://mcp.mage.space/mcp; Claude Code: /mcp to sign in if the Mage plugin is installed, otherwise claude mcp add --transport http mage https://mcp.mage.space/mcp; others: https://www.mage.space/mcp), then wait.create_upload, when you can run commands), or earlier Mage results. Files attached to the chat never reach Mage: ask for a direct link.Both are required. Ask for whichever is missing.
image_url from list_references with kind: "outfit".mango, model_id: "mango-v4") at resolution: "2K" for quality. When the user wants speed or a lower price, Mango 3 Turbo (model_id: "mango-v3-turbo"). Other models the app offers: references/models.md.aspect_ratio: the model's option closest to the source image's width ÷ height, as the app does. Measure the file when you can run commands; otherwise judge it from the image, or ask. Use the first image's shape.Send exactly this:
Transfer the clothing, footwear, and accessories from the second image onto the person in the first image.
Preserve the subject's identity, face, hair, body shape, pose, expression, framing, and background from the first image.
Keep the lighting, shadows, color grading, and scene continuity from the first image so the restyled outfit blends naturally.
Do not replace the person or alter unrelated scene elements. Only change the worn outfit and styling items to match the second image.
{
"model_id": "mango-v4",
"resolution": "2K",
"aspect_ratio": "<closest to the first image>",
"image": "<first image>",
"additional_images": [
"<second image>"
],
"prompt": "<the prompt above>"
}
The order matters: the prompt calls image "the first image" and additional_images[0] "the second image".
get_model for the architecture, once per conversation, to confirm its fields and options.estimate_cost with the exact config. Say the model and the price in Gems. One image can start in the same message; more than one waits for a yes.generate with a new UUID as idempotency_key, then get_request with wait_seconds: 120 until the status is completed, failed, or cancelled.If you can see the result: check where the garment meets skin, and that the face, hair, pose, and framing are unchanged. When the outfit image shows pieces the source framing can't (shoes or trousers for a waist-up photo), the model may re-pose or pull back to show them. If the framing changed, say so and offer a retry, an outfit image cropped to the pieces that fit the frame, or Mango 3 Turbo, which held the framing in testing. Retry once on a hard failure. If you can't see images, say the result needs the user's review. Deliver the link.
Complex garments, sheer fabric, and unusual layering are harder than a simple silhouette. For the same outfit across a whole series, save it as an outfit reference with mage-characters and mention its @handle instead of swapping each image.
| Code | What to do |
|---|---|
insufficient_gems | Give the price and the balance; Gems are added at https://www.mage.space/api?tab=billing. |
invalid_config | The message names the field, value, or @handle. Fix it from get_model and retry with a new key. |
content_blocked | Mage's policy or the model's filter refused it. Never try to slip past a filter. |
too_many_requests | 20 generations are already running. Wait, then submit again. |
generation_failed | Usually transient and refunded. Retry once with a new key. |
references/models.md: every model the app offers for this, with ids and resolutions.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mage, outfit-swap, virtual-try-on, image-editing, ai-fashion
30 skills in this plugin
/mage-ad-localizerLocalize static ads into other languages and markets with Mage: translate
every line of on-image text naturally (not word for word), keep the offer,
brand voice, product, logo, fonts, and layout, and adjust line breaks,
number and currency formats, and right-to-left layouts so each version
reads as native. Uses GPT Image 2.5 Flare for precise text replacement.
Use when: "translate this ad", "localize this ad", "Spanish and German
versions", "adapt this ad for Japan", "make this ad in French", "ad in
Arabic", "international versions of my ad", "market-specific ad copy".
NOT for: new creative variations (use mage-ad-multiplier), resizing for
placements (mage-ad-resizer), translating video voiceovers, or documents
and websites.
/mage-ad-multiplierTurn one ad into many independent variations with Mage: new talent,
wardrobe, setting, background, color story, or headline, while the product,
brand, layout, and every untouched element stay exactly as they were.
Works on static image ads (Mango 4, GPT Image 2.5 Flare for headline
changes) and on video ads (Cherry 2 Pro edits that keep motion, framing,
cuts, timing, and audio). Use when: "make variations of this ad",
"multiply this ad", "ad variants", "creative testing", "A/B test
versions", "new talent / new model in this ad", "change the setting",
"10 headline variants", "refresh this creative", "same ad with different
people". NOT for: resizing an ad for placements (use mage-ad-resizer),
translating an ad (mage-ad-localizer), creating a first ad from a product
photo (mage-product-photoshoot ad_creative_pack), or UGC videos from
scratch (mage-ugc-video).
Other plugins' skills for the same job
npx claudepluginhub mage-space/skills --plugin mage