WEARFITS API terms defined
Glossary
Precise definitions of the core WEARFITS Virtual Try-On API concepts for developers and AI agents.
Terms
Virtual try-on
AI-generated preview of how a garment or product looks on a person. WEARFITS applies product images onto a digital twin via POST /api/v1/virtual-fitting.
Digital twin
A reusable customer avatar created from a face photo, full-body photo, silhouette, clothing size, or body measurements. Identified by a digitalTwinId and cached for about 30 days.
Virtual fitting
Applying garment images (tops, bottoms, full-body, shoes) onto a digital twin to produce a try-on result. The recommended production endpoint is POST /api/v1/virtual-fitting.
Shoe 3D generation
Converting 2D shoe or bag product photos into a 3D GLB asset and an AR try-on, via POST /api/v1/shoe-3d. Handbags route through the same pipeline with productType set to other or auto.
Product digitization
Batch conversion of catalog products into 3D assets, via POST /api/v1/digitization/batches — up to 500 products per batch on a low-priority queue.
AR try-on
An augmented-reality experience published to the WEARFITS viewer so shoppers can place a 3D product in real space on their phone.
GLB
The binary glTF 3D model format produced by WEARFITS shoe and bag 3D generation.
Storefront try-on widget
A dependency-free script (/widget/tryon.js) that opens a virtual try-on modal from product JSON, exposing window.Wearfits.openTryOn(config).