Skip to main content
Use OpenAI’s built-in image_generation tool to generate images in a conversation:
The image generation tool supports the following models:
  • gpt-5
  • gpt-5-nano
  • gpt-4.1
  • gpt-4.1-mini
  • gpt-4.1-nano
  • gpt-4o
  • gpt-4o-mini
  • o3
Image generation always uses gpt-image-1 and is billed at that model’s image generation rates. All parameters for gpt-image-1 are supported:
Price multipliers for image size and quality match the official rates.