Templates / Generate custom AI images with OpenAI GPT-Image-1 model

Generate custom AI images with OpenAI GPT-Image-1 model

Ready for 3.0

by Max aka Mosheh ✓ · 14,166 views · created 2025-04-25 · 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. Set Variables (Edit Fields (Set)): sets 5 fields: image_prompt, number_of_images, quality_of_image…
  2. OpenAI - Generate Image (HTTP Request): calls api.openai.com (POST)
  3. Separate Image Outputs (Split Out): splits a list into separate items
  4. 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 (5)

From the author

How it works 1. Trigger the workflow manually via the n8n UI. 2. Define key parameters like the image prompt, number of images, size, quality, and model. 3. Send a POST request to OpenAI’s image generation API using those inputs. 4. Split the API response to…

Excerpt from Max aka Mosheh'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.