Generate AI images with Gemini and upload them to WordPress (sub-workflow)
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 4 nodes and runs when another workflow calls it. Along the way it connects Google Gemini.
How it runs
Trigger: When another workflow calls it.
- Gemini — Generate Image (Google Gemini): work with image
- WP — Upload Image to Media Library (HTTP Request): calls an HTTP API (POST)
- Set — Return Image Data (Edit Fields (Set)): sets 3 fields: url, media_id, alt
Services it uses
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 (4)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
🖼️ Generate AI Image with Gemini and Upload to WordPress Sub-workflow — Called by a parent workflow to generate a photorealistic AI image from a text prompt and upload it directly to the WordPress Media Library. How it works 1. Receives a query string field…