How Wearo works
The try-on flow
- Shopper lands on a product page — Wearo’s widget script loads and finds your product image using a CSS selector.
- “Try it on” button appears — injected automatically next to the product image.
- Shopper uploads a photo — the widget opens a modal where they can take or upload a photo.
- Generation happens — the photo and product image are sent to Wearo’s AI. This consumes 1 credit.
- Result is displayed — the shopper sees themselves wearing the product, inside the modal.
- Result is stored — the generated image is permanently stored at a public URL.
Components
Credits
- 1 successful generation = 1 credit
productType: "wedding-dress"(bridal train rendering) = 2 credits- Credits are only consumed on success — failed generations are refunded automatically
- Credits never expire
Widget vs Direct API
For most stores, the Widget is the right choice. Use the Direct API only if you need full control over the UI or are running a headless architecture.