Skip to main content
ImageAgent() works without llm=. It defaults to gpt-image-2.5-flare for generate() and edit(); variation() still defaults to dall-e-2, the only model with a variations endpoint. Pass llm= when you want a different image model (e.g. openai/gpt-image-2.5-sunburst).

Generate Image

Edit Image

Image Variations

Models

gpt-image-2.6-* models are rolling out and may return 403 model_not_found on some projects. OpenAI retired dall-e-2/dall-e-3 on 2026-05-12 and gpt-image-1 on 2026-10-23; dall-e-2 is kept only for variation().