๐ŸŽฌ Generate AI B-roll clips from videos with Veo 3

โšก 25 views ยท ๐ŸŽฌ Content Creation & Video

Description

How it works

1. Analyze the video โ€“ Downloads a 2-minute video and uses Gemini 2.5 Flash to identify emotional peaks, hook moments, and timestamps

2. Select best moments โ€“ Uses GPT-4o-mini to pick the 3 best moments for B-roll insertion based on confidence scores and emotional impact

3. Generate B-roll prompts โ€“ For each selected moment, GPT-4o creates an 80โ€“120 word Veo 3 prompt with camera movement, lighting, shot type, and music direction

4. Create B-roll clips โ€“ Generates four 8-second AI video clips with Veo 3.0 for each moment and uploads to GCS

5. Deliver โ€“ Aggregates all generated clip URLs and sends them to Telegram


Set up steps

  1. API Keys โ€“ Set up accounts for Google Cloud (Veo 3.0 + Gemini + GCS) and OpenAI

  2. Credentials in n8n โ€“ Add each API key as a credential in your n8n instance

  3. Configure variables โ€“ Update the SET and SET1 nodes with your Google Cloud PROJECT_ID and CLIENT_EMAIL

  4. Set video URL โ€“ Enter the URL of the video you want to analyze in the VIDEO URL node

  5. Test โ€“ Execute the workflow to analyze a video and generate B-roll clips

๐Ÿ”— Nodes Used

HTTP Request, Telegram, Google Cloud Storage, Convert to File, Extract from File, OpenAI

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup