Skip to main content

Generate consistent styled images from references with Google Gemini and Sheets

Workflow preview

Workflow preview
100%
Generate consistent styled images from references with Google Gemini and Sheets preview
Open on n8n.io

1. Workflow Overview

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, s...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.googlegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Adem Tasin.

Original n8n.io source

1.1 Workflow description

Title
Generate consistent styled images from references with Google Gemini and Sheets
Workflow name
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

  1. Create a Google Sheet with columns such as gorsel_id, ana_prompt, stil_prompt, referans_url, and durum.
  2. Connect credentials for Google Sheets, Google Drive, and Google Gemini.
  3. Replace the Document ID and Folder ID values in the corresponding nodes.
  4. Update the ntfy topic name with your own unique topic.
  5. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 3 - Wait #1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 4 - Wait #2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 5 - Wait #3

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Wait #4

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 7 - ntfy - Start Alert

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 8 - ntfy - Task Error Alert

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 9 - ntfy - Workflow Completion Alert

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 10 - ntfy - Task Success Alert

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 11 - If - Check Analysis Result

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 12 - If - Check Image Generation

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 13 - Read – Google Sheets – Pending Prompts

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Split – Process Items Individually

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 15 - Download – Reference Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Analyze – Gemini – Visual Style

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 17 - Create – Gemini – New Image From Style

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 18 - ransform – Code – Prepare Image Binary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Upload – Google Drive – Store Generated Image

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 20 - Update – Google Sheets – Success Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 21 - Update – Google Sheets – Error Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 22 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate consistent styled images from references with Google Gemini and Sheets
Complexity advanced
Nodes 25
Categories Content Creation, Multimodal AI
Author Adem Tasin
Published 30 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13117/13117.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate consistent styled images from references with Google Gemini and Sheets do?

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, s...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.