Generate a new image
Authorizations
Headers
Optional unique key (≤255 chars) that makes this create idempotent: a retry with the same key returns the original job rather than starting a new one. Scoped to your API key; retained ~24h.
255Body
The text prompt. Up to 2000 characters.
1 - 2000Aspect ratio of the generated image.
1:1, 3:2, 2:3, 4:3, 3:4, 4:5, 5:4, 16:9, 9:16 Output quality tier. Higher quality costs more credits and takes longer.
low, medium, high Output resolution. Higher resolutions cost more credits.
1K, 2K, 4K Apply one of your saved styles (brand colours, type, logo) to the generation.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Up to 4 reference images to guide the generation.
4A reference image: either an https URL we ingest (SSRF-guarded, then re-hosted) or the id/url of one of your uploads or prior generations. Resolved server-side to our storage.
1 - 2048How many variations to generate from this single request (1-4). All are returned in result.images; each carries an id you can edit/resize/upscale independently.
1 <= x <= 4Response
Accepted

