OpenAI ImageGen1: Edit Images via HTTP Request

Automate image editing with OpenAI ImageGen1 API using n8n's HTTP Request. Input an image and prompt, get edited output URL, download, and integrate seamlessly.

n8n
OpenAI ImageGen1: Edit Images via HTTP Request

This n8n workflow enables quick editing of existing images via OpenAI's ImageGen1 API endpoint using an HTTP Request node. It receives a source image through a webhook, converts it to binary data, sends it along with an edit prompt to OpenAI, parses the JSON response for the new image URL, and downloads the edited file for further processing or storage.

Ideal for content creators, marketers, and developers, it solves slow manual edits in design software by automating object replacement, augmentation, or tweaks. Benefits include faster A/B testing of visuals, bulk processing of product shots or social media graphics, and integration into low-code pipelines, saving hours of repetitive work.

Setup requires only your OpenAI API key. Customize by swapping triggers (e.g., Google Drive, Airtable), adding loops for chained edits, conditionals for quality checks, or outputs to S3, Slack, or Drive. A sticky note provides OpenAI docs links and tips for optimal prompts and masking.

$12.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Internet of Things workflows

More from Leandro Rossi

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.