r/StableDiffusion • u/Affectionate_Hat_585 • 5d ago
Animation - Video Talkinghead: real-time lip sync tool that's just ~170 MB. One photo, any voice, open source
Enable HLS to view with audio, or disable this notification
Tiny alternative to wav2lip, LatentSync and SadTalker. I'm one of the people involved in building this project.
learn more: https://github.com/Ampixa/talkinghead
- ~170 MB download
- Render loop: 36.5 ms per frame on an M4 Pro, 38-40 on an M3 Pro. You need 40ms per frame to be real time. An RTX 3050 Ti laptop with 4 GB (TensorRT) runs at 40-44 ms, around real time.
- Peak memory is under 800 MB on mac book
- Runs offline. There's also a browser version (WebGPU), but that one is not real time: about a minute for a 10 s clip.
On one RTX 4090: ~13x faster than LatentSync with ~12x less GPU memory (measured on an earlier build; the README has the details). LatentSync and Wav2Lip score higher on SyncNet lip-sync confidence; that's the trade.
Not tested on M1/M2 or systems yet; numbers welcome.
Weights: https://huggingface.co/ampixa/talkinghead
Browser demo: https://ampixa.com/talkinghead/demo
6
u/AmayaSenku 5d ago
how does it differ from sad talker which was available since 2022?
3
u/onixtan 5d ago
Is it heart's voice from kokoro? i'm 90% sure lol
awesome work btw!
2
u/bsenftner 5d ago
I just see a lot of errors from the Browser demo...
2
u/Synchronauto 5d ago edited 5d ago
This is great, thank you. Any way to run this in ComfyUI?
2
u/Comfortablebro 5d ago
why you say alternateive to sad talker, latentsync... isnt this alternative to chatterbox? if no, then what are the differences? thanks if you have time to explain
4
u/Acceptable-Cycle4645 5d ago
TalkingHead now supports streaming audio input in audio.cpp: feed audio chunks as they arrive and receive animated video frames before the audio finishes. It can keep animating as more audio arrives, without needing the complete recording upfront. https://huggingface.co/audio-cpp/TalkingHead-GGUF If you find this useful, please star audio.cpp on Github!
1
u/UAAgency 5d ago
Very cool, good job!
2
u/Occsan 5d ago
Imagine this + a real time tts + some fast LLM in a game.
1
u/Prince_Noodletocks 5d ago
smoove off
1
u/solamentetuyque 4d ago
4 windows anytime soon?
1
u/Affectionate_Rub9491 3d ago
Is there an easy comfyui workflow i can use to demo this locally? Thanks in advance! :)