OpenAI API · api · fg-0138

Image generation with dall-e-3 or gpt-image-1 fails after their shutdown dates

If you see images.generate with model dall-e-2 or dall-e-3 fails since 2026-05-12, the cause and the fix for OpenAI API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
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

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun