# Generate consistent styled images from references with Gemini: n8n workflow

> Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/generate-consistent-styled-images-from-references-with-gemin (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Generate consistent styled images from references with Gemini

Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini. 21 steps, 2 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-consistent-styled-images-from-references-with-gemin)

**21 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**5** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 8 Service 9

The steps in the order they run, from what starts it.

- 1 **Webhook** Webhook *Starts it*
- 2 **Respond to Webhook** Respond To Webhook *Starts it*
- 3 **Read – Google Sheets – Pending Prompts** Google Sheets *Service*
- 4 **ntfy - Start Alert** Http Request *Service*
- 5 **Split – Process Items Individually** Split In Batches *Logic*
- 6 **ntfy - Workflow Completion Alert** Http Request *Service*
- 7 **Download – Reference Image** Http Request *Service*
- 8 **Wait #1** Wait *Logic*
- 9 **Analyze – Gemini – Visual Style** Google Gemini *Model*
- 10 **If - Check Analysis Result** If *Logic*
- 11 **Create – Gemini – New Image From Style** Google Gemini *Model*
- 12 **Update – Google Sheets – Error Status** Google Sheets *Service*
- 13 **If - Check Image Generation** If *Logic*
- 14 **Wait #4** Wait *Logic*
- 15 **ntfy - Task Error Alert** Http Request *Service*
- 16 **ransform – Code – Prepare Image Binary** Code *Logic*
- 17 **Upload – Google Drive – Store Generated Image** Google Drive *Service*
- 18 **Wait #2** Wait *Logic*
- 19 **Update – Google Sheets – Success Status** Google Sheets *Service*
- 20 **ntfy - Task Success Alert** Http Request *Service*
- 21 **Wait #3** Wait *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 21, with 2 branches, 5 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-consistent-styled-images-from-references-with-gemin)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**ACOP - bank account opening AI agent with Gemini** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/acop-bank-account-opening-ai-agent-with-gemini)
- [**Automate HR celebrations with Gemini and Sheets** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-hr-celebrations-with-gemini-and-sheets)
- [**Automating SAP B1 journal entries with JSON and Google Sheets** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automating-sap-b1-journal-entries-with-json-and-google-sheet)
- [**Build an EU AI Act risk inventory with OpenAI** 21 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/build-an-eu-ai-act-risk-inventory-with-openai)
- [**Cluster webpage topics from Google Sheets** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/cluster-webpage-topics-from-google-sheets)
- [**Customer personality (BaZi, DISC, Numerology) with Gemini** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/customer-personality-bazi-disc-numerology-with-gemini)
