AI-Faceless-Video-Generator

SamurAIGPTMIT活跃维护

输入一段文字就能自动生成视频脚本、AI 配音和会说话的人脸,快速产出无真人出镜的短视频,适合做 Shorts 类内容。

Generate a video script, voice and a talking face completely with AI

暂无版本533star110fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/SamurAIGPT/AI-Faceless-Video-Generator.git
cd AI-Faceless-Video-Generator
pip install -r requirements.txt
jupyter notebook FacelessColab.ipynb
硬件要求按 README 说明

README 说明 SadTalker 推荐使用 GPU,也可改用 Google Colab 运行;未给出具体显存要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

输入一个主题,自动生成脚本、配音和数字人说话视频的端到端工具

输入一段文字就能自动生成视频脚本、AI 配音和会说话的人脸,快速产出无真人出镜的短视频,适合做 Shorts 类内容。

核心能力

  • 用 OpenAI GPT 按主题生成视频脚本
  • 用 gTTS 把脚本转成自然语音旁白
  • 用 SadTalker 驱动人脸图片生成说话头像
  • 支持任意人脸图片作为视频出镜形象
  • 提供从主题到成片的完整流水线

容易踩的坑

需要自备 OpenAI API key,否则脚本生成无法运行;SadTalker 本地运行需 GPU,无卡建议直接用 Colab;项目以 Jupyter notebook 形式提供,不是命令行脚本。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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

    ComponentTechnology
    Script GenerationOpenAI GPT
    Text-to-SpeechgTTS
    Face AnimationSadTalker
    Notebook RuntimeGoogle Colab

    Contributing

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

    Follow for Updates

    Related Projects

    License

    MIT License - see LICENSE for details.