Skip to main content
AI Gen Studio API keys belong to one environment.

Sandbox checklist

Use sandbox keys to test:
  • authentication;
  • request validation;
  • idempotent create retries;
  • job polling;
  • webhook handling;
  • error parsing.
Sandbox responses use the same shape as live responses.

Live checklist

Before switching to live keys:
  • verify your backend stores job.id and external_id mappings;
  • handle partially_completed jobs;
  • verify webhook signatures;
  • handle 402, 409, and 429 responses;
  • ensure paid credits are available.