Developer API

Virtual try-on
in your app

Integrate photorealistic virtual try-on into any e-commerce store, fashion app, or platform. One API call. Same credit system. Results in seconds.

api-example.sh
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
}

Why MIRRR API

Single endpoint

One POST request with photos and garment. Get photorealistic try-on results back. No complex pipelines to manage.

Same credits

API calls consume credits from your existing balance. No separate billing, no API-specific pricing. Buy credits, use them anywhere.

Any platform

Standard REST API. Works from any language — Python, Node.js, Ruby, Go, PHP. SDKs coming soon.

Simple auth

Generate API keys from your dashboard. Bearer token authentication. Revoke and rotate keys at any time.

Iterative edits

Follow up on existing generations. Adjust fit, change background, modify pose — all via API with reference to the original generation.

Usage dashboard

Track API usage, monitor credit consumption, view generation history. All from the same dashboard as web try-ons.

API credit usage

Same credits as web. No API-specific charges.

EndpointCredits
POST /v1/try-on — standard (1 photo)5
POST /v1/try-on — multi-photo (2-3 photos)8
POST /v1/try-on — with URL scrape6
POST /v1/edit — iterative edit3
POST /v1/batch — up to 10 garments40
GET /v1/generations/:id — check status0
GET /v1/balance — check credits0

Built for

E-commerce stores

Add try-on to product pages. Let customers see garments on themselves before adding to cart. Reduce return rates by up to 40%.

Fashion apps

Build virtual fitting rooms, wardrobe planners, or style recommendation engines powered by photorealistic try-on.

Content creators

Generate outfit content at scale. Try on hundreds of garments programmatically for lookbooks, social content, or editorial.

Marketplaces

Give sellers a competitive edge. Integrate try-on into listings so buyers can see items on themselves before purchasing.

Start building today

50 free credits. Generate your first try-on in under a minute.

Create Account