Image generation
Summary
Guide on using OpenAI's Image and Responses APIs to generate, edit, and stream images using GPT Image models, including model specifications and pricing.
Key quotes
The OpenAI API lets you generate and edit images from text prompts using GPT Image models, including our latest, gpt-image-2.
The documentation explains the differences between the Image API (for single-prompt generation/edits) and the Responses API (for conversational image experiences). It covers technical details on output customization, streaming, and mask-based editing.