# WEARFITS Digital Twin

Base URL: https://api.wearfits.com

A digital twin is a reusable customer avatar. Create one once, then reuse its
`digitalTwinId` across many try-on jobs (cached about 30 days).

## Body input modes

- Face photo + clothing size (e.g. height + size label)
- Face photo + body measurements (height, chest, waist, hip, inseam — at least two)
- Face photo + silhouette image
- Full-body photo

At least one body source is required.

## Create and reuse

A twin is created inline by POST /api/v1/virtual-fitting from any body source; the
completed job returns a `digitalTwinId`. Save it and pass it on later requests to
skip twin generation. Verify a saved twin with GET /api/v1/digital-twin/{id}.

## Reference

- OpenAPI 3.1 spec: https://api.wearfits.com/doc
- Digital Twin overview: https://api.wearfits.com/digital-twin-api
