Image-to-Video
Core ML
ONNX
TensorRT
Nepali
English
ampixa-talkinghead
talking-head
lip-sync
audio-driven
webgpu
Instructions to use ampixa/talkinghead with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use ampixa/talkinghead with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Model card: lip-sync claim matches what was measured; TensorRT 3050 Ti measured end to end
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ pipeline_tag: image-to-video
|
|
| 18 |
# ampixa-talkinghead
|
| 19 |
|
| 20 |
One photo + a speech clip → a lip-synced talking-head video. Real time on Apple silicon (M4 Pro, M3 Pro) and
|
| 21 |
-
|
| 22 |
|
| 23 |
<video controls src="https://huggingface.co/ampixa/talkinghead/resolve/main/demo/hero.mp4"></video>
|
| 24 |
|
|
@@ -40,9 +40,10 @@ Avatar("photo.jpg").speak("speech.wav", "out.mp4")
|
|
| 40 |
|---|---|
|
| 41 |
| Render loop, Apple M4 Pro (Core ML) | 36.5 ms/frame (≈27 fps) |
|
| 42 |
| Render loop, Apple M3 Pro (Core ML) | 39.9 ms/frame (25 fps) |
|
|
|
|
| 43 |
| Download per machine | 169 MB (Apple silicon), 168 MB (NVIDIA) |
|
| 44 |
| Peak memory | ~1.7 GB during `speak()` |
|
| 45 |
-
| Lip sync |
|
| 46 |
|
| 47 |
## Files
|
| 48 |
|
|
|
|
| 18 |
# ampixa-talkinghead
|
| 19 |
|
| 20 |
One photo + a speech clip → a lip-synced talking-head video. Real time on Apple silicon (M4 Pro, M3 Pro) and
|
| 21 |
+
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**.
|
| 22 |
|
| 23 |
<video controls src="https://huggingface.co/ampixa/talkinghead/resolve/main/demo/hero.mp4"></video>
|
| 24 |
|
|
|
|
| 40 |
|---|---|
|
| 41 |
| Render loop, Apple M4 Pro (Core ML) | 36.5 ms/frame (≈27 fps) |
|
| 42 |
| Render loop, Apple M3 Pro (Core ML) | 39.9 ms/frame (25 fps) |
|
| 43 |
+
| Render loop, RTX 3050 Ti laptop (TensorRT) | 40.0-40.5 ms/frame (25 fps; networks alone 25.7 ms) |
|
| 44 |
| Download per machine | 169 MB (Apple silicon), 168 MB (NVIDIA) |
|
| 45 |
| Peak memory | ~1.7 GB during `speak()` |
|
| 46 |
+
| 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](https://github.com/Ampixa/talkinghead#measured) |
|
| 47 |
|
| 48 |
## Files
|
| 49 |
|