- Symptom
- images.generate with model dall-e-2 or dall-e-3 fails since 2026-05-12Calls with model gpt-image-1 stop working on 2026-10-23
- Cause
- OpenAI shut down dall-e-2 and dall-e-3 on 2026-05-12 and retires gpt-image-1 on 2026-10-23. gpt-image-1-mini and gpt-image-1.5 follow on 2026-12-01.
- Fix
- Switch to gpt-image-2.5-sunburst or gpt-image-2.5-flare, and keep the model id in configuration.
- Apply
const img = await client.images.generate({ model: 'gpt-image-2.5-sunburst', prompt, size: '1024x1024' });- Affected
- OpenAI Images API: dall-e shut down 2026-05-12, gpt-image-1 on 2026-10-23, gpt-image-1-mini and gpt-image-1.5 on 2026-12-01
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders