Instructions to use saeed-5959/high_sync with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use saeed-5959/high_sync with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("saeed-5959/high_sync", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
pipeline_tag: image-to-video
library_name: diffusers
HighSync: High-Quality Lip Synchronization via Latent Diffusion Models
HighSync is an end-to-end diffusion-based framework for high-fidelity lip synchronization that generates photorealistic talking-face videos aligned with arbitrary input audio. It is the first lip sync model to operate natively at 512x512 resolution, positioning it as a viable solution for professional production environments.
- Paper: HighSync: High-Quality Lip Synchronization via Latent Diffusion Models
- GitHub: saeed5959/high_sync
Abstract
We present HighSync, an end-to-end diffusion-based framework for high-fidelity lip synchronization that generates photorealistic talking-face videos aligned with arbitrary input audio. Existing approaches consistently struggle to reconcile image quality with synchronization accuracy, producing either visually degraded outputs or temporally inconsistent lip movements. HighSync addresses both challenges simultaneously and, to our knowledge, is the first lip sync model to operate natively at 512x512 resolution. Central to our approach is the identification and systematic elimination of a data leakage phenomenon that has silently undermined temporal modeling in prior work, preventing models from developing a genuine dependence on the audio signal.
βοΈ Installation
Environment
Ubuntu 20 or 22
Setup
git clone https://github.com/saeed5959/high_sync
cd high_sync
pip install -r requirements.txt
apt-get install ffmpeg
Download Pretrained Weights
git lfs install
git clone https://huggingface.co/saeed-5959/high_sync pretrained_weights
π Usage
First, convert your source video to 25 FPS:
ffmpeg -i input.mp4 -r 25 out_25.mp4
Then run the inference script:
python -m inference --source_video "video_path.mp4" --driving_audio "audio_path.wav" --output "save_path.mp4"
Citation
@article{daghigh2024highsync,
title={HighSync: High-Quality Lip Synchronization via Latent Diffusion Models},
author={Saeed Firouzi Daghigh and Majid Iranpour Mobarekeh and Mostafa Alavi and Mehdi Bagheri},
journal={arXiv preprint arXiv:2605.16918},
year={2026}
}
π Acknowledgements
This work is mainly based on EchoMimic. We would also like to thank the contributors to the AnimateDiff, Moore-AnimateAnyone, and MuseTalk repositories.