Downloads · 30 days
0
zzz66/AnyTalker-1.3B
AnyTalker-1.3B is a machine learning model from zzz66. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Apr 15, 2026
Repo size
137 GB
Likes
12
Public
Click a slice to open those files.
.pth91.6 GB · 100%
From the Hugging Face model README
Zhizhou Zhong · Yicheng Ji · Zhe Kong · Yiying Liu* · Jiarui Wang · Jiasun Feng · Lupeng Liu · Xiangyi Wang · Yanjia Li · Yuqing She · Ying Qin · Huan Li
Shuiyang Mao · Wei Liu · Wenhan Luo<sup>✉</sup>
<sup>*</sup>Project Leader <sup>✉</sup>Corresponding Author
<a href="https://huggingface.co/spaces/C4G-HKUST/AnyTalker" target="_blank"><img src="https://img.shields.io/badge/🤗 Hugging Face-Spaces-blue" alt="HF space"></a> <a href='https://hkust-c4g.github.io/AnyTalker-homepage/'><img src='https://img.shields.io/badge/Project-Page-green'></a> <a href='https://huggingface.co/papers/2511.23475'><img src='https://img.shields.io/badge/Paper-HF-red'></a> <a href='https://github.com/HKUST-C4G/AnyTalker'><img src='https://img.shields.io/badge/GitHub-Code-blue'></a> <a href='https://arxiv.org/abs/2511.23475/'><img src='https://img.shields.io/badge/Technique-Report-red'></a>
</div><p align="center"> <img src="https://github.com/HKUST-C4G/AnyTalker/blob/main/assets/method.png?raw=true"> </p>TL; DR: AnyTalker is an audio-driven framework for generating multi-person talking videos. It features a flexible multi-stream structure to scale identities while ensuring seamless inter-identity interactions.
🔥 Nov 28, 2025: We release the AnyTalker weights, inference code, and project page.
📖 Dec 1, 2025: We release the technical report.
conda create -n AnyTalker python=3.10
conda activate AnyTalker
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu126
pip install -r requirements.txt
pip install ninja
pip install flash_attn==2.8.1 --no-build-isolation
You need an FFmpeg build with x264 (libx264) support to encode H.264 videos. Depending on your environment, you can install it via one of the following commands:
# Ubuntu / Debian
apt-get install ffmpeg
or
# CentOS / RHEL
yum install ffmpeg ffmpeg-devel
or
# Conda (no root required)
conda install -c conda-forge ffmpeg
⚠️ Note: If you install FFmpeg via conda and encounter the error
Unknown encoder 'libx264', or if the following command does not list libx264:ffmpeg -encoders | grep libx264you can install a specific conda-forge build that includes libx264 support:
conda install -c conda-forge ffmpeg=7.1.0Reference: bytedance/LatentSync#60
| Models | Download Link | Notes |
|---|---|---|
| Wan2.1-Fun-V1.1-1.3B-InP | 🤗 Huggingface | Base model |
| wav2vec2-base | 🤗 Huggingface | Audio encoder |
| AnyTalker-1.3B | 🤗 Huggingface | Our weights |
Download models using huggingface-cli:
# curl -LsSf https://hf.co/cli/install.sh | bash
hf download alibaba-pai/Wan2.1-Fun-V1.1-1.3B-InP --local-dir ./checkpoints/Wan2.1-Fun-1.3B-Inp
hf download facebook/wav2vec2-base-960h --local-dir ./checkpoints/wav2vec2-base-960h
hf download zzz66/AnyTalker-1.3B --local-dir ./checkpoints/AnyTalker
The directory shoube be organized as follows.
checkpoints/
├── Wan2.1-Fun-V1.1-1.3B-InP
├── wav2vec2-base-960h
└── AnyTalker
The provided script currently performs 480p inference on a single GPU and automatically switches between single-person and multi-person generation modes according to the length of the input audio list.
#!/bin/bash
export CUDA_VISIBLE_DEVICES=0
python generate_a2v_batch_multiID.py \
--ckpt_dir="./checkpoints/Wan2.1-Fun-1.3B-Inp" \
--task="a2v-1.3B" \
--size="832*480" \
--batch_gen_json="./input_example/customize_your_input_here.json" \
--batch_output="./outputs" \
--post_trained_checkpoint_path="./checkpoints/AnyTalker/1_3B-single-v1.pth" \
--sample_fps=24 \
--sample_guide_scale=4.5 \
--offload_model=True \
--base_seed=44 \
--dit_config="./checkpoints/AnyTalker/config_af2v_1_3B.json" \
--det_thresh=0.15 \
--mode="pad" \
--use_half=True
or
sh infer_a2v_1_3B_batch.sh
--offload_model: Whether to offload the model to CPU after each model forward, reducing GPU memory usage.
--det_thresh: detection threshold for the InsightFace model; a lower value improves performance on abstract-style images.
--sample_guide_scale: recommended value is 4.5; applied to both text and audio.
--mode: select "pad" if every audio input track has already been zero-padded to a common length; select "concat" if you instead want the script to chain each speaker’s clips together and then zero-pad the non-speaker segments to reach a uniform length.
--use_half: Whether to enable half-precision (FP16) inference for faster acceleration.
<p align="center">
<img src="https://github.com/HKUST-C4G/AnyTalker/blob/main/assets/pad.png?raw=true"><br>
Illustration of “pad” mode for audio inputs.
</p>
We provide the benchmark used in our paper to evaluate Interactivity, including the dataset and the metric computation script.
python -m pip install -U yt-dlp
cd ./benchmark
python download.py
The directory shoube be organized as follows.
benchmark/
├── audio_left # Audio for left speaker (zero-padded to full length)
├── audio_right # Audio for right speaker (zero-padded to full length)
├── speaker_duration.json # Start/end timestamps for each speaker
├── interact_11.mp4 # Example video
└── frames # Reference image supplied as the first video frame
# single video
python calculate_interactivity.py --video interact_11.mp4
# entire directory
python calculate_interactivity.py --dir ./your_dir
The script prints the Interactivity score defined in the paper.
Note: generated videos must keep the exact same names listed in speaker_duration.json.
If you find our work useful in your research, please consider citing:
@article{zhong2025anytalker,
title={AnyTalker: Scaling Multi-Person Talking Video Generation with Interactivity Refinement},
author={Zhong, Zhizhou and Ji, Yicheng and Kong, Zhe and Liu, YiYing and Wang, Jiarui and Feng, Jiasun and Liu, Lupeng and Wang, Xiangyi and Li, Yanjia and She, Yuqing and Qin, Ying and Li, Huan and Mao, Shuiyang and Liu, Wei and Luo, Wenhan},
journal={arXiv preprint},
year={2025}
}
The models in this repository are licensed under the Apache 2.0 License. We claim no rights over the your generated contents, granting you the freedom to use them while ensuring that your usage complies with the provisions of this license. You are fully accountable for your use of the models, which must not involve sharing any content that violates applicable laws, causes harm to individuals or groups, disseminates personal information intended for harm, spreads misinformation, or targets vulnerable populations.