Create videos with AI-generated backgrounds using Gemini and VideoBGRemover
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Drive. It also calls generativelanguage.googleapis.com and api.videobgremover.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Extract Webhook Data (Edit Fields (Set)): sets 4 fields: video_url, background_prompt, aspect_ratio…
- Sample Inputs (Edit Here) (Edit Fields (Set)): sets 4 fields: video_url, background_prompt, aspect_ratio…
- Merge: merges the data from its input branches
- 1. Generate Background Image (Gemini) (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Extract Image Data (Code): runs custom JavaScript code
- 2. Save Background Image to Drive (Google Drive): uses Google Drive
- 3. Make Background Image Public (Google Drive): share
- 4. Create Job (Upload Video) (HTTP Request): calls api.videobgremover.com (POST)
- 5. Start Composition (AI Background) (HTTP Request): calls an HTTP API (POST)
- 6. Check Job Status (HTTP Request): calls an HTTP API
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: generativelanguage.googleapis.com, api.videobgremover.com
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 (10)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Automated workflow that generates custom AI image backgrounds from text prompts using Gemini's Nano Banana (native image generation), removes video backgrounds, and composites videos on AI-generated scenes. Create any background you can imagine without…