Skip to content

SamurAIGPT/AI-Faceless-Video-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Faceless Video Generator

GitHub stars License Python Open In Colab

Generate talking face videos from just a topic using AI. Combines script generation, text-to-speech, and face animation to create complete videos automatically.

Tutorials

Demo

https://github.com/SamurAIGPT/Faceless-Video-Generator/blob/main/Demo/Demo1.mp4

Features

  • Script Generation - Generate video scripts on any topic using OpenAI GPT
  • AI Voice - Convert scripts to natural-sounding speech with gTTS
  • Face Animation - Create realistic talking avatars with SadTalker
  • End-to-End Pipeline - From topic to video in one workflow
  • Custom Avatars - Use any face image as your video presenter

How It Works

Topic Input → GPT Script → gTTS Voice → SadTalker Animation → Video Output
  1. Enter a topic for your video
  2. AI generates a compelling script
  3. Text-to-speech creates the voiceover
  4. SadTalker animates the avatar to match the audio
  5. Get your complete talking-head video

Quick Start

Option 1: Google Colab (Recommended)

Open In Colab

  1. Open the Colab notebook
  2. Run all cells
  3. Enter your topic and avatar
  4. Download your video

Option 2: Local Installation

# Clone the repository
git clone https://github.com/SamurAIGPT/AI-Faceless-Video-Generator.git
cd AI-Faceless-Video-Generator

# Install dependencies
pip install -r requirements.txt

# Run the Jupyter notebook
jupyter notebook FacelessColab.ipynb

Requirements

  • Python 3.8+
  • OpenAI API key
  • GPU recommended for SadTalker (or use Colab)

API Alternative

Want to skip the setup? Use the Vadoo AI API to generate faceless videos programmatically:

import requests

response = requests.post(
    "https://viralapi.vadoo.tv/api/generate_video",
    headers={"X-API-KEY": "your_api_key"},
    json={"topic": "Your Topic Here"}
)

Tech Stack

Component Technology
Script Generation OpenAI GPT
Text-to-Speech gTTS
Face Animation SadTalker
Notebook Runtime Google Colab

Contributing

Contributions are welcome! Feel free to submit a Pull Request.

Follow for Updates

Related Projects

License

MIT License - see LICENSE for details.