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 stored at a public URL that does not expire. Anyone with the URL can open the image.
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
- Plan credits are granted by your plan each period; top-up credits expire 12 months after purchase (credits bought before the pricing update have no expiry date)
- When your balance is empty, the API returns
402and the widget stops generating
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.