DITTO GGUF

The combined packages include InsightFace weights restricted to non-commercial research. See License.

Animate a portrait from speech with Ant Group’s DITTO, running natively in audio.cpp. Supply an image or reference video and driving audio. The model generates talking-portrait frames, not speech.

Mona Lisa demos

Same portrait, 15.75-second speech recording, seed 2026, 50 denoising steps and guidance 2. Both use CUDA with the cuDNN/F16 renderer and output 25 FPS. These are complete offline generations, not recordings of live streaming.

F16

Download F16 video

Mixed Q8

Download Q8 video

Packages

File Size Use
ditto-f16.gguf 1.204 GiB Recommended; closer agreement with the reference.
ditto-q8_0.gguf 0.878 GiB Smaller storage with greater numerical drift.

Each standalone GGUF embeds HuBERT, motion diffusion, portrait rendering, face-analysis and eye-conditioning weights, configuration and the audio.cpp model specification. No separate model downloads are required for inference.

F16 stores projection and renderer convolution weights in half precision. Mixed Q8 quantizes eligible projection weights and retains F16 renderer convolutions. Normalization and conditioning constants retain F32. These labels describe package storage; component loaders may retain F32 computation.

Run

From an audio.cpp checkout containing DITTO support:

build/debug/bin/audiocpp_cli --family ditto --task gen \
  --model /path/to/ditto-f16.gguf --backend cuda --threads 8 \
  --audio /path/to/driving-speech.wav \
  --request-option reference_image_file=/path/to/mona-lisa.jpg \
  --seed 2026 --request-option num_inference_steps=50 \
  --request-option guidance_scale=2 \
  --out-dir outputs/ditto --log

Substitute ditto-q8_0.gguf for Q8. The default renderer uses GGML. To select the renderer used for these demos and measurements, add:

--session-option 'ditto.exec_plan={"renderer":{"impl":"cudnn"}}'

This requires a CUDA build with both GGML_CUDA_CUDNN_CONV2D and GGML_CUDA_CUDNN_CONV3D enabled and compatible cuDNN runtime libraries. Otherwise retain the default GGML renderer. CPU and Vulkan use GGML.

The CLI exports RGB24 frames and JSON metadata. Encode them, then mux the input audio:

python tools/models/video_artifacts_render.py \
  --input outputs/ditto --pattern 'ditto_video_*.json' \
  --output outputs/ditto/video.mp4

ffmpeg -i outputs/ditto/video.mp4 -i /path/to/driving-speech.wav \
  -c:v copy -c:a aac -movflags +faststart outputs/ditto/with-audio.mp4

For a source video, use reference_video_file instead of reference_image_file. Video decoding uses FFmpeg shared libraries in-process. Audio is mixed to mono and resampled to 16 kHz using libsoxr; if unavailable, the shared sinc fallback emits a warning and may introduce numerical drift.

Streaming

The C++ session also accepts incremental mono 16 kHz PCM and emits ordered video-frame artifacts as input arrives. Its 80-frame motion window and 10-frame overlap require roughly 3.2 seconds of initial audio context. Finalization flushes the remaining frames. Session-owned graphs and prepared source features are reused. Streaming support does not imply immediate first-frame output or real-time speed on every device.

See the audio.cpp DITTO documentation for options and validation scope.

Measured performance and quality

RTX 5090, eight threads, Debug build, cuDNN/F16 renderer, official 15.7546875-second example and original 1432×1432 portrait—not the Mona Lisa demo. Each package ran sequentially with one warmup and two measured requests in the same session.

Package Warm RTF Peak process VRAM Full-frame / face SSIM vs Python
F32 validation control, not distributed 0.6445 3,114 MiB 0.992249 / 0.987999
F16 0.6505 3,024 MiB 0.992095 / 0.987799
Mixed Q8 0.6516 3,024 MiB 0.987622 / 0.982806

RTF is generation time divided by input duration; lower is better. Timings use session.wall_ms, excluding model loading, frame-file export and MP4 encoding. Process VRAM was sampled every 200 ms. The roughly 1% timing differences do not demonstrate a speed advantage; the main benefit is smaller packages, with a measured 90 MiB VRAM reduction.

Quality compares all 394 frames with a saved official Python output, using identical video encoding and a fixed face crop. SSIM measures image agreement, not an independent perceptual or lip-sync score. Each package produced byte-identical frame artifacts across its three requests. These package measurements cover CUDA offline generation; no CPU/Vulkan performance claim is made.

License

DITTO’s upstream code is Apache-2.0. Its pipeline incorporates LivePortrait and third-party components with their own terms.

The bundled InsightFace face-detection and landmark checkpoints are restricted to non-commercial research. DITTO’s Apache-2.0 code license does not override those restrictions. See InsightFace’s model license policy and retain applicable upstream notices when redistributing the combined packages. See NOTICE and the upstream Apache-2.0 code license. This model card does not grant additional rights.

Original checkpoints: digital-avatar/ditto-talkinghead. DITTO is by Tianqi Li, Ruobing Zheng, Minghui Yang, Jingdong Chen and Ming Yang at Ant Group.

Demo credits

Portrait: Leonardo da Vinci’s Mona Lisa, public-domain reproduction from Wikimedia Commons, resized to 768 pixels wide. Source portrait.

Driving audio: the official DITTO example, resampled to mono 16 kHz. Demo audio.

Both videos are synthetic animations of a painting, not authentic recordings.

Downloads last month
928
GGUF
Model size
0.6B params
Architecture
audiocpp
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for audio-cpp/DITTO-GGUF

Quantized
(2)
this model