ampixa
speak// talkinghead · open lip-sync model

One photo. Any voice. It talks.

You have one photo of someone and a recording of speech. talkinghead makes the photo say it: lips, jaw, eyes and head move with the voice. It runs in real time on an ordinary laptop, and the whole model is 169 MB.

pip install "git+https://github.com/Ampixa/talkinghead.git"
talkinghead बोल्ने टाउको
169 MBthe whole model on a Mac
36.5 msper frame, MacBook Pro M4 Pro; real time is 40
~13×faster than LatentSync, RTX 4090
EN + नेपालीbuilt and tested for both
really fast. really small.

Real time on the laptop you already have.

// download

169 MB

The whole model on Apple silicon. The library downloads only the files your machine needs.

// time per frame, native

36.5 ms
MacBook Pro M4 Pro
36.5
MacBook Pro M3 Pro
39.9
RTX 3050 Ti laptop
40.3

red line: 40 ms, real time at 25 fps · full render loop on all three

// time per frame, RTX 4090, earlier build · one block = 10 ms

talkinghead43.4 ms
Wav2Lip85.0 ms
LatentSync552 ms

// peak GPU memory · one block = 0.5 GB

talkinghead1.2 GB
LatentSync14 GB
Wav2Lip19.5 GB

An earlier real-time build, before this release’s renderer and face crop. Same 12 HDTF clips for every model. Wav2Lip and LatentSync score higher on SyncNet lip-sync confidence (9.59 and 9.97 vs 7.94; the real videos score 8.75). talkinghead keeps the person looking more like themselves: identity 0.96 vs 0.90 and 0.91.

in your browser.

No install. Nothing uploaded.

The same model runs inside a browser tab, on your own graphics card. Pick a face and a voice, or bring your own. It is slower there, about a minute for a 10-second clip on an M4 Pro, because a browser can't use the Mac's Neural Engine. The first run downloads 168 MB once.

// can this computer run it?
checking…
// demo

Make any photo talk, right here. Your photo and voice never leave your computer.

liveruns on your GPU (WebGPU) · not real time in a browser · desktop Chrome or Edge
nine photos. one line.

The same English sentence, nine faces.

“One photo. Any voice. A talking video, in real time.”

People, an 1863 photograph and four paintings, each from a single still image. Press play on any of them, with sound. Straight out of the model, unedited.

Alisha Raiphoto
Jeremy Bishopphoto · cc0
Mona Lisapainting
Napoleon, David 1812painting
Lincoln, 1863photograph
Bibek Rautphoto · cc by-sa 4.0
Pearl Earringpainting
Angelina Litvinphoto · cc0
Van Goghpainting

voice: Kokoro-82M (Apache-2.0) · each rendered at 34–44 ms a frame on a MacBook Pro M4 Pro · photographers credited on each tile

three lines of python.

Install it. Make it talk.

# Apple silicon, NVIDIA (add [tensorrt]) or CPU
$ pip install "git+https://github.com/Ampixa/talkinghead.git"

from ampixa_talkinghead import Avatar
avatar = Avatar("photo.jpg")
avatar.speak("speech.wav", "out.mp4")

# or a local web app on your own machine
$ ampixa-talkinghead-web
best photoFrontal, mouth closed. Visible teeth stop the mouth from closing while it speaks.
weak onPaintings with heavy beards or brushwork, tiny faces in full-body shots, profiles.
please don'tUse it to impersonate people, or to make anyone say what they didn't say.
// receipts · every number on this page