Skip to main content
GET
Proxy-download a try-on image from storage. Useful in iframe/cross-origin contexts where direct storage downloads are blocked by CORS. On JavaScript, the @genlook/storefront SDK is the recommended integration for the rest of the try-on flow; this endpoint is the one piece you call directly when you need a CORS-free download.

Query Parameters

string
required
Image URL from Genlook storage (GCS). Must point to the Genlook bucket.
string
Download filename. Defaults to "Genlook - Your Try On.jpg".

Response

Binary image file with Content-Disposition: attachment headers.