Templates / Generate AI images with Gemini and upload them to WordPress (sub-workflow)

Generate AI images with Gemini and upload them to WordPress (sub-workflow)

Ready for 3.0

by AI Solutions ✓ · 61 views · created 2026-04-16 · Content Creation, Multimodal AI

Ready 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.

  1. Gemini — Generate Image (Google Gemini): work with image
  2. WP — Upload Image to Media Library (HTTP Request): calls an HTTP API (POST)
  3. Set — Return Image Data (Edit Fields (Set)): sets 3 fields: url, media_id, alt

Services it uses

Google Gemini

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)

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…

Excerpt from AI Solutions's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.