Creates images from a text prompt. Generation is routed to OpenAI or Google depending on the model you choose.
Request and response format follow the OpenAI Images Create API as a common contract. For Google models, see Gemini API image generation.
Required body fields: model and prompt. All other fields are optional and depend on the provider and model you select via model — for example n, size, quality, response_format, output_format, background, and aspect_ratio. OpenAI GPT Image (gpt-image-1) and Google Gemini image models accept different subsets; see property descriptions below and provider documentation.
model uses the provider/model identifier format (e.g. openai/gpt-image-1 or google/gemini-3.1-flash-image), consistent with other AI Gateway operations.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
