Generate consistent styled images from references with Google Gemini and Sheets

Who’s it for

This workflow is designed for creators, designers, and automation builders who need to generate visually consistent images at scale.
It is ideal for teams producing branded visuals, social media assets, or AI-generated images where preserving a recognizable visual style is important.

If you already manage prompts and image references in Google Sheets and want a repeatable, automated image generation pipeline, this template is a good fit.

How it works / What it does

The workflow is triggered via a webhook and reads pending image generation tasks from a Google Sheet.
For each row, it downloads a reference image and analyzes its visual characteristics using Google Gemini, including color palette, composition, and overall artistic style.

Using this analysis, Gemini generates a new image that follows the same visual style while applying your provided prompt.
The generated image is uploaded to Google Drive, and the original Google Sheet is updated with the result or an error message.

Real-time status updates are sent during execution using ntfy.sh notifications.

How to set up

Create a Google Sheet with columns such as gorsel_id, ana_prompt, stil_prompt, referans_url, and durum. Connect credentials for Google Sheets, Google Drive, and Google Gemini. Replace the Document ID and Folder ID values in the corresponding nodes. Update the ntfy topic name with your own unique topic. Activate the workflow and trigger it using the webhook URL.

Requirements

Google Sheets account
Google Drive account
Google Gemini (PaLM) API credentials
Self-hosted n8n instance

> This workflow uses community nodes and is supported on self-hosted n8n instances only.

How to customize the workflow

You can adjust the Wait nodes to better align with your API rate limits.
To control how closely the generated image matches the reference style, modify the instructions in the Analyze – Gemini – Visual Style node.

You can also extend the workflow with additional approval steps, storage locations, or notification channels without changing the core logic.

🧑‍💻 Creator Information Developed by: Adem Tasin 🌐 Website: ademtasin.com 💼 LinkedIn: ademtasin

0
Downloads
38
Views
8.18
Quality Score
beginner
Complexity
Author:Adem Tasin(View Original →)
Created:2/13/2026
Updated:3/14/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments