SyncTalk: High-Quality Talking Head Synthesis from CVPR 2024
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
SyncTalk is the official repository for a CVPR 2024 paper on talking head synthesis. This project focuses on generating highly synchronized lip movements, facial expressions, and stable head poses, while also restoring hair details for high-resolution video output. It leverages tri-plane hash representations to maintain subject identity effectively.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
SyncTalk is an innovative project presented at CVPR 2024, offering a robust solution for talking head synthesis. It aims to generate highly synchronized talking head videos, ensuring natural lip movements, facial expressions, and stable head poses. The system employs tri-plane hash representations to preserve subject identity and can restore intricate hair details, producing high-resolution video outputs. For even faster and better visual quality, consider exploring the related SyncTalk_2D project.
Installation
SyncTalk supports both Windows and Linux environments.
For Windows
A pre-built integration package is available. Download SyncTalk-Windows.zip and unzip it, then double-click inference.bat to run the demo.
Download links:
For Linux
Tested on Ubuntu 18.04, Pytorch 1.12.1 and CUDA 11.3.
First, clone the repository:
git clone https://github.com/ZiqiaoPeng/SyncTalk.git
cd SyncTalk
Then, set up the environment and install dependencies:
conda create -n synctalk python==3.8.8
conda activate synctalk
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
sudo apt-get install portaudio19-dev
pip install -r requirements.txt
pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu113_pyt1121/download.html
pip install tensorflow-gpu==2.8.1
pip install ./freqencoder ./shencoder ./gridencoder ./raymarching
If PyTorch3D installation encounters issues, use:
python ./scripts/install_pytorch3d.py
Data Preparation:
Download pre-trained models (May.zip to data/, trial_may.zip to model/) and unzip them.
For processing your own video, prepare face-parsing and 3DMM models by running provided wget commands and convert_BFM.py script. Place your video (data/<ID>/<ID>.mp4) and process it:
python data_utils/process.py data/<ID>/<ID>.mp4 --asr ave
Optionally, obtain AU45 for eye blinking using OpenFace.
Examples
Run Evaluation
Evaluate the model with or without portrait mode:
python main.py data/May --workspace model/trial_may -O --test --asr_model ave
python main.py data/May --workspace model/trial_may -O --test --asr_model ave --portrait
Inference with Target Audio
Generate talking head video from a .wav audio file:
python main.py data/May --workspace model/trial_may -O --test --test_train --asr_model ave --portrait --aud ./demo/test.wav
You can also use DeepSpeech or HuBERT for audio features.
Training
Train a new model or fine-tune an existing one:
python main.py data/May --workspace model/trial_may -O --iters 60000 --asr_model ave
python main.py data/May --workspace model/trial_may -O --iters 100000 --finetune_lips --patch_size 64 --asr_model ave
Different ASR models (deepspeech, hubert) and AU45 for eye parameters can be specified.
Train & Test Torso (Repair Double Chin)
To address the "double chin" problem, you can train the torso. Note that the --portrait mode is not supported with torso training.
# Train
python main.py data/May/ --workspace model/trial_may_torso/ -O --torso --head_ckpt model/trial_may/ngp_ep0019.pth --iters 150000 --asr_model ave
# Test
python main.py data/May --workspace model/trial_may_torso -O --torso --test --asr_model ave
Why Use SyncTalk?
SyncTalk stands out for its commitment to high-quality, synchronized talking head synthesis, backed by a CVPR 2024 publication. It offers robust features like preserving subject identity, generating natural facial movements, and restoring fine details. The project provides flexible audio feature encoding options, comprehensive support for both Windows and Linux, and a convenient Google Colab demonstration. Furthermore, its unique torso training capability helps resolve common artifacts such as the "double chin," ensuring more realistic outputs.
Links
Related repositories
Similar repositories that may be relevant next.

Ragas: Supercharge Your LLM Application Evaluations
August 9, 2026
Ragas is an ultimate toolkit for evaluating and optimizing Large Language Model (LLM) applications. It offers objective metrics, intelligent test generation, and data-driven insights to move beyond subjective assessments. This framework helps developers build feedback loops and continuously improve their LLM applications.

awesome-cli-coding-agents: A Curated Directory of Terminal-Native AI Tools
August 9, 2026
The `awesome-cli-coding-agents` repository offers a comprehensive, curated directory of over 100 terminal-native AI coding agents. These powerful tools operate directly within your command line, enabling autonomous code reading, editing, and execution. The list also covers various harnesses and orchestration solutions for managing these agents.

QwenPaw: Your Personal AI Assistant for Local and Cloud Deployment
August 7, 2026
QwenPaw is a powerful personal AI assistant designed for easy installation and deployment, either on your local machine or in the cloud. It supports multiple chat applications and offers highly extensible capabilities, making it a versatile tool for various AI-driven tasks. With its robust memory system and security features, QwenPaw aims to be an intuitive and private partner in your digital life.

DeepTutor: Lifelong Personalized Tutoring with AI Agents
August 7, 2026
DeepTutor is an advanced AI-powered platform designed for lifelong personalized tutoring, integrating various learning modes into a single, extensible system. It leverages large language models and multi-agent systems to offer features like interactive chat, quiz generation, and skill development. This project provides a comprehensive environment for learners and educators seeking intelligent, adaptive educational tools.
Source repository
Open the original repository on GitHub.
12 counted GitHub visits