Developer API
Integrate photorealistic virtual try-on into any e-commerce store, fashion app, or platform. One API call. Same credit system. Results in seconds.
curl -X POST https://api.mirrr.space/v1/try-on \
-H "Authorization: Bearer mk_live_..." \
-H "Content-Type: application/json" \
-d '{
"user_photos": [
"https://...photo1.jpg",
"https://...photo2.jpg"
],
"garment_url": "https://zara.com/...",
"output_format": "png"
}'{
"id": "gen_7kx9m2",
"status": "completed",
"result_urls": [
"https://cdn.mirrr.space/gen_7kx9m2.png"
],
"credits_used": 5,
"credits_remaining": 995,
"duration_ms": 12400
}One POST request with photos and garment. Get photorealistic try-on results back. No complex pipelines to manage.
API calls consume credits from your existing balance. No separate billing, no API-specific pricing. Buy credits, use them anywhere.
Standard REST API. Works from any language — Python, Node.js, Ruby, Go, PHP. SDKs coming soon.
Generate API keys from your dashboard. Bearer token authentication. Revoke and rotate keys at any time.
Follow up on existing generations. Adjust fit, change background, modify pose — all via API with reference to the original generation.
Track API usage, monitor credit consumption, view generation history. All from the same dashboard as web try-ons.
Same credits as web. No API-specific charges.
Add try-on to product pages. Let customers see garments on themselves before adding to cart. Reduce return rates by up to 40%.
Build virtual fitting rooms, wardrobe planners, or style recommendation engines powered by photorealistic try-on.
Generate outfit content at scale. Try on hundreds of garments programmatically for lookbooks, social content, or editorial.
Give sellers a competitive edge. Integrate try-on into listings so buyers can see items on themselves before purchasing.
50 free credits. Generate your first try-on in under a minute.
Create Account