Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that watches a Google Drive folder, sends each new image to Photoroom to remove its background, adds the colour and padding you choose, and saves the PNG in a second Drive folder.
Photoroom background removal for new Google Drive images is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
New image in a Drive folder
It starts when a new file appears in the Google Drive folder you watch, checked every minute. It brings:
A PNG with the background removed, your colour and padding applied, saved in a second Google Drive folder
What you need before you start.
Image source and storage
Watches the input folder, downloads each image and saves the result.
NeedsA Google Drive OAuth2 credential and two folders
Image editing
Removes the background and applies the colour and padding.
NeedsA Photoroom API key
Checked by Mindket on 13 Nov 2026
This n8n workflow cuts the background out of photos you drop in a Google Drive folder. Every minute it looks for new files. Each new image is downloaded, and its size is read. A Set step holds your choices: the background colour, the padding, the output size and the folder for results. Photoroom removes the background and applies those choices. Google Drive stores the finished PNG. Twelve nodes run it, beside two sticky notes.
Anyone with a steady flow of product or portrait photos who wants clean cut-outs without opening an editor. Skip it if every photo needs hand retouching. Each image is sent to Photoroom.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Online shops | Catalogue teams | Put every product on one plain white background | A team drops forty shots in a folder and gets white-backed PNGs back. |
| Marketing | Designers | Make cut-outs with a transparent background for banners | A designer sets the colour to transparent and drags the PNGs into a layout. |
| Fashion | Small brands | Clean up photos of clothes before a marketplace upload | A seller adds 5% padding so every item sits centred. |
| Print on demand | Shop owners | Get same-size cut-outs for mock-ups | An owner keeps the original size so the files match the artwork. |
You need to know n8n’s settings: import a file, add one Google Drive credential and paste an API key.
Any n8n that can reach Google Drive and Photoroom will run it.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup is one credential, one key and two folders.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Google Drive | An OAuth2 credential and two folders, one for input and one for results |
| Photoroom | An API key for the Image Editing API. A key that starts with sandbox_ makes free test calls with a watermark |
workflow.json.Watch for New Images, Download Image and both upload nodes.Watch for New Images, replace <YOUR_INPUT_FOLDER_ID> with the id of the folder to watch.Config. Replace <YOUR_PHOTOROOM_API_KEY> with your key, and replace <YOUR_OUTPUT_FOLDER_ID> in the folder address with the id of a second folder.Leave it running and drop photos in the input folder. The results appear in the output folder a short while later. Start with a sandbox key and a few images to check the colour and the padding.
| To change | Where |
|---|---|
| The background colour | bg_color in Config, a name, a hex value or transparent |
| The space around the subject | padding in Config, such as 5% |
| Keep each image’s size or use one size | keepInputSize and outputSize in Config |
| The folders | Watch for New Images and the folder address in Config |
| The output file name | The name field in both upload nodes |
You drop shoe.jpg in the input folder, with the colour set to white and padding of 5%.
BG-Removed-shoe.png
The output folder gets a PNG with the shoe on a white background, and 5% of space around it.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one watches a folder, asks Photoroom to cut out the subject and saves the result. Test with one image before you drop in a hundred.
For experts. One loop handles one image at a time.
| Node | What it does | What to know |
|---|---|---|
Watch for New Images | Polls one folder for new files | It fires for any new file, not only images |
Config | Holds the colour, padding, sizes, folder and key | The key sits in a plain field, so keep a shared copy private |
Get Image Size | Reads the size of the image | The size string feeds the original-size branch |
Merge Image With Settings | Joins the image and the settings by position | It expects one settings item for each image |
Loop Over Images | Passes one image at a time | The finished branch is not connected |
Use Fixed Size? | Picks the fixed size or the original size | True means fixed |
Remove Background Fixed Size | Posts the image to Photoroom as a form | The reply is the picture |
Run a few images first, because every image is one paid Photoroom call.
sandbox_ key allows 1,000 free calls a month, up to 100 a day, with a watermark on the resultAn n8n workflow that cuts the background out of photos you drop in a Google Drive folder. Every minute it looks for new
files. Each new image goes to Photoroom, which removes the background and applies the colour and padding you chose. The
result is saved as a PNG in a second Drive folder.
workflow.json: the workflow as n8n exports it, fourteen nodes. Two are sticky notes. It holds no credential.README.md: these notes.<YOUR_PHOTOROOM_API_KEY>, <YOUR_OUTPUT_FOLDER_ID> and <YOUR_INPUT_FOLDER_ID>.Remove Background Original Size sends the size that Get Image Size read. That string+0+0, and Photoroom's documentation says the value is a width and a height. TheUpload Picture to Google Drive1. The two background steps, the two upload steps, the sizesandbox_ makes free test calls, and the result carries a watermark.workflow.json.Watch for New Images, Download Image,Upload Fixed Size Picture and Upload Original Size Picture.Watch for New Images, replace <YOUR_INPUT_FOLDER_ID> with the id of the folder to watch, the part of its address/folders/.Config. Replace <YOUR_PHOTOROOM_API_KEY> with your key. In OutputDriveFolder, replace<YOUR_OUTPUT_FOLDER_ID> with the id of the results folder.Watch for New Images finds a new file and hands its id to two nodes.Download Image fetches the file, and Get Image Size reads its size. Split Out keeps the size and the image.Config makes one item with your settings and the original file name.Merge Image With Settings joins the two by position, and Loop Over Images passes one image at a time.Use Fixed Size? checks keepInputSize. When it is false, Remove Background Fixed Size uses outputSize. When it isRemove Background Original Size uses the size that was read.BG-Removed-<original name>.png in the results folder,bg_color in Config. It takes a colour name, a hex value or transparent.padding in Config, such as 5%.keepInputSize to false and give outputSize as a width and a height, like 1600x1600.OutputDriveFolder for the results.sandbox_ key allows 1,000 free calls a month, at.png.Watch for New Images fires for every new file, including files that are not images. Keep the input folder to pictures only.Config. On a shared n8n, move it to an HTTP header credential.NOTICE.md 653 B README.md 4 KB workflow.json 12 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
LiconStudio · Kit
Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…
nhathoangfoto · Kit
A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…