What is TalkLikeYou
TalkLikeYou is an open-source real-timedigital humanframework from the Institute of Automation, Chinese Academy of Sciences. Given a photo and an audio clip, it can make the person in the photo speak, and the mouth movements can imitate the speaking habits of a specified real person. TalkLikeYou achieves real-time generation through motion space modeling and one-step sampling, supports preset IDs or reference videos to customize habits, proposes dedicated metrics to quantify imitation similarity, and fully open-sources the code and weights.
TalkLikeYou's main features
-
Photo talking: Upload a portrait photo and an audio clip to generate a video of the person speaking.
-
Habit imitation: It can imitate the mouth speaking habits of a specified real person, designated by a preset ID or a 4-second reference video.
-
Real-time generation: It uses one-step sampling technology, achieving a generation speed of 32.43 FPS and supporting real-time streaming output.
-
Video dubbing: It can replace the mouth movements of people in a video while preserving the original head movements and timing, making it suitable for multilingual dubbing.
-
Conversational digital human: After integrating large models and speech recognition and synthesis, it can enable real-time conversational interactive digital avatars.
-
Stylized driving: It supports driving non-photorealistic styles of portraits such as sketches, oil paintings, anime, and 3D characters.
TalkLikeYou's technical principles
- Motion space modeling: Unlike directly generating images in pixel space, TalkLikeYou first parses the photo into motion parameters, learns and generates speaking motions on this lightweight set of numbers, and the renderer synthesizes it back into video, balancing speed and identity stability.
- One-step Flow Matching sampling: It uses Flow Matching to learn a straight-line path from noise to the target, and with reparameterization directly predicts a clean motion sequence. One-step sampling can achieve lip-sync quality close to 50 steps, enabling a real-time speed of 32.43 FPS.
- Unified habit space: It constructs an interpolatable low-dimensional habit vector space, compresses the mouth motion statistics of real people in the dataset into one-hot encodings, and encodes reference videos into the same space through a habit extractor. The two entry points can be freely switched or even interpolated and mixed.
- Two-stage training strategy: First, it uses one-hot encodings on the 380-person-scale HDTF to learn "what a habit is," then switches to reference videos on the large-scale CelebV-HQ to train generalization ability, periodically replaying one-hot data to prevent forgetting, increasing habit similarity from 0.33 to 0.64.
- PLAD evaluation metric: It projects mouth movements onto three pronunciation axes: mouth opening amplitude, lip rounding, and lip widening, and compares distribution histograms with the reference person to calculate similarity, providing for the first time a quantitative standard for "whether the speaking habit is similar."
Follow WeChat and reply "open source" to join theAI Open Source Project Exchange Group
How to use TalkLikeYou
- Environment preparation: Use a Linux system, install Python 3.10 + CUDA 12.1 + FFmpeg, and ensure the NVIDIA GPU has at least 12GB of VRAM.
- Download the code: Clone the main TalkLikeYou repository from GitHub.
- Install dependencies: Run
conda env create -f environment.yamlto create and activate the environment, or install the CUDA version of PyTorch yourself and then executepip install -r requirements.txt。 - Download weights: Use the Hugging Face command
hf download doubi-killer/TalkLikeYouto download the model weights to the repository root directory. - Prepare materials: Prepare a portrait photo (or video) and an audio clip. The input video must be 25 FPS.
- Run inference: Run
python -m talklikeyou --source 照片 --audio 音频 --person-id 192 --sampling-steps 1to generate a video. Change--person-idto change the speaking habit. - Custom habits: Replace
--person-idwith--habit-referencepointing to a reference video of at least 100 frames to imitate the speaking habits of the person in that video. - Video dubbing: Point
--sourceto a video file and add--pose-mode sourceto replace only the mouth movements while preserving the original head motion.
TalkLikeYou's core advantages
-
Dedicated imitation of speaking habits: The industry's first open-source framework that models an individual's mouth speaking habits as a first-class citizen. It can be specified by index or video, escaping the "one mouth for everyone" average mouth.
-
Fast real-time speed: One-step Flow Matching sampling achieves 32.43 FPS, nearly a hundred times faster than the image diffusion route Sonic, and uses less than 4GB of VRAM on a single RTX 3090.
-
Excellent both in image quality and synchronization: FID 7.71 is less than one-third of the runner-up, and Sync-C 8.73 is the highest overall, balancing lip synchronization and image quality.
-
Leading habit similarity: The PLAD metric habit similarity is 0.62, significantly higher than competitors such as MimicTalk (0.48) and PC-Talk (0.39).
-
Flexible customization via two entry points: Supports zero-cost style switching via official preset indices, supports learning on the fly from any reference video, and supports interpolation to create new habits.
TalkLikeYou's project links
- Project homepage:https://bq-wang0511.github.io/TalkLikeYou/
- GitHub repository:https://github.com/BQ-Wang0511/TalkLikeYou
- HuggingFace model library:https://huggingface.co/doubi-killer/TalkLikeYou
- arXiv technical paper:https://arxiv.org/pdf/2610.06658
Comparison of TalkLikeYou with similar competitors
| Comparison dimension | TalkLikeYou (Institute of Automation, Chinese Academy of Sciences) | SoulX-LiveAct(Soul AI Lab) |
|---|---|---|
| Core positioning | Real-time talking head generation + personal speaking habit imitation | Real-time digital human + hour-level long-term stable generation |
| Technical route | Two-stage motion space (lightweight parameters + rendering) | Autoregressive diffusion (AR Diffusion), pixel-level generation |
| Core technology | One-step Flow Matching, unified habit space, two-stage training | Neighbor Forcing (aligning adjacent frames at the same diffusion step), ConvKV Memory (constant VRAM) |
| Generation speed | 32.43 FPS | 20 FPS (dual-card H100/H200) |
| End-to-end latency | Not explicitly disclosed (streaming buffer adjustable) | 0.94 seconds |
| Maximum duration | Clip-level generation (no long-duration optimization) | Hour-level or even unlimited duration, with constant VRAM |
| Speaking habits | ✅ Supported (index / reference video / interpolation) | ❌ Does not model personal mouth habits |
| Motion range | Mouth only + head pose | Full-body motion, with controllable expressions, gestures, and emotions (finger heart, facepalm, hearty laugh) |
| Driving Method | Audio-driven (photo/video) | Image + audio + text instructions-driven |
Application Scenarios of TalkLikeYou
-
Virtual streamer/live commerce: Create a virtual streamer with personal speaking habits at low cost, capable of running locally in real time with 4GB of VRAM, with no need for a real person to appear on camera.
-
Multilingual video dubbing: Replace the mouth movements of people in videos while preserving the original head movement timing, so that the lip sync of dubbed films or content for overseas markets naturally matches the target language.
-
Digital avatar/virtual customer service: Combine large models and speech synthesis to build a real-time conversational avatar, applied to online customer service, intelligent guided tours, and other scenarios requiring "face-to-face" interaction.
-
Personalized education/training: Create exclusive digital personas for teachers or trainers, replicating their unique speaking styles, for recording courses or remote teaching.