OpenAI ImageGen1 via HTTP request edit image
Edit an existing image with OpenAI ImageGen1 via API Request Transform your creative pipeline by letting n8n call OpenAI ImageGen1’s edit image endpoint, aut...
🔌 Nodes & Integrations Used (3)
📖 Implementation & Setup Guide
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 seconds. Designers, marketers, and product teams can eliminate repetitive manual edits and test more variations, faster.
Who is this for? - Content creators who need quick, on-brand image tweaks - Marketers running A/B visual tests at scale - Developers exploring the new ImageGen1 API inside low-code automations
Use case / problem solved Opening design software to mask, fill, or swap objects is slow and error-prone. This workflow feeds an input image plus a prompt to **OpenAI ImageGen1**, receives the edited output, and passes it on to any service you like—perfect for bulk-editing product shots, social visuals, or UI mocks.
What this workflow does 1. **Read or receive** the source image (Webhook → Binary Data). 2. **Call OpenAI ImageGen1** with an **HTTP Request** node, sending the image and edit prompt. 3. **Parse** the JSON response to capture the returned image URL. 4. **Download & hand off** the edited file (e.g., upload to S3, post to Slack, or store in Drive).
Setup 1. Add your **OpenAI API key** in the API KEY node. 2. Follow the notes on the workflow for more information. 3. (Optional) Point the final node to your preferred storage or chat tool.
> 📝 A sticky note in the workflow summarizes these steps and links to the OpenAI documentation.
How to customize this workflow - **Trigger alternatives**: Replace the Chat with Google Drive, Airtable, etc. - **Chained edits**: Loop the output back for successive prompts. - **Conditional flows**: Add an If node to branch actions by image size or category.
With renamed nodes, color-coded sticky notes, and a concise setup guide, you’ll be editing images via **OpenAI ImageGen1** in under five minutes—no code, maximum creativity.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
OpenAI ImageGen1 via HTTP request _edit image_.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related General Automation Workflows
View All in General Automation →Generate Application Copy
Production-ready n8n automation template for Generate Application Copy built by AhiXLight. Seamlessly connects Execute Workflow Trigger, OpenAI with 4 configured nodes.
2-way sync Google Contacts and Notion
Sync your Google Contacts with your Notion database. You can filter contacts by label or sync all contacts. All contact information is kept in sync between G...
2D Image to 3D Model Automation
Production-ready n8n automation template for 2D Image to 3D Model Automation built by AhiXLight. Seamlessly connects HTTP Request, Google Sheets, Google Drive with 17 configured nodes.
2 way sync assignments completion between Canvas LMS and Notion
Syncs assignments and completion states to and fro between Canvas LMS and a Notion database. Automatically triggers every 2 hours during the schoolday by def...