GitHub - mingsh22/AI_Video · GitHub
Skip to content

mingsh22/AI_Video

Repository files navigation

AI Video Generation for Shopify Store Promotion

Project Overview

Create promotional videos for your Shopify store using advanced AI tools. Generate realistic videos where a person wears your products and speaks your script using FaceFusion 3 for superior face swapping quality.

Features

  • FaceFusion 3 - State-of-the-art face swapping with enhanced quality
  • AI-generated speech from text using OpenAI TTS
  • Lip synchronization with Wav2Lip
  • 30-second promotional videos optimized for TikTok
  • GPU acceleration via Google Colab

Tech Stack

  • FaceFusion 3 (Latest face swapping technology)
  • Google Colab (Free GPU)
  • Python
  • OpenAI API (Text-to-Speech)
  • Wav2Lip (Lip Sync)
  • CapCut (Final Editing)

Requirements

  • OpenAI API key
  • Template video (TikTok style)
  • Product images
  • Script content

Workflow

  1. Upload template video and face reference
  2. Generate audio from script using OpenAI TTS
  3. Perform face swap using Roop
  4. Apply lip sync using Wav2Lip
  5. Download final video for CapCut editing

Budget

  • Free Google Colab
  • OpenAI API: ~$0.05 per video
  • Total: ~$0.05 per video

Getting Started

  1. Open AI_Video_Generator.ipynb in Google Colab
  2. Follow the step-by-step instructions
  3. Upload your content when prompted
  4. Run all cells to generate your video

File Structure

AI_video/
├── README.md
├── AI_Video_Generator.ipynb          # Main Colab notebook (FaceFusion 3)
├── requirements.txt                  # Python dependencies
├── utils/
│   ├── face_swap.py                 # FaceFusion 3 utilities
│   ├── audio_generator.py           # OpenAI TTS integration
│   ├── lip_sync.py                  # Wav2Lip utilities
│   └── video_processor.py           # Video processing utilities
├── templates/
│   └── sample_script.txt            # Sample script template
└── assets/
    ├── sample_face.jpg              # Sample face reference
    └── sample_template_video.mp4    # Sample template video

Next Steps

  1. Collect template TikTok videos
  2. Prepare product scripts
  3. Test with sample content
  4. Scale to daily production

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages