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-10-19.

Nodes used (5)

What it does

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 handle multiple images. 5. Convert the base64 image data into downloadable binary files. Set up steps Initial setup takes around 5–10 minutes. You’ll need an OpenAI API key, a configured HTTP Request node with credentials, and to customize the prompt/parameter fields in the “Set Variables” node. No advanced config or external services needed. Important Note You have to make sure to complete OpenAI's new verification requirements to use their new image API: https://help.openai.com/en/articles/10910291-api-organization-verification It only takes a few minutes and does not cost any money.

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.