🎬 Create videos with AI-generated backgrounds using Gemini and VideoBGRemover

215 views · 🎬 Content Creation & Video

Description

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 needing stock images.

How it works

Describe background: Provide video URL and text prompt describing desired background scene (e.g., “modern office with city skyline at golden hour”) • AI generates image: Gemini creates a background image from your prompt in ~10-20 seconds • Upload to Drive: Generated background is saved to Google Drive and made publicly accessible • Remove & composite: Video background is removed and composited on AI-generated scene with centered template • Save final video: Completed video is uploaded to Google Drive with shareable link

Set up steps

⏱️ Total setup time: ~5 minutes

Get Gemini API Key (~1 min): Visit https://aistudio.google.com/apikey, create new API key, add to n8n Settings → Variables as GEMINI_KEYGet VideoBGRemover API Key (~2 min): Visit https://videobgremover.com/n8n, sign up, add to n8n as VIDEOBGREMOVER_KEYConnect Google Drive (~2 min): Click “Save Background Image to Drive” node, click “Connect”, authorize n8n

Use cases:

Pricing:

Triggers: Webhook (for automation) or Manual (for testing)

Processing time: Typically 5-7 minutes total

Prompt tips: Be descriptive and specific. Instead of “office,” try: “A modern minimalist office with floor-to-ceiling windows overlooking a city skyline at golden hour. Warm sunlight, polished concrete floors, sleek wooden desks, green plants.”

🔗 Nodes Used

HTTP Request, Webhook, Google Drive

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup