OpenAI ImageGen1 via HTTP request (edit image)
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This AI workflow has 4 nodes and runs when a chat message arrives. It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- API KEY (Edit Fields (Set)): sets 1 field: openAIKey
- HTTP Request: calls api.openai.com (POST)
- Convert to File: converts data to a file (to binary)
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Edit an existing image with OpenAI ImageGen1 via API Request Transform your creative pipeline by letting n8n call OpenAI ImageGen1’s edit image endpoint, automatically replacing or augmenting parts of any image you supply and returning a brand-new version in…