Introduction
Mirrago API — Introduction
Mirrago is a Virtual Try-On generation API for fashion businesses. It allows you to generate realistic try-on images by combining a model image with a garment image using an integration that’s intentionally simple and scalable.
With Mirrago, you can:
- Add try-on experiences to product pages and campaigns
- Run batch generation workflows at scale
Why Mirrago
Minimal integration surface
You only need two endpoints:
- Create a try-on job:
POST /v1/mirrago/generate-image - Retrieve job status + result:
GET /v1/mirrago/job/{{job_id}}
Asynchronous by design
Generation is handled as a job, which means:
- Your app stays responsive
- You can scale throughput
- You can poll for completion or plug in webhooks later
Business-ready
Mirrago is designed for B2B use cases:
- Token-based authentication
- Usage-based billing (credits per generation)
- Reliable job tracking (queued → processing → completed/failed)
How it works
-
Send input images
Provide a public URL to the model image and garment image. -
Receive a job ID
Mirrago responds immediately with ajob_id. -
Check status
Poll job status until the job is completed. -
Render the result
Display the returnedresult_urlin your UI.
Typical flow
Step 1 — Create Job
POST /v1/mirrago/generate-image
→ Returns { job_id }
Step 2 — Poll Status
GET /v1/mirrago/job/{job_id}
→ Returns { status: completed, result_image_url }
Dev Mirrago