Templates / Create videos with AI-generated backgrounds using Gemini and VideoBGRemover

Create videos with AI-generated backgrounds using Gemini and VideoBGRemover

Ready for 3.0

by Paul Roussel ✓ · 457 views · created 2025-10-17 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Extract Webhook Data (Edit Fields (Set)): sets 4 fields: video_url, background_prompt, aspect_ratio…
  2. Sample Inputs (Edit Here) (Edit Fields (Set)): sets 4 fields: video_url, background_prompt, aspect_ratio…
  3. Merge: merges the data from its input branches
  4. 1. Generate Background Image (Gemini) (HTTP Request): calls generativelanguage.googleapis.com (POST)
  5. Extract Image Data (Code): runs custom JavaScript code
  6. 2. Save Background Image to Drive (Google Drive): uses Google Drive
  7. 3. Make Background Image Public (Google Drive): share
  8. 4. Create Job (Upload Video) (HTTP Request): calls api.videobgremover.com (POST)
  9. 5. Start Composition (AI Background) (HTTP Request): calls an HTTP API (POST)
  10. 6. Check Job Status (HTTP Request): calls an HTTP API

…plus 10 more steps. See the full node list below.

Services it uses

Google Drive

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)

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…

Excerpt from Paul Roussel's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.