Clean travel photos by removing people with Google Gemini and Google Drive
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs when someone submits an n8n form (“AI Travel Photo Cleaner”). Along the way it connects Google Gemini and Google Drive.
How it runs
Trigger: When someone submits an n8n form (“AI Travel Photo Cleaner”).
- Normalize Form Input (Edit Fields (Set)): sets 3 fields: preferred_language, removal_mode, photo_count
- Split Photos into Items (Code): runs custom JavaScript code
- Analyze Photo (Google Gemini): analyze (image)
- Parse Photo Analysis (Code): runs custom JavaScript code
- People Found? (If): checks a condition and branches into true / false
- Keep Selected People? (If): checks a condition and branches into true / false
- Prepare Unchanged Photo (Code): runs custom JavaScript code
- Prepare People Selection (Code): runs custom JavaScript code
- Remove People from Photo (Google Gemini): edit (image)
- Merge: merges the data from its input branches
…plus 18 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Google Drive
n8n-nodes-base.googleDrive - n8n Form
n8n-nodes-base.form - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow provides an upload form that analyzes travel photos with Google Gemini, removes all people or only unselected people, then uploads the cleaned images to Google Drive and returns a results page with preview thumbnails and download…