Generate product images & videos with Gemini AI, DeepSeek, and GoAPI for e-commerce
Ready for 3.0What this workflow does
This AI workflow has 37 nodes and runs when someone submits an n8n form (“Image Generation Form”) (plus 2 other triggers). Along the way it connects Discord, OpenRouter Chat Model, Google Gemini Chat Model and Google Gemini. It also calls openrouter.ai, homelab-mediahosting.4m6m9w.easypanel.host and api.goapi.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Image Generation Form”) (plus 2 other triggers).
- Get the Data (Edit Fields (Set)): sets 3 fields: description, text, productOptions
- Product Prompt Agent (AI Agent): runs an AI agent, with model: Model, Google Gemini Chat Model; output parser: Structured Output Parser
- Send the Error (Discord): uses Discord
- Nano Banana Image (HTTP Request): calls openrouter.ai (POST)
- Get the Base64 String (Edit Fields (Set)): sets 1 field: image_string
- Convert to File: converts data to a file (to binary)
- Upload to MediaUpload (HTTP Request): calls homelab-mediahosting.4m6m9w.easypanel.host (POST)
- Extract Image Url (Edit Fields (Set)): sets 1 field: url
- Product Visualiser (Google Gemini): analyze (image)
- Model Prompt Generator (AI Agent): runs an AI agent, with model: Model, Google Gemini Chat Model; output parser: Structured Output Parser
…plus 15 more steps. See the full node list below.
Services it uses
HTTP calls to: openrouter.ai, homelab-mediahosting.4m6m9w.easypanel.host, api.goapi.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 (15)
- HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile - Edit Fields (Set)
n8n-nodes-base.set - Error Trigger
n8n-nodes-base.errorTrigger - Discord
n8n-nodes-base.discord - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - HTML
n8n-nodes-base.html - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - n8n Form Trigger
n8n-nodes-base.formTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
From the author
This workflow is designed for e-commerce, marketing teams, or creators who want to automate the production of high-quality, AI-generated product visuals and ad creatives. Here is what the workflow does: It accepts a product description and other creative…