Templates / Generate and Edit Images with OpenAI's GPT-Image-1 Model

Generate and Edit Images with OpenAI's GPT-Image-1 Model

Ready for 3.0

by Edoardo Guzzi ✓ · 4,822 views · created 2025-04-24 · Content Creation, Multimodal AI

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 5 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Create image call (HTTP Request): calls api.openai.com (POST)
  2. Convert json binary to File (Convert to File): converts data to a file (to binary)
  3. Edit Image (OpenAI) (HTTP Request): calls api.openai.com (POST)
  4. Convert json binary to File final (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 (3)

From the author

This template integrates OpenAI's image generation and editing endpoints via the GPT-Image-1 model to visually create and manipulate images based on prompts. It features base64 conversion, binary handling, and prompt chaining. Perfect for marketing, design,…

Excerpt from Edoardo Guzzi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.