Content
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.
Changes
No recorded changes to this endpoint across all 1 revision of this API.