Model reference · open weights
talkinghead is an open-weight video model from ampixa. talkinghead (BF16) weighs 300 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the ampixa/talkinghead model card, 2026-12-04
What it is
| Released by | ampixa |
|---|---|
| Released | 2026-11-26 |
| VRAM | 300 MB for the weights |
What it runs on
| Card | Weights | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
One photo + a speech clip → a lip-synced talking-head video. Real time on Apple silicon (macOS 14 or later; M4 Pro, M3 Pro) and on an RTX 3050 Ti laptop GPU with TensorRT (40 ms/frame, just 25 fps); 168-169 MB per platform. Built and evaluated for Nepali and English.
Code: github.com/Ampixa/talkinghead · Try it in your browser: ampixa.com/talkinghead
pip install "git+https://github.com/Ampixa/talkinghead.git" # Apple silicon / CPU
pip install "ampixa-talkinghead[tensorrt] @ git+https://github.com/Ampixa/talkinghead.git" # NVIDIA
from ampixa_talkinghead import Avatar
Avatar("photo.jpg").speak("speech.wav", "out.mp4")
The Core ML packages require macOS 14 or later. On macOS 14 the decoder skips the Neural Engine after its built-in accuracy check and uses the GPU, because the Neural Engine output is incorrect on that OS release.
| Render loop, Apple M4 Pro (Core ML) | 36.5 ms/frame (≈27 fps) |
| Render loop, Apple M3 Pro (Core ML) | 39.9 ms/frame (25 fps) |
| Render loop, RTX 3050 Ti laptop (TensorRT) | 40.0-40.5 ms/frame (25 fps; networks alone 25.7 ms) |
| Download per machine | 169 MB (Apple silicon), 168 MB (NVIDIA) |
| Peak memory | ~1.7 GB during speak() |
| Lip sync | close to Ditto, not equal: an earlier full-quality build scored SyncNet LSE-C 5.23 vs Ditto's 5.31 (15 Nepali + English cases); the real-time renderer shipped here scored 0.51 lower than Ditto on a 7-case gate. Details: GitHub README |
| folder | what | used on |
|---|---|---|
common/ | face setup, audio and motion models | every platform |
coreml/ | real-time renderer | Apple silicon |
onnx/ | real-time renderer (TensorRT engines are built on first use) | NVIDIA |
realtime/ | real-time renderer, PyTorch | fallback |
full/ | full-quality renderer, PyTorch | offline / CPU |
web/ | every network as ONNX for onnxruntime-web (WebGPU) | the browser demo |
The library downloads only the folders your machine needs. MANIFEST.json lists every file with its sha256.
ampixa.com/talkinghead runs the whole pipeline on the visitor's own GPU (WebGPU):
the models in web/ download from this repo once, and nothing is uploaded. It is not real time in a browser:
about 245 ms per frame on an M4 Pro (a 10 s clip takes about a minute), because a browser cannot use the Neural Engine
that the native Core ML path uses. Lip sync matches the Python package (SyncNet LSE-C on the same inputs: 5.66 vs 5.44,
4.54 vs 4.63). Needs a recent Chrome or Edge (WebGPU, WebCodecs, JSPI).
Paintings (public domain) with voices from sanoTTS; people from the
package's examples/ speaking Nepali and English (FLEURS, CC BY 4.0).
Photo credits (Wikimedia Commons): face04 Bibek Raut (CC BY-SA 4.0), face05 MaximusPrasad (CC BY-SA 4.0), face06 Nithi Anand (CC BY 2.0), face13 Dr. Hans-Günter Wagner (CC BY-SA 2.0), face15 Jeremy Bishop (CC0). Demo videos made from CC BY-SA photos are shared under CC BY-SA.
Apache-2.0. Derived from Ditto (Apache-2.0) and LivePortrait /
S2G-MDDiffusion (MIT); see NOTICE in the code repository. The face crop uses MediaPipe (Apache-2.0).
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works
Running it yourself
Rent a machine by the hour. How to run this model is on its model card.