Templates / Compose/Stitch separate images together using n8n & Gemini AI image editing

Compose/Stitch separate images together using n8n & Gemini AI image editing

Ready for 3.0

by Jimleuk ✓ · 5,060 views · created 2025-06-09 · 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 workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive. It also calls res.cloudinary.com and generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Dalmation (HTTP Request): calls res.cloudinary.com
  2. Sofa (HTTP Request): calls res.cloudinary.com
  3. Character (HTTP Request): calls res.cloudinary.com
  4. Merge: merges the data from its input branches
  5. Extract from File: extracts data from a file (binary to propery)
  6. Aggregate: combines items into one
  7. Gemini Image Compose (HTTP Request): calls generativelanguage.googleapis.com (POST)
  8. Get Image Contents (Edit Fields (Set)): sets 2 fields: image, mimeType
  9. Convert to File: converts data to a file (to binary)
  10. Upload to Drive (Google Drive): uses Google Drive

Services it uses

Google Drive

HTTP calls to: res.cloudinary.com, generativelanguage.googleapis.com

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 (8)

From the author

This n8n template demonstrates how to use AI to compose or "stitch" separate images together to generate a new image which retains the source assets and consistent style. Use cases are many: Try producing storyboard scenes with consistent characters,…

Excerpt from Jimleuk'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.