1. Create a sandbox API key
Open the AI Gen Studio dashboard and create a sandbox key. Sandbox keys start withaigen_test_.
Store the full key immediately. It is displayed only once.
2. List presets
single_product_white_background.
3. Create an enhancement
Send a public image URL and a uniqueIdempotency-Key.
enhancement.id. It is the enhancement id used for status polling.
4. Poll status
result_url and thumbnail_url.
5. Move to live
Create a live key when you are ready for production processing. Live keys start withaigen_live_ and consume paid API credits.
Before switching traffic to live:
- use a unique
Idempotency-Keyper catalog batch; - store
external_idso results can be mapped back to your products; - verify webhook signatures if you use webhooks;
- handle
429withRetry-After; - confirm the account has API-eligible paid credits.
