Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎬 UGC Machine - AI-Powered Ad Replication System

Transform winning ads into custom video content with AI-driven analysis and Sora 2 prompts.


πŸŽ₯ Video Guide

Watch the Setup Tutorial

πŸ‘‰ Watch Full Tutorial

🎁 Join FREE Skool Community - Get 50+ AI Agent Templates


⚑ How It Works

🎯 Find Ad β†’ πŸ” Gemini Analysis β†’ πŸ“ Template Creation β†’ 🎨 Brand Adaptation β†’ 🎬 Sora 2 Prompts

🎯 What It Does

  • πŸ” Analyze winning ads - Forensic breakdown of viral UGC content
  • πŸ“‹ Create templates - Extract replicable patterns from successful ads
  • 🎨 Adapt messaging - Integrate your product and brand voice
  • 🎬 Generate Sora prompts - Production-ready video generation instructions
  • ⚑ Scene consolidation - Intelligent 10-15 second clip optimization
  • 🎭 Character consistency - Maintain visual coherence across scenes

πŸ› οΈ Requirements

Service Cost Purpose
Gemini API Free tier available Video analysis
OpenRouter (Claude Sonnet 4.5) ~$3-15/mo Prompt generation
Airtable Free tier available Data management
n8n Free (self-hosted) Workflow automation

πŸš€ Quick Setup

  1. Copy Airtable Base - Get template here
  2. Import workflow to n8n
  3. Connect APIs:
  4. Update credentials in workflow nodes
  5. Configure Airtable base ID and table references
  6. Test with sample ad πŸŽ‰

πŸ“Š Workflow Architecture

Stage 1: Video Analysis (Gemini)

πŸ“Ή Input: Ad URL from Meta Ad Library
πŸ” Output: Forensic scene-by-scene breakdown
  • Camera specifications and movements
  • Lighting and cinematography details
  • Character descriptions and performance notes
  • Dialogue transcription with delivery notes
  • Editing style (jump cuts, continuous takes)
  • Audio environment and ambience

Stage 2: Prompt Generation (Claude Sonnet 4.5)

πŸ“‹ Input: Video analysis + Your product messaging
🎨 Output: Sora 2-ready video prompts
  • Intelligent scene consolidation (10-15 sec clips)
  • Adapted dialogue maintaining original style
  • Product visual swapping
  • Character consistency preservation
  • Technical specifications for Sora 2

🎬 Perfect For

πŸ“± UGC Creators | πŸ›οΈ E-commerce Brands | πŸ“Ί Marketing Agencies | πŸŽ₯ Content Studios | πŸ’Ό DTC Companies


πŸ’‘ Key Features

Forensic Analysis

βœ… Frame-by-frame cinematography breakdown
βœ… Exact dialogue transcription with filler words
βœ… Character appearance documentation
βœ… Jump cut and editing style detection
βœ… Audio environment mapping

Smart Adaptation

βœ… Copywriting-quality dialogue rewriting
βœ… Brand voice consistency
βœ… Word count matching (Β±10 words)
βœ… Energy and pacing preservation
βœ… Product visual swapping

Sora 2 Optimization

βœ… 10-15 second clip consolidation
βœ… Scene grouping logic
βœ… Duration validation (prevents content inflation)
βœ… JSON-formatted output for easy integration
βœ… Character cameo support (@username)


πŸ“‹ Airtable Structure

Fields:

  • Name - Ad identifier
  • Original Ad URL - Source video link
  • Your Product Message - Brand messaging and product details
  • Character - Description or Sora 2 cameo (@username)
  • Scene 1-5 Prompts - Generated Sora 2 instructions
  • Generate Prompts - Button trigger for workflow

βš™οΈ Configuration Options

Critical Constraints

maxPromptDuration: 15         // Sora 2 maximum (10 or 15 sec)
maxTotalOverage: 10           // Max seconds over original length
sceneSplitThreshold: 15       // When to break scenes

Gemini Analysis

  • Ignore on-screen text and captions
  • Group uninterrupted B-roll
  • Capture exact dialogue with filler words
  • Document jump cuts and editing style

Claude Prompt Generation

  • Match original word count (Β±10 words)
  • Preserve sentence structure and rhythm
  • Maintain emphasis patterns
  • Adapt product references only

🎯 Use Cases

Industry Application
πŸ‹οΈ Fitness Supplement testimonials
πŸ’„ Beauty Skincare routines
🍽️ Food Recipe/product demos
πŸ‘• Fashion GRWM content
🏠 Home Product unboxings

🌟 Benefits

Traditional Method UGC Machine
❌ $500-5K per video βœ… $50-200 with Sora 2
❌ 2-4 week production βœ… Same day turnaround
❌ Manual scriptwriting βœ… Auto-adapted copy
❌ Hire actors/crew βœ… AI-generated talent
❌ One-off content βœ… Scalable templates

πŸ”§ Advanced Features

Dialogue Adaptation Engine

  • Matches original pacing (WPM calculation)
  • Preserves conversational imperfections
  • Maintains emotional arc structure
  • Applies brand voice guidelines

Scene Intelligence

  • Natural grouping logic (DTC + B-roll)
  • Major break point detection
  • Duration optimization (10 vs 15 sec decisions)
  • Part splitting for long scenes

Quality Control

  • Total duration validation
  • Content inflation prevention
  • Character consistency checks
  • Technical spec preservation

πŸ“ Product Messaging Template

Product Name: [Your Product]
Product Category: [Category]
Visual Description: [Detailed Sora 2 specs]

Brand Voice:
- Tone: [Confident/Casual/Educational]
- Language Style: [Professional/Conversational]
- Key Phrases: [Example messaging]

Key Benefits:
1. [Primary benefit with proof]
2. [Secondary benefit]
3. [Tertiary benefit]

Target Audience:
- Demographics: [Age/interests]
- Pain Points: [Problems you solve]
- Goals: [What they want to achieve]

🎬 Output Format

JSON Structure:

{
  "prompt_1": "# PROMPT 1 (Duration: 15 seconds)\n\n**Overview:** ...\n\n**Sora Parameters:** ...",
  "prompt_2": "# PROMPT 2 (Duration: 10 seconds)\n\n...",
  "prompt_3": "..."
}

Each prompt includes:

  • Duration specification (10 or 15 sec)
  • Scene overview and style notes
  • Complete Sora 2 parameters
  • Sub-scene cinematography details
  • Character descriptions
  • Adapted dialogue with delivery notes

🚨 Important Notes

⚠️ Copyright Compliance - Only analyze ads you have rights to replicate
⚠️ Duration Rules - Never exceed original length by >10 seconds
⚠️ Dialogue Matching - Maintain original word count and structure
⚠️ Character Cameos - Use @username format for Sora 2 consistency
⚠️ Technical Specs - Preserve all cinematography details exactly


πŸ† Credits

Created by Chase AI

Ready to scale your content production? Join Chase AI+ for advanced training on building AI agencies.


Now go create viral content at scale! πŸš€πŸŽ¬

About

n8n template for creating high quality AI UGC ads

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors