Generate custom AI images with OpenAI GPT-Image-1 model
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. ...
🔌 Nodes & Integrations Used (1)
📖 Implementation & Setup Guide
**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.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Generate custom AI images with OpenAI GPT-Image-1 model.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...