Clothes Changer API for Developers
AI Clothes Changer API
Combine a model photo with a garment reference to visualize new outfits—perfect for fashion tech and avatars.
Free to start
No watermarks on paid plans
Subscription or usage-based
Auto-scaling
Trusted by teams at














Everything You Need to Ship AI Clothes Changer
Garment-type hints help the model swap tops, bottoms, or full looks while preserving pose.
Virtual Try-On
Let shoppers preview outfits on model imagery or their own uploads.
Garment References
Supply flat-lay or ghost mannequin shots to drive realistic drape and texture.
Pose Preservation
Keeps body language intact for editorial layouts and lookbooks.
Fast Processing
Interactive enough for style quiz flows and batch catalog enrichment.
Auto-Scaling Infrastructure
Handle seasonal drops when thousands of SKUs refresh simultaneously.
Commercial-Ready
Deploy to revenue-generating fashion apps with production-grade outputs.
Integrate in 3 Steps
Power digital wardrobe experiences without 3D simulation teams.
1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Upload Person & Garment Images
Pass person_file_path and garment_file_path to /v1/ai-clothes-changer with optional garment_type.
3
Get Results & Scale
Receive the swapped output via response or webhook. Deploy to production — infrastructure scales automatically.
Code Examples
AI Clothes Changer in a few lines of code. Install an SDK or use the REST API directly.
from magic_hour import Client
from os import getenv
client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.ai_clothes_changer.generate(
name="Outfit Swap",
assets={
"person_file_path": "/path/to/model.png",
"garment_file_path": "/path/to/shirt.png",
},
)SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
AI Clothes Changer API Pricing
Subscription plans for standard usage.
Prefer usage-based pricing?
Email us or message us in Intercom and we will set up your usage-based pricing.
API Calculator
Use our calculator to estimate your API costs.
Tier
Estimated monthly cost
$1.73
Based on 24 FPS
Built for Builders
See how developers use the AI Clothes Changer API to power real products.
Retail & Marketplaces
Show alternate colors and silhouettes without reshooting every SKU.
Campaign Personalization
Render influencer swaps for localized promos automatically.
Styling Apps
Let users mix closets and share outfit grids.
Editorial Tools
Previsualize wardrobe continuity for shoots.
Avatars & Metaverse
Refresh digital fashion inventories from 2D references.
Fashion Education
Teach silhouette and fabric pairing interactively.
Try before integrating
Try AI Clothes Changer Free — No Code Required
Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.
AI Clothes Changer API — Frequently Asked Questions
You need a person image and a garment image uploaded via Magic Hour file APIs.
Optional garment_type hints steer whether upper body, lower body, or full outfit is replaced.
Quality depends on lighting, pose overlap, and garment photography—test with on-brand samples.
No—this is a 2D generative swap optimized for speed and API usage, not physics simulation.
Each successful generation consumes the clothes changer credit rate published on pricing pages.
Use ai_clothes_changer.generate in Python or aiClothesChanger.generate in Node.
Yes. Fan out jobs per SKU combination and poll completion.
docs.magichour.ai documents every assets field and validation rule.