Video GenerationOpen source codeOpenTalker/SadTalker

SadTalker: Open Source AI Repository & Self-Hosting Guide

Open-source audio-driven talking-head animation system synthesizing realistic 3D head pose, natural blinking, and lip sync from a single portrait and WAV audio.

GitHub Stars
14,234 stars
Repository License
Custom (see repo)
Last Push (UTC)
Jun 26, 2024
Check the repo's license. Model weights may have a different license.
Ethical Use Notice: Only use photos, videos, and likenesses of people who have given explicit permission.
git clone https://github.com/OpenTalker/SadTalker.git
View on GitHub
Installpip install -r requirements.txt && python app_sadtalker.py

SadTalker: Architecture & Practical Workflow

SadTalker predicts 3DMM expression and head-pose coefficients from audio via ExpNet/PoseVAE before rendering through a face-vid2vid spatial generator—integrating standalone Gradio UIs as well as Automatic1111 WebUI extensions.

Recommended End-to-End Pipeline

Pair authorized narrator voiceovers from F5-TTS or Chatterbox TTS with SadTalker (`--enhancer gfpgan`) to render clean talking avatar explainers.

Runtime Target
Self-Hosted / WebUI Extension (GitHub)
Primary Users
Creators, Educators, Developers
Code License
Custom (see repo)
Focus Topics
open-source, github, talking-head, no-watermark

Quick Setup & Installation Steps

Platform target: Self-Hosted / WebUI Extension (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/OpenTalker/SadTalker.git && cd SadTalker`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python app_sadtalker.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Pair authorized narrator voiceovers from F5-TTS or Chatterbox TTS with SadTalker (`--enhancer gfpgan`) to render clean talking avatar explainers.)

Hardware & VRAM Notes

Designed primarily for local or cloud GPU acceleration. Model weight size and batch resolution directly determine memory usage.

GPU & VRAM

NVIDIA CUDA GPU (typically 8 GB–24 GB+ VRAM depending on model checkpoint, quantization, and output resolution); check the README for FP8/GGUF offload options.

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / WebUI Extension (GitHub)

Strengths & Best For

  • Single image + audio -> talking video
  • Natural 3D head pose & blink synthesis
  • Free local execution with no forced watermark
  • Best suited for: Creators, Educators, Developers

Limitations & Caveats

  • Check repo license
  • Best results require front-facing portraits
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted SadTalker vs. Hosted Alternatives (D-ID & Digen AI)
FactorSadTalker (Self-Hosted)D-IDDigen AI
Execution & PrivacyRuns locally via Self-Hosted / WebUI Extension (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Freemium; subject to vendor free-tier limits or paid plans.Freemium; subject to vendor free-tier limits or paid plans.
Primary FitSingle image + audio -> talking video; Natural 3D head pose & blink synthesisTalking-head video and real-time conversational AI avatar platform animating still portraits from text or audio.Image-to-video and talking photo generator animating static portraits with synchronized speech and natural body motion on free trial credits.
Key Trade-offCheck repo licenseRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for SadTalker workflows.

Cinematic Slow-Motion Coffee Pour with Morning SteamVideo · Video, Slow Motion, Cinematic, Food & Beverage
Open in Studio
Cinematic FPV Drone Architectural FlythroughVideo · Video, Cinematic, Drone, Architecture
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does SadTalker do and how does it work?

SadTalker (OpenTalker/SadTalker) is an open-source video generation project with 14,234 stars on GitHub. Open-source audio-driven talking-head animation system synthesizing realistic 3D head pose, natural blinking, and lip sync from a single portrait and WAV audio. SadTalker predicts 3DMM expression and head-pose coefficients from audio via ExpNet/PoseVAE before rendering through a face-vid2vid spatial generator—integrating standalone Gradio UIs as well as Automatic1111 WebUI extensions.

Is SadTalker free to self-host and use commercially?

SadTalker provides open source code licensed under Custom (see repo). Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does SadTalker require?

SadTalker targets Self-Hosted / WebUI Extension (GitHub). Typical installation runs via `pip install -r requirements.txt && python app_sadtalker.py`. Check repo license

How does self-hosting SadTalker compare to hosted tools like D-ID?

Self-hosting SadTalker gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / WebUI Extension (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, D-ID (Freemium) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is SadTalker actively maintained and what workflow fits it best?

Repository metadata records 14,234 stars on GitHub with the latest recorded push on Jun 26, 2024. Pair authorized narrator voiceovers from F5-TTS or Chatterbox TTS with SadTalker (`--enhancer gfpgan`) to render clean talking avatar explainers.