🎬 Generate UGC marketing videos for eCommerce with Sora 2 and Gemini

⚑ 8,379 views · 🎬 Content Creation & Video

Description

Overview & Setup

This n8n template demonstrates how to automatically generate authentic User-Generated Content (UGC) style marketing videos for eCommerce products using AI. Simply upload a product image, and the workflow creates multiple realistic influencer-style video ads complete with scripts, personas, and video generation.

Use cases

Good to know

How it works

  1. Product Analysis: OpenAI’s vision API analyzes the uploaded product image to understand its features, benefits, and target audience
  2. Persona Creation: The system generates a detailed profile of the ideal influencer/creator who would authentically promote this product
  3. Script Generation: Gemini 2.5 Pro creates multiple authentic UGC video scripts (12 seconds each) with frame-by-frame breakdowns, natural dialogue, and camera movements
  4. Frame Generation: For each script, Gemini generates a custom first frame that adapts the product image to match UGC aesthetic and aspect ratio
  5. Video Production: Sora 2 API generates the actual video using the script and custom first frame as reference
  6. Status Monitoring: The workflow polls the video generation status every 15 seconds until completion
  7. Upload & Storage: Completed videos are automatically uploaded to Google Drive with organized naming

How to use

  1. Click the form trigger URL to access the submission form
  2. Upload your product image (works best with clean product shots on white/neutral backgrounds)
  3. Enter the product name
  4. Submit the form and wait for the workflow to complete
  5. Find your generated UGC videos in the specified Google Drive folder
  6. Each run produces multiple video variations you can test

Requirements

Customizing this workflow

πŸ”— Nodes Used

Edit Image, HTTP Request, Google Drive, Basic LLM Chain, Structured Output Parser, n8n Form Trigger

πŸ“₯ Import

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

πŸ“– Importing guide Β· πŸ”‘ Credential setup