# Digital Twin API

> Create reusable customer digital twins from photos, silhouettes, body measurements, or clothing sizes.

- Generate a digitalTwinId once, then reuse it across many garment try-on jobs.
- Support photo mode, direct face plus silhouette mode, and size or measurement-based body input.
- Digital twin caching is designed for repeat sessions and lower per-try-on latency.

## Key questions

### How long are digital twins cached?

Digital twins are cached for 30 days by default.

### Can users avoid full-body photos?

Yes. Size and measurements modes support digital twin creation without requiring a full-body photo.

### How is a saved twin checked?

Call GET /api/v1/digital-twin/{id} to verify that a saved digitalTwinId is still valid.

## Related pages

- [Home](https://api.wearfits.com/)
- [Virtual Try-On API](https://api.wearfits.com/virtual-try-on-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
