Clothes Changer API for Developers

AI Clothes Changer API

Combine a model photo with a clothing item reference to visualize new outfits—perfect for fashion tech and avatars.

Free credits on signup
Transparent per-credit pricing
No watermarks on paid plans
Subscriptions, credit packs, or usage-based billing
Auto-scaling

Trusted by teams at

Everything You Need to Ship AI Clothes Changer

Clothing item 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.
Clothing Item 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 & Clothing Item Images
Pass person_file_path and garment_file_path to /v1/ai-clothes-changer with optional garment_type.
3
Get Results & Scale
Receive the output via response or webhook. Deploy to production — infrastructure scales automatically.
Get Started Free

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",
    },
)
API Docs

Estimate Your API Costs

Every generation uses credits. Prepay with a subscription or one-time credit packs, or request usage-based billing for monthly invoicing and volume discounts.
Images Per Month
10 images
images
Recommended plan
Pro Yearly
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO YEARLY covers your usage
Estimated usage
12,500credits / month
Included
25,000credits / month
Remaining headroom
12,500credits / month
TOTAL BILL
$300
/year

AI Clothes Changer API Pricing

Subscription plans for standard usage.

Need usage-based billing?

Email us or message us in Intercom for monthly billing with graduated volume discounts.

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 clothing item image uploaded via Magic Hour file APIs.

Optional garment_type hints steer whether upper body, lower body, or full outfit is replaced.

Results depend on lighting, pose overlap, and how the clothing item is photographed—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.

Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. One-time credit packs add credits without a subscription. Usage-based billing with graduated volume discounts is available by request. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including AI Clothes Changer. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

Start Building with the Magic Hour AI Clothes Changer API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.