Skip to content
FlowHubFluxonLab
C
Edit Imagefree

Upscale and watermark real estate photos with Google Drive, Gemini, and Sheets

by iamvaaradapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeEdit ImageEdit ImageGoogle DriveGoogle DriveGoogle SheetsGoogle SheetsHTTP RequestHTTP Request
Share Post Share
GDWhen File Added to DriveWhen File Added…Download Image FileDownload Image …EIApply Watermark to ImageApply Watermark…EFExtract File MetadataExtract File Me…HRPost to Gemini APIPost to Gemini …CTConvert Response to FileConvert Respons…HRFetch Watermark LogoFetch Watermark…CoCalculate Watermark PositionCalculate Water…Upload Watermarked ImageUpload Watermar…Upsert Row in SheetsUpsert Row in S…Read Row in SheetsRead Row in She…IfIf Row Is Empty1234567891011
1/5
STEPS · 11
Starts on a Google Drive event

Quick overview Youtube Explanation: https://youtu.be/tDiR50VJslY This workflow watches a Google Drive folder for new property photos, checks Google Sheets to avoid reprocessing, upscales the image using the Google Gemini API, applies a logo watermark, then uploads the final image to a processed folder and logs the result back to Google Sheets. How it works Triggers every minute when a new file is created in a specific Google Drive folder. Looks up the file name in Google Sheets to see whether the image is already marked as processed. If no processed row exists, downloads the image from Google Drive and extracts its binary data. Sends the image to the Google Gemini (Generative Language) API to enhance and upscale it, then converts the returned base64 image into a binary file. Downloads a watermark logo from a public URL, calculates a bottom-right placement based on the image and logo dimensions, and composites the logo onto the upscaled image. Uploads the watermarked image to a target Google Drive folder and appends or updates a matching row in Google Sheets to mark it as processed.

Tags

n8nreference-onlyedit-imagegoogle-drivegoogle-sheets
Connects
CCodeeditimageEdit ImagegoogledriveGoogle DrivesheetsGoogle SheetsWHTTP Request
CategoryEdit Image
Triggermanual
Complexitycomplex
Nodes12
AddedJul 8, 2026

Related workflows

See all Edit Image
editimagegoogledriveW
free

Automatic Background Removal for Images in Google Drive

This n8n workflow simplifies the process of removing backgrounds from images stored in Google Drive. By leveraging the PhotoRoom API, this template enables automatic background removal, padding adjustments, and output formatting, all while storing the updated images back in a designated Google Drive folder. This workflow is very useful for companies or individuals that are spending a lot of time into removing the background from product images. How it Works The workflow begins with a Google Drive Trigger node that monitors a specific folder for new image uploads. Upon detecting a new image, the workflow downloads the file and extracts essential metadata, such as the file size. Configurations are set for background color, padding, output size, and more, which are all customizable to match specific requirements. The PhotoRoom API is called to process the image by removing its background and adding padding based on the settings. The processed image is saved back to Google Drive in the specified output folder with an updated name indicating the background has been removed. Requirements PhotoRoom API Key Google Drive API Access Customizing the Workflow Easily adjust the background color

by Simon
CeditimageW
free

Overlay or Watermark Images by Merging with Another Image

Instructions This automation overlays a background image with another image, making it easy to add watermarks or logos. You can use this automation to watermark your images by overlaying them with a transparent version of your logo. If you'd like to place your logo in a specific corner, feel free to adjust the position of the overlay image in the code node. How it Works Both images are downloaded, so we can process binary files (you can modify the source, tho.) We extract metadata, focusing on the dimensions of each image. The position of the overlay image is calculated (default: dead center of the background image). The two images are composited together. Limitations and Optimisation Opportunities The overlay image must be the same size or smaller than the background image for proper alignment. The overlay image does not automatically scale to match the proportions of the background image. Enjoy the workflow! ❤️ let the work flow — Workflow Automation & Development

by Marcel Claus-Ahrens
CeditimageW
free

Prompt-based Object Detection with Gemini 2.0

This n8n template demonstrates how to get started with Gemini 2.0's new Bounding Box detection capabilities in your workflows. The key difference being this enables prompt-based object detection for images which is pretty powerful for things like contextual search over an image. eg. "Put a bounding box around all adults with children in this image" or "Put a bounding box around cars parked out of bounds of a parking space". How it works An image is downloaded via the HTTP node and an "Edit Image" node is used to extract the file's width and height. The image is then given to the Gemini 2.0 API to parse and return coordinates of the bounding box of the requested subjects. In this demo, we've asked for the AI to identify all bunnies. The coordinates are then rescaled with the original image's width and height to correctl align them. Finally to measure the accuracy of the object detection, we use the "Edit Image" node to draw the bounding boxes onto the original image. How to use Really up to the imagination! Perhaps a form of grounding for evidence based workflows or a higher form of image search can be built. Requirements Google Gemini for LLM Customising the workflow This template

by Jimleuk