OpenAI gpt-image-1 shuts down 23 Oct: fix for the n8n OpenAI "Edit Image" node

OpenAI is removing gpt-image-1 from the API on 23 October 2026. Its listed replacements are gpt-image-2.5-sunburst or gpt-image-2.5-flare. In n8n, the OpenAI node’s Image → Edit Image operation uses gpt-image-1 as its default model. Any workflow that still has it selected will start failing on that date.

Am I affected?
Open each workflow that has an OpenAI node set to Image → Edit Image and look at the Model field. If it says GPT Image 1 / gpt-image-1, you need to change it. Edit Image steps you add after the 23rd will also default to it, so check new ones too.

Fix: newer node (Model field has “From list” / “ID” modes)

  1. In Model, choose From list and pick gpt-image-2.5-sunburst or gpt-image-2.5-flare. Or switch to ID and type the name.
  2. Re-check the image input fields, then run the step once with pinned test data.
  3. Save, then re-activate (publish) the workflow.

Fix: older node (Model is a plain dropdown with only DALL·E 2 / GPT Image 1)
That older node version has no option for a newer model, and DALL·E 2 was already removed in May. Two choices:

  • Easiest: delete the step, add a fresh OpenAI → Edit Image node (new nodes get the newer version with the model picker), choose a gpt-image-2.5 model, and reconnect it.
  • Or: replace it with an HTTP Request node: POST https://api.openai.com/v1/images/edits, Authentication → Predefined Credential Type → OpenAI (reuses your existing credential), Body → Form-Data with model = gpt-image-2.5-sunburst, prompt, and image as an n8n Binary File field.

Also worth checking while you’re there: the newer Generate Image operation defaults to gpt-image-1-mini, which OpenAI removes on 1 Dec 2026, along with gpt-image-1.5 and chatgpt-image-latest. Same replacements, same fix.

Sources: OpenAI deprecations page (Deprecations | OpenAI API). n8n source: packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/v2/actions/image/edit.operation.ts (default gpt-image-1; plain dropdown below node version 2.3, model picker from 2.3). GitHub issue #41338 (closed automatically as a feature request; no fix released yet as of 18 Oct).

1 Like

Hey @Santosh_Nellutla! This is an incredibly thorough and super helpful heads-up! Thanks so much for putting together such a detailed post about the upcoming OpenAI gpt-image-1 deprecation and its impact on the n8n Edit Image node.

You’ve really gone above and beyond with the troubleshooting steps for both newer and older node versions, and even included the HTTP Request workaround. This will save a lot of us (including me) from unexpected workflow failures come October (and December!).

It’s a great reminder for everyone to check their AI workflows. Thanks again for sharing your research with the community – this is exactly what makes n8n such a collaborative space!