Photo try-on (AI preview)
photo_tryonPreview a described clothing or accessory style on a photo of a consenting adult, or edit the garment already in the photo (e.g. 'make the skirt mini', 'navy instead of red'). Returns an AI-generated preview image labeled 'AI preview, not a real photo', plus a link to shop similar items. Requires consent=true: the photo is of the user or an adult who agreed. No minors, nudity, lingerie/swimwear, or photos of celebrities/real people without consent (content policy: https://shopfashion.si/content-policy). Limited to 3 per IP per day and a site-wide daily budget; photos are not stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | No | one | |
| mode | No | auto | |
| site | No | shopfashion | |
| style | Yes | e.g. 'emerald satin midi dress' or 'shorten the skirt to mini' | |
| consent | Yes | Must be true: the user confirms the photo is of themselves or an adult who agreed. | |
| image_url | No | Public https URL of the image (alternative to base64). | |
| image_base64 | No | JPEG/PNG, ≤1.5MB, ≤1024px long side recommended. data: URL prefix allowed. |