v1
latestOpenAPI 3.1.02026-07-2670105729.6 KBContent
Generate an image
Generates an image via the Brew AI image pipeline. text-to-image (default) creates from a prompt; image-editing edits image1 (required) guided by the prompt. Returns a CDN-hosted URL. Usage-metered: charges the actual image gateway cost (no fixed price).
post/v1/content/generate-image
Headers
Idempotency-Keystring
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Request body
Response
The operation result.