Choose this approach when you want to build a completely bespoke try-on experience. You design the upload screens, loading states, and result displays, while Genlook’s backend quietly handles the AI generation.Documentation Index
Fetch the complete documentation index at: https://docs.genlook.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
Architecture
All requests route through your store’s Shopify app proxy, meaning authentication is handled for you automatically.End-to-End Example
Here is a minimal, vanilla JavaScript implementation tying the core endpoints together:If you’re using our SDK alongside your custom endpoints, you can use
Genlook.cabin.fetch(url, options) instead of manually constructing the base proxy path. Read more about it in the Custom Button guide.Endpoint Reference
Dive deep into the documentation for each specific endpoint:Upload Image
Secure 3-step signed-URL flow for handling customer photos.
Create Generation
Request a new virtual try-on generation.
Generation Status
Poll the status of an ongoing generation.
Check Credits
Verify the store has enough credits before starting a job.
Collect Email
Securely pass collected customer emails to the Genlook backend.
Share Generation
Generate public, shareable links for try-on results.
Download Image
Safely download generated images without CORS issues.
Tracking Events
Fire custom analytics events back to the dashboard.
Error Codes
When things go wrong, error responses will include amessage and optionally a specific code:
| Code | Meaning |
|---|---|
QUOTA_EXCEEDED | The store has reached its monthly generation limit. |
RATE_LIMIT_EXCEEDED | Too many requests were made in a short time. |
BILLING_NOT_ALLOWED | The store’s plan has expired or there is a billing issue. |
CREATION_FAILED | The generation job failed to initialize. |

