Generate scalable e-commerce product images with GPT-4 and NanoBanana Pro
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when someone submits an n8n form (“Upload 3 Images for Analysis ”). Along the way it connects Google Drive, OpenAI, OpenAI Chat Model and Google Sheets. It also calls tmpfiles.org and api.atlascloud.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Upload 3 Images for Analysis ”).
- If: checks a condition and branches into true / false
- Normalize binary names (Edit Fields (Set)): sets 3 fields: image0, image1, image2
- Error Response - Missing Files (Edit Fields (Set)): sets 1 field: error
- Split images (Code): runs custom JavaScript code
- Upload file (Google Drive): uses Google Drive
- Analyze image (OpenAI): analyze (image)
- Build Public Image URL (HTTP Request): calls tmpfiles.org (POST)
- Merge: merges the data from its input branches
- Aggregate descriptions (Code): runs custom JavaScript code
- Generate Image Prompt (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: tmpfiles.org, api.atlascloud.ai
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 (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - OpenAI
@n8n/n8n-nodes-langchain.openAi - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
🚀 AI Image Generation Workflow – Scalable E-commerce Product Images This workflow automates the creation of high-quality, AI-generated product images using NanoBanana Pro. It analyzes multiple reference images, generates a professional photoshoot-style…