Transform product images to marketing ads using Google Gemini AI
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when someone submits an n8n form (“Product Photo to Marketing Image”). It uses only n8n's built-in nodes. It also calls openrouter.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Product Photo to Marketing Image”).
- Convert Image to Base (Extract from File): extracts data from a file (binary to propery)
- Format Image URL for AI (Code): runs custom JavaScript code
- AI Marketing Image Generator (HTTP Request): calls openrouter.ai (POST)
- Extract Image Data (Edit Fields (Set)): sets 5 fields: data, base, content…
- Convert to Downloadable File (Convert to File): converts data to a file (to binary)
- Download Marketing Image (n8n Form): shows the next form page
HTTP calls to: openrouter.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 (7)
- Edit Fields (Set)
n8n-nodes-base.set - Convert to File
n8n-nodes-base.convertToFile - n8n Form
n8n-nodes-base.form - HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code
From the author
Transform Product Photos into Marketing Images with AI Made by Biznova | TikTok --- 🎯 Who's it for E-commerce sellers, social media marketers, small business owners, and content creators who need professional product advertising images without expensive…