
1. Authenticate
For server-side automations, open your account settings and generate an API key. Treat it as a secret — never commit it or expose it client-side.Authorization: Bearer <access_token>. See Authentication for the OAuth endpoints and PKCE requirements.
2. Get a brand ID
Image generations are scoped to a brand. You need abrandSessionId — either pick an existing brand or create a new one from a URL.
- Brand already in Bloom
- Onboard your brand
List your brands and copy any Pick one. Its
id:id is the brandSessionId you’ll use next.3. Start a generation
Generations are asynchronous. Bloom queues the job and returns202 immediately with the image ID.
4. Retrieve the image
HitGET /images/{id} to check status. Pass wait=true to hold the connection open until the generation reaches a terminal state — no polling loop needed:
ids=...&wait=true to collect many images in one call.
Response format
Successful responses are wrapped in adata envelope:
Error format
Failed responses use a consistent envelope:code; treat message as human-readable only.