Skip to main content

Email Website Demo License: Apache 2.0

PyPI version npm version Python version


callable-lipsync


callable-lipsync - a tiny pre-trained streaming speech-to-face model by Callable. Speech (audio) goes in, face animation parameters come out (FLAME 2023 Open / ARKit). Needs 160ms lookahead for lips+face and 640ms for head movements. Try the live demo.

Comes in 2 sizes: tiny (17.1M; 36x realtime) and nano (2.4M; 95x realtime), on one CPU thread in Python. In a browser (WebAssembly) they run at 7x and 18x realtime.

Trained on English, might work on other languages.


Demo with sound

files/demo.mp4

A recorded two-person conversation. The avatar voices one speaker and listens to the other. Both faces are drawn from the same frames of the tiny model: a FLAME 2023 Open head, and a 2D face driven by ARKit blendshape weights.


Fast start


Dependencies

Python:

  • python 3.9+;
  • onnxruntime>=1.17 and numpy (installed with the package);
  • no GPU, no PyTorch.

JavaScript:

  • onnxruntime-web>=1.17 (a peer dependency);
  • any current browser, or Node 18+.

The model files ship inside both packages (about 21 MB for the two models and the ARKit converter's data together). Nothing is downloaded at run time.

Using pip: pip install callable-lipsync

from callable_lipsync import LipSync

model = LipSync("tiny")              # or "nano"
for chunk in audio_stream:           # float32, 16 kHz mono, any chunk size
    frames = model(chunk)            # (n, 118): the frames this audio settled, 25 per second

A whole clip at once:

from callable_lipsync import animate

frames = animate(wav, model="tiny")  # (len(wav) // 640, 118)

Using npm: npm install callable-lipsync onnxruntime-web

import * as ort from 'onnxruntime-web';
import { LipSync } from 'callable-lipsync';

// in a browser: serve node_modules/callable-lipsync/models/ and point `base` at it; in Node, leave `base` out
const model = await LipSync.load(ort, { model: 'tiny', base: '/models/tiny/' });
const frames = await model.process(samples);   // Float32Array, 16 kHz mono -> [Float32Array(118), ...]

Python and JavaScript run the same engine: the same audio and seed give the same frames in both.


Key Features


  • Tiny

    Two sizes. tiny is 17.1M parameters and a 17.7 MB download. nano is 2.4M parameters and 2.5 MB.

  • Fast

    One 40 ms frame takes about 1 ms on a single CPU thread in Python and about 6 ms in WebAssembly in a browser (tiny). nano takes 0.4 ms and 2 ms.

  • The whole face, not only the lips

    tiny gives lips, jaw, cheeks and brows, blinks, gaze, head and neck rotation and a little upper-body sway. nano gives lips, jaw, face and head rotation.

  • Streaming

    Feed it audio in chunks of any size as it arrives. It keeps its own state and costs the same per frame however long the stream runs.

  • Works with any amount of audio ahead

    A text-to-speech engine usually has audio ready slightly before it is heard, and the model uses that to make the head move with the words. With a live microphone it has none, and it still works: tell it how much it gets (0 to 0.64 s), the same weights handle all of it.

  • FLAME and ARKit output

    Frames are FLAME 2023 Open parameters. For avatars rigged with ARKit blendshapes, a converter in both packages turns each frame into the 51 ARKit weights (see Output).

  • No Strings Attached

    Published under a permissive license (Apache 2.0). No telemetry, no keys, no registration, no server: the model runs where your code runs.


Benchmarks


Benchmark summary: callable-lipsync tiny and nano against 13 other speech-to-face models on seven measures

Each column is colored by rank among the models: blue is better, red is worse, and bold marks the best few.

  • On speech from people it has never heard (Multiface), tiny has the best overall score and exact timing, and it has the lowest lip error on Callable held-out.
  • Since 0.2.0 both models close the lips on p, b and m as often as real speakers do (93% and 91%; real 92%), up from 75% and 45% in 0.1.0.
  • Lip reading is where they still trail: the larger SelfTalk, UniTalker and ARTalk read better.
  • On VOCASET's own test the models trained on VOCASET win clearly, as expected.
The table as text, and how it was measured
Model Size Audio ahead Runs on Head Multiface score Lip error, Callable held-out (mm) Lip error, VOCASET (×10⁻⁵ m²) Timing on Multiface (ms) Lips close on p/b/m (real 92%) SyncNet confidence Lip-reading error
Real speech 0.00 0.0 0.0 0 92% – –
callable-lipsync tiny 17.1M 0.16 s lips / 0.64 s head 1 CPU thread ✓ 0.67 7.4 6.1 0 93% 6.07 72%
callable-lipsync nano 2.4M 0.16 s 1 CPU thread ✓ 0.69 7.7 6.3 0 91% 6.13 74%
UniTalker-B 96M whole clip GPU 0.81 9.5 1.4 −28 81% 5.76 67%
ARTalk 490M 4 s windows GPU ✓ 0.87 8.1 7.6 +12 89% 5.44 69%
NVIDIA Audio2Face-3D v3.0 † 181M 0.75 s GPU 1.00 13.3 12.1 −24 96% 2.13 80%
EmoTalk 641M whole clip GPU 1.00 8.2 4.1 −16 0% 2.56 85%
NVIDIA Audio2Face-3D v2.3 † 18M 0.26 s GPU 1.00 8.9 5.3 0 98% 4.53 78%
SelfTalk 769M whole clip GPU 1.11 9.0 2.6 −80 90% 6.10 52%
CodeTalker 319M whole clip GPU 1.17 9.3 3.2 −84 68% 6.08 69%
HeadAudio 3.6K none browser 1.26 9.4 5.6 +132 47% 1.68 80%
LAM-A2E 102M whole clip GPU 1.30 9.2 3.9 −80 18% 3.77 78%
SAiD 101M whole clip GPU 1.30 10.0 4.9 −80 83% 3.36 79%
DiffPoseTalk 129M whole clip GPU ✓ 1.57 11.0 17.2 −96 38% 5.68 71%
wawa-lipsync rules none browser 1.98 11.2 12.9 +240 14% 1.32 79%
DualTalk 647M whole clip GPU ✓ 2.07 11.9 15.5 −64 14% 4.51 74%
Still face 1.00 – – – 0% 0.68 77%
  • Every model ran with its public weights and its default settings. Each output is turned into the motion of the same FLAME face and compared with the real speaker.
  • Multiface (612 sentences, 10 people) is the neutral set: none of these models was trained on it. Callable held-out is held-out clips of Callable's proprietary dataset, recorded like our training data, so it favours our models. VOCASET is the field's standard test, and favours the models trained on it (UniTalker, CodeTalker, SelfTalk).
  • † Audio2Face is measured on its own face for the Multiface columns. Models with ARKit output (Audio2Face, LAM-A2E, EmoTalk, SAiD) are otherwise shown through one ARKit rig on FLAME, which may cost them some lip closures.
  • SyncNet and lip reading run on grey renders of the face. Their numbers are relative: the real speaker's render reads far better than any model.
  • Size is the parameter count, audio encoder included. Audio ahead is how much audio after a frame the model uses to make it; "whole clip" models need the whole recording first. tiny's lips use 0.16 s and its head 0.64 s; it also runs with less (0 to 0.64 s, your choice).
  • Speed is not compared: ours run on one CPU thread, the others on a GPU.

Models


tiny nano
Lips and jaw ✅ ✅
Cheeks, brows, rest of the face ✅ ✅
Head rotation ✅ ✅
Blinks ✅ ❌
Gaze ✅ ❌
Neck separate from the chest ✅ ❌
Upper-body sway ✅ ❌
Works with no audio ahead (live microphone) ✅ ❌
Head motion planned on up to 0.64 s of audio ahead ✅ ❌
New head and eye motion on every run ✅ ❌
Streaming, any chunk size ✅ ✅
ARKit blendshape weights ✅ ✅
Python and JavaScript ✅ ✅
Parameters 17.1M 2.4M
Size (ONNX, 8-bit weights) 17.7 MB 2.5 MB
Audio ahead 0 to 0.64 s, your choice 0.16 s, fixed
Python, one thread 1.1 ms a frame 0.4 ms a frame
Browser (WebAssembly), one thread 5.9 ms a frame 2.2 ms a frame

Measured on an AMD Ryzen 7 9700X; a frame is 40 ms of audio. tiny at 0.64 s of audio ahead.

How much audio tiny gets ahead of each frame decides how well the head follows the speech:

Audio ahead Lips Head, eyes, body
0.64 s full turns and nods land on the speech (the reference)
0.32 s full nods about 75% of that, turns about 55%
0.16 s full nods about 40%; turns no longer follow the speech
none lip error about 30% higher natural motion, not timed to the speech
model = LipSync("tiny", ahead=0.16)   # 0.64, 0.48, 0.32, 0.16, 0.08 or 0

Output


25 frames a second, 118 numbers each. Rotations are axis-angle, in radians.

Numbers What
0..99 FLAME 2023 Open expression
100..102 chest rotation
103..105 jaw
106..108 neck
109..114 left and right eye
115..117 travel of the upper body, metres

nano fills expression, jaw and neck and leaves the rest at zero. In Python, callable_lipsync.LAYOUT has these as slices.

ARKit blendshapes

If your avatar is rigged with ARKit blendshapes (as most game-engine and phone-tracked faces are), convert the frames to the 51 ARKit weights, 0 to 1 each: jawOpen, mouthFunnel, mouthSmileLeft, eyeBlinkLeft, browInnerUp and the rest. The converter is in both packages and gives the same weights in both.

from callable_lipsync import LipSync, Arkit

model, arkit = LipSync("tiny"), Arkit("tiny")
weights = arkit(model(chunk))          # (n, 51), in the order of arkit.names
import { LipSync, Arkit } from 'callable-lipsync';

const arkit = await Arkit.load({ model: 'tiny', base: '/models/arkit/' });   // in Node, leave `base` out
for (const frame of await model.process(samples)) {
  const weights = arkit.convert(frame);     // Float32Array(51), in the order of arkit.names
}

It takes about 0.2 ms a frame. jawOpen and the eight eyeLook weights come straight from the jaw's and the eyes' rotation; the others are solved from the face's shape. The head, neck and chest rotations and the travel are not blendshapes: apply them to your rig's bones from the frame itself. It is an approximation: ARKit's 51 shapes reproduce about three quarters of tiny's face motion, so treat the weights as a starting point.


Typical Use Cases


  • Faces for voice agents and voice bots, driven by the text-to-speech audio
  • Avatars in games, apps and video calls, driven by a live microphone
  • Lip sync for characters in the browser with no server and no GPU
  • Batch animation of recorded speech

Roadmap


Done

  • ✅ tiny and nano models, streaming, with a choice of lookahead
  • ✅ Python package (pip install callable-lipsync)
  • ✅ JavaScript package (npm install callable-lipsync), for browsers and Node
  • ✅ FLAME 2023 Open output
  • ✅ ARKit blendshape converter in both packages
  • ✅ Browser demo
  • ✅ Benchmarks against 13 other speech-to-face models

Planned

  • ⬜ Unreal Engine MetaHuman support
  • ⬜ VRM model support
  • ⬜ Unity support

Links



Get In Touch


Try the models, create an issue, or email us. More about what we build at callable.com.ai.

Limitations

  • One speaker at a time. Feed it a mix of two voices and it will lip-sync both.
  • Measured mostly on English. It listens to sound, not text, so other languages work, but we have not measured how well.
  • No tongue and no teeth in the output.
  • Input is 16 kHz mono. Resample other audio first.

Model card

Model callable-lipsync tiny and nano, by Callable
License Apache 2.0 (weights and code)
Training data Callable's proprietary dataset

Citations

@misc{callable-lipsync,
  author = {Callable},
  title = {callable-lipsync: a tiny streaming speech-to-face model},
  year = {2026},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/callabledev/callable-lipsync}},
  email = {support@callable.com.ai}
}

Third-party material


The browser demo uses the FLAME 2023 Open head model (CC BY 4.0), conversations from DailyTalkContiguous (CC BY-SA 4.0, unmodified), ONNX Runtime Web and three.js. The demo video uses the same head model and one of those conversations.

Metadata

Release files for callable-lipsync 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for callable-lipsync 0.2.0
File Size Uploaded Provenance Actions
callable_lipsync-0.2.0.tar.gz 19.3 MB With provenance Details for callable_lipsync-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for callable-lipsync 0.2.0
File Interpreter ABI Platform Actions
callable_lipsync-0.2.0-py3-none-any.whl Python 3 none any Details for callable_lipsync-0.2.0-py3-none-any.whl

Total release size: 38.6 MB

Release files / callable_lipsync-0.2.0.tar.gz

Download URL callable_lipsync-0.2.0.tar.gz
Size 19.3 MB
Tags Source
SHA-256 checksum
How to use checksums
66e787391fa8a276700dd058c27e43b9a7b280bff2fa1ceaf98a94424f86f5cc
BLAKE2b-256 checksum
How to use checksums
64ccde4bbb604ccd49eb1d81081c575c694765eea9e2a04c6fefbfc4d6c2fc71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / callable_lipsync-0.2.0-py3-none-any.whl

Download URL callable_lipsync-0.2.0-py3-none-any.whl
Size 19.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a97b409a753afc6805ce922525002f8e6817138404f0dacdccc73e4038803aed
BLAKE2b-256 checksum
How to use checksums
8aa346203f6eef30db3fc2e89218b46d49d80a8de68dfee7fc013edff12c1122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for callable-lipsync 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for callable_lipsync-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page