π¬ Enhance Google Drive images with Gemini 2.5 Flash AI
β‘ 141 views Β· π¬ Content Creation & Video
Description
π 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
mimeTypecontains"image". - Loop Handling β Iterates over all images in the source folder until all are processed.
βοΈ Setup Instructions
-
Configure Prompt
- Open the
promtnode. - Replace the text with your desired Gemini instructions (e.g., βAdd a clean, realistic background for baby productsβ).
- Open the
-
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).
- In
-
Credentials
- Provide valid Google Drive OAuth2 credentials for both Drive nodes.
- Provide a Google Gemini API credential for the
banana-requestnode.
-
Run the Workflow
- Trigger from the
initnode. - Workflow will download β convert β send to Gemini β reconvert β upload results automatically.
- Trigger from the
π Customization Guidance
- Modify the prompt text to change how Gemini processes the images (background, style, product focus).
- Swap
Search Queryfor 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
π Nodes Used
HTTP Request, Google Drive, Filter, Convert to File, Extract from File
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File