OpenAI API · api · fg-0138
Image generation with dall-e-3 or gpt-image-1 fails after their shutdown dates
images.generate with model dall-e-2 or dall-e-3 fails since 2026-05-12
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
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' });Affects: 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
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp