Skip to main content

Enhance Google Drive images with Gemini 2.5 Flash AI

Workflow preview

Workflow preview
100%
Enhance Google Drive images with Gemini 2.5 Flash AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Google Drive Image Enhancement with Gemini nano banana This workflow automates image enhancement by integrating Google Drive with Google Gemini . It fetches unprocessed images from a source fold...

Best for

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

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.extractfromfile, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.googledrive, n8n-nodes-base.converttofile, n8n-nodes-base.filter, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Enhance Google Drive images with Gemini 2.5 Flash AI
Workflow name
Enhance Google Drive images with Gemini 2.5 Flash AI

🚀 Google Drive Image Enhancement with Gemini nano banana This workflow automates image enhancement by integrating Google Drive with Google Gemini. It fetches unprocessed images from a source folder, applies AI-driven transformations based on a customizable prompt (e.g., clean and realistic product backgrounds), and uploads the enhanced results into a destination folder—streamlining e-commerce catalog preparation or creative pipelines.


🔑 Key Features

  • Customizable Prompt Node → Easily adjust the style/instructions for Gemini (e.g., backgrounds, lighting, focus).
  • Google Drive Integration → Automatically fetches images from a source folder and uploads results to a target folder.
  • AI Processing via Gemini → Converts original images to Base64, sends them with the prompt to Gemini, and returns enhanced versions.
  • Image Filtering → Processes only files whose mimeType contains "image".
  • Loop Handling → Iterates over all images in the source folder until all are processed.

⚙️ Setup Instructions

  1. Configure Prompt

    • Open the promt node.
    • Replace the text with your desired Gemini instructions (e.g., "Add a clean, realistic background for baby products").
  2. Set Google Drive Folders

    • In origin_folder → set Search Query to the name of the source folder (with unprocessed images).
    • In destination_folder → set Search Query to the name of the target folder (to save results).
  3. Credentials

    • Provide valid Google Drive OAuth2 credentials for both Drive nodes.
    • Provide a Google Gemini API credential for the banana-request node.
  4. Run the Workflow

    • Trigger from the init node.
    • Workflow will download → convert → send to Gemini → reconvert → upload results automatically.

đź›  Customization Guidance

  • Modify the prompt text to change how Gemini processes the images (background, style, product focus).
  • Swap Search Query for folder IDs in Drive nodes if you need more precise targeting.
  • Extend the workflow by chaining post-processing (e.g., watermarking, resizing, or tagging metadata).

© 2025 Innovatex • Automation & AI Solutions • innovatexiot.carrd.co • LinkedIn


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 - Loop Over Items

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

Block 2 - to base64

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

Block 3 - banana-request

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

Block 4 - config-data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - download-file

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

Block 6 - map-banana-response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - to file

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

Block 8 - upload-result

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

Block 9 - get files

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

Block 10 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 11 - map table

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

Block 12 - init

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

Block 13 - promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - origin_folder

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

Block 15 - destination_folder

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

3. Summary Table

Workflow Enhance Google Drive images with Gemini 2.5 Flash AI
Complexity advanced
Nodes 18
Categories Content Creation, Multimodal AI
Author Edisson Garcia
Published 09 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9442/9442.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 Enhance Google Drive images with Gemini 2.5 Flash AI do?

Google Drive Image Enhancement with Gemini nano banana This workflow automates image enhancement by integrating Google Drive with Google Gemini . It fetches unprocessed images from a source fold...

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.