Standalone APIs
Image generation
Generate an image directly from a prompt using the standalone Images API.
Call the Images API when your application already has the image prompt. To let a model generate an image during an interaction, use image generation through Responses.
See the Responses guide for image models, and the API reference for endpoint details.