# WEARFITS Virtual Try-On API

> AI-powered virtual try-on, digital twins, and 3D product generation for fashion commerce.

- Create reusable digital twins from face photos, full-body photos, silhouettes, clothing sizes, or body measurements.
- Apply tops, bottoms, dresses, and shoes to a saved digital twin through one virtual fitting endpoint.
- Generate 3D shoe and handbag assets from shop product imagery, with optional AR upload and texture enhancement.

## How to add virtual try-on with the WEARFITS API

1. **Get an API key** — Request a WEARFITS API key and send it as the X-API-Key header on every /api/* request.
2. **Create a digital twin** — Create a reusable customer avatar from a face photo, full-body photo, silhouette, clothing size, or body measurements.
3. **Run a virtual fitting** — POST /api/v1/virtual-fitting with the digital twin and garment images to generate a try-on result.
4. **Poll the job** — Poll GET /api/v1/jobs/{jobId} or subscribe to a signed webhook until the job is completed.

## Key questions

### What is WEARFITS?

WEARFITS is an AI virtual try-on and product digitization API for fashion retailers, marketplaces, and commerce apps.

### What can developers build with it?

Developers can build virtual fitting rooms, digital twin flows, shoe and bag 3D generation pipelines, and embeddable try-on modals.

### Where is the machine-readable API specification?

The OpenAPI 3.1 specification is available at https://api.wearfits.com/doc.

## Related pages

- [Virtual Try-On API](https://api.wearfits.com/virtual-try-on-api)
- [Digital Twin API](https://api.wearfits.com/digital-twin-api)
- [Shoe 3D API](https://api.wearfits.com/shoe-3d-api)
- [Glossary](https://api.wearfits.com/glossary)

## Reference

- OpenAPI 3.1 spec: https://api.wearfits.com/doc
- Swagger UI: https://api.wearfits.com/reference
- Agent context: https://api.wearfits.com/llms-full.txt
