Generate and host AI images on your CDN with Gemini Imagen 3 and Upload to URL
UnknownWhat this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Uploadtourl (community). It also calls generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Route by Job Type (Switch): routes items into 2 branches
- Build Localize Prompt (Code): runs custom JavaScript code
- Build Mockup Prompt (Code): runs custom JavaScript code
- Respond – Error (Respond to Webhook): sends the response back to the webhook caller
- Gemini Imagen 3 – Localize (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Gemini Imagen 3 – Mockup (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Decode Localize Image (Code): runs custom JavaScript code
- Decode Mockup Image (Code): runs custom JavaScript code
- Upload To Url: uses Upload To Url
- Upload To Url: uses Upload To Url
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: generativelanguage.googleapis.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-uploadtourl is verified or supports 3.0 (used in Upload to URL, Upload to URL1).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Upload To Url
n8n-nodes-uploadtourl.uploadToUrl
From the author
🎨 AI Image Generation & CDN Hosting Automation with Gemini Imagen 3 Streamline your creative production with this high-performance image generation and hosting pipeline. This workflow automates the transition from raw creative prompts to hosted assets,…