OpenANI-1
OpenANI-1 is a real-time local motion and facial animation model for humanoid 3D avatars (GLB / VRM), built for OpenANImates. It generates continuous 30 fps skeletal body motion and 52-channel ARKit facial animation conditioned on speech audio, motion style, optional garment skirt profile, and commanded gestures.
Using OpenANImates? You do not need to download these files manually β the app downloads the weights automatically on first launch unless you want to use the model standalone.
Highlights
- Fast 4-step flow matching: distilled body generator (
openani-1-body.safetensors) runs in 4 Euler steps per 12-frame (0.4 s) window for real-time local inference. - Audio-driven speech & calm idle: smoothly transitions between relaxed idle breathing/blinking in silence and full-amplitude audio-conditioned gesticulation + ARKit lip-sync/expressions (
openani-1-face.safetensors) during speech. - Garment-aware arms: accepts an 18Γ8 skirt/dress collision profile so hands naturally avoid clipping through wide garments.
- Commanded gestures: supports 8 gesture presets (
heart,heart-cheek,heart-send,wave,wave-high,wave-left,wave-both,hem) blended cleanly into generated motion.
Benchmarks
Measured with python3 benchmark.py --cpu-bench (PyTorch 2.11, 4 Euler steps, 12-frame / 0.4 s windows, 30 fps target) on NVIDIA GeForce RTX 4060 and CPU:
Model Size & Real-Time Speed
| Component / Mode | Params | Latency / Window (12 frames) | Latency / Frame | Throughput | Real-Time Factor (30 fps) | Peak VRAM |
|---|---|---|---|---|---|---|
| Body + AE (RTX 4060) | 30.96M | 23.98 ms | 2.00 ms | 500.3 FPS | 0.060Γ (16.7Γ faster) | 153.2 MB |
| Body + Face ARKit (RTX 4060) | 36.59M | 37.50 ms | 3.13 ms | 320.0 FPS | 0.094Γ (10.7Γ faster) | 153.2 MB |
| Body + AE (CPU) | 30.96M | 42.36 ms | 3.53 ms | 283.3 FPS | 0.106Γ (9.4Γ faster) | β |
| Body + Face ARKit (CPU) | 36.59M | 63.48 ms | 5.29 ms | 189.0 FPS | 0.159Γ (6.3Γ faster) | β |
(Parameters breakdown: MotionAutoencoder 12.17M, Body FlowModel 18.79M, Face FlowModel 5.63M.)
Comparison with Real-Time 3D Motion Models
Note: figures for external models are self-reported on their respective hardware and skeleton rigs (e.g., SMPL-X / BEAT2 vs. OpenANI-1's 61-joint humanoid + 52 ARKit rig) and are listed for high-level real-time context.
| Model | Weights | Output | Inference Speed | Real-Time Throughput | Garment-Aware |
|---|---|---|---|---|---|
| OpenANI-1 (RTX 4060) | Open | Body (61 joints) + 52 ARKit | 2.00 ms/f (body) / 3.13 ms/f (all) | 500 / 320 FPS | Yes (18Γ8 profile) |
| OpenANI-1 (CPU) | Open | Body (61 joints) + 52 ARKit | 3.53 ms/f (body) / 5.29 ms/f (all) | 283 / 189 FPS | Yes (18Γ8 profile) |
| ANI-2 (Animation Inc.) | Closed | Body + Face | 2.50 ms/f (reported) | ~400 FPS (implied) | Engine-side |
| RoboGesture (ECCV 2026) | Research | Humanoid body | ~8.3 ms/f (+5.6 ms MPC) | ~120 FPS | No |
| StreamTalk (2025β2026) | Research | Body (SMPL-X) | ~13.2 ms/f | ~76 FPS | No |
| EMAGE (CVPR 2024) | Open | Body + Face (FLAME) | Offline windowed | Non-streaming | No |
Motion Quality, Physics & Controllability
| Metric | Speech (no garment) | Speech (with skirt profile) | Silence (idle) | Continuous 60 s |
|---|---|---|---|---|
| Hand speed (m/s) | 0.319 | 0.310 | 0.071 | 0.201 |
| Hand jerk (m/sΒ³) | 44.5 | 43.8 | 15.5 | 28.8 |
| Window seam ratio | 1.162 | 1.143 | 1.041 | 1.105 |
| Foot skating (cm/s) | 1.33 | 1.43 | 1.29 | 2.22 |
| Beat Consistency (BC) | 0.491 | 0.459 | β | 0.512 |
| Root drift P95 / max (m) | 0.123 / 0.131 | 0.139 / 0.149 | 0.150 / 0.185 | 0.460 / 0.513 |
| Heading drift P95 (Β°) | 22.2 | 22.1 | 23.1 | 19.3 |
| Skirt contact / >2 cm penetration | 26.7% / 0.0% | 19.7% / 0.0% | β | 21.4% / 0.0% |
- Multi-seed diversity (4 seeds, identical speech):
20.88 cmmean pairwise hand-trajectory distance. - Reproduce: run
python3 benchmark.py --cpu-benchfrommodels/openani-1(optionally pass--wav speech.wavand--garment profile.bin).
Architecture
- Motion Autoencoder (
MotionAutoencoder): encodes 12-frame motion windows (370-dim features) with 4 history frames into6 Γ 32latent tokens (width=384,layers=4,heads=6). - Body Flow Model (
FlowModel): latent flow-matching transformer (width=384,layers=8,heads=6,84style embeddings) conditioned on 80-bin log-mel audio (24 kHz), turn state (SPEAKING,PAUSE,TAIL,LISTENING), remaining utterance time, goal anchor/steering command, garment profile (18 Γ 8), and gesture cues. - Face Flow Model (
FlowModel): flow-matching transformer (width=256,layers=5,heads=4) predicting12 Γ 52ARKit blendshape weights per window.
Files
openani-1-body.safetensors(~119 MB) β Motion autoencoder + 4-step body flow weights and rig/rest statistics (Safetensors).openani-1-face.safetensors(~22 MB) β 52-channel ARKit facial flow weights, inference-only (Safetensors).LICENSE&NOTICEβ Apache License 2.0 and required attribution notice.
The PyTorch inference package (openani/), NDJSON producer (openani_producer.py), humanoid retargeting (rig.py), gesture clips, and benchmark script live in the main repository: github.com/howdeploy/OpenANImates/tree/main/models/openani-1.
Training & Evaluation
All OpenANI-1 weights were trained from random initialization using Unity animations, synthetic neural-generated animations, and hand-authored animations. Behavior, responsiveness, and motion quality were evaluated and benchmarked against ANI-2 as a behavioral reference and validation baseline.
Usage
With OpenANImates (automatic)
Clone and run OpenANImates β openani_producer.py automatically downloads openani-1-body.safetensors and openani-1-face.safetensors from howdeploy/OpenANI-1 on first launch (override repo via OPENANI_HF_REPO).
Standalone inference
Download the weights into models/openani-1/ from github.com/howdeploy/OpenANImates:
# Requirements: Python 3.10+, torch, numpy, scipy, safetensors
hf download howdeploy/OpenANI-1 --local-dir models/openani-1
chmod +x models/openani-1/run-openani.sh
./models/openani-1/run-openani.sh --avatar /path/to/avatar.glb
License & Attribution
Released under the Apache License 2.0 (see LICENSE and NOTICE). Commercial use, fine-tuning, and derivative models are permitted provided you retain the LICENSE and NOTICE files and clearly credit the original OpenANI-1 weights and the OpenANImates project.