Clothing AI Try-On
AI try-on for clothing. Merchants start at See a garment. A size estimate is a second recipe, Recommend a clothing size. Shoe size does not use this API.
What It Does
Shoppers can see how clothing looks on them (or a model) using generative AI. The system creates a digital twin of the person and applies selected garments virtually.
Key Features
- Digital twin — AI-generated representation of the shopper
- Virtual fitting — see how clothes look on the digital twin
- Estimated size fitting — on tryon.wearfits.com, a twin created from body measurements or a clothing size can be compared with the product's body size chart. The result is a recommended size and a fit, loose, or tight reading. It does not show a 3D heatmap and it does not return the shopper's measurements.
- Embeddable — clients can embed the try-on in an iframe or modal window
How to Use
| Method |
Description |
| Frontend app |
tryon.wearfits.com — example implementation |
| Iframe / modal |
Embed tryon.wearfits.com in your website |
| API |
Direct API calls for custom implementations — see API Reference |
API Endpoints
| Endpoint |
Description |
POST /api/v1/digital-twin |
Generate a digital twin image |
POST /api/v1/virtual-fitting |
Apply clothing to digital twin |
POST /api/v1/size-fitting |
Synchronously compare an eligible measurement or clothing-size digital twin with merchant body-range size charts and return estimated fit results |
| ## Domain |
|
How It Works
sequenceDiagram
participant User
participant App as tryon.wearfits.com
participant API as api.wearfits.com
User->>App: Capture selfie and enter measurements
App->>API: POST /api/v1/digital-twin
API-->>App: Digital twin ready
User->>App: Select garments
App->>API: POST /api/v1/virtual-fitting
API-->>App: Fitting result
App->>User: Display try-on image
User->>App: Ask how a size fits
App->>API: POST /api/v1/size-fitting
API-->>App: Recommended size and fit
App->>User: Show fit, loose, or tight
Size fitting runs only for a Size Mode twin (measurements or clothing size). A photo-mode twin does not get a size estimate.
Digital Twin Modes
| Mode |
Input |
Description |
| Size Mode |
Face photo + body measurements, or height + clothing size (XS–3XL) |
Default mode — measurements-based body model. Measurement and clothing-size twins are eligible for estimated size fitting. |
| Photo Mode |
Face photo + full-body photo |
Body model taken from a full-body photo. Photo-mode twins are not eligible for estimated size fitting. |
| ## Authentication |
|
|
- Frontend app (tryon.wearfits.com): Protected by Cloudflare Turnstile (bot protection), no API key needed for end users
- Direct API calls: Require
X-API-Key header with key from dash.wearfits.com
Rate Limits
| Context |
Limit |
| Frontend app (per user) |
10 fittings/hour, 20/day |
| API (per key, job submission) |
50/min |
| API (job status polling) |
500/min |
Further Reading