POST Images
Generate or edit an image from a prompt
OpenAI Images-compatible endpoint. Some models, such as `gpt-image-2`, also accept `input_media` reference images. No streaming.
Endpoint
post
/v1/images/generationsResponses
200
Generated images (URL or base64 per `response_format`)
400
Invalid request