Skip to content
프로젝트

소개

We propose LeapTalk, a novel framework that achieves stable and real-time talking-head generation with a single forward step, scaling to arbitrarily long videos.

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Real-time streaming: Generate open-ended talking-head videos from a reference image and speech audio in a chunk-by-chunk streaming pipeline.
  • One-step inference: Synthesize each video chunk with only 1 NFE, reaching up to 200 FPS in the Lite setting.
  • High-fidelity lip synchronization: Audio-driven classifier-free guidance strengthens mouth motion and speech alignment under extreme step reduction.
  • Stable long-video identity: Preserve facial structure, appearance, and visual style over long rollouts by reformulating talking-head generation as a data-to-data transport process via a Brownian bridge model, implemented through a novel Bridge Forcing paradigm.

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

LeapTalk: Breaking the Latency–Quality Trade-off in Talking Head Generation 🎥✨


Project Page arXiv HuggingFace Model

⭐Highlights

  • Real-time streaming: Generate open-ended talking-head videos from a reference image and speech audio in a chunk-by-chunk streaming pipeline.
  • One-step inference: Synthesize each video chunk with only 1 NFE, reaching up to 200 FPS in the Lite setting.
  • High-fidelity lip synchronization: Audio-driven classifier-free guidance strengthens mouth motion and speech alignment under extreme step reduction.
  • Stable long-video identity: Preserve facial structure, appearance, and visual style over long rollouts by reformulating talking-head generation as a data-to-data transport process via a Brownian bridge model, implemented through a novel Bridge Forcing paradigm.

🔧Installation

1. Create a Conda environment

conda create -n leaptalk python=3.12
conda activate leaptalk

2. Install PyTorch

pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1

3. Install other dependencies

pip install -r requirements.txt

4. Download models

pip install "huggingface_hub[cli]"

huggingface-cli download Soul-AILab/SoulX-FlashHead-1_3B \
  --local-dir ./models/SoulX-FlashHead-1_3B

huggingface-cli download facebook/wav2vec2-base-960h \
  --local-dir ./models/wav2vec2-base-960h

huggingface-cli download z-rx/leaptalk \
  --local-dir ./models/leaptalk

SoulX-FlashHead-1_3B is used as the base model. The LeapTalk checkpoint directory contains the LoRA weights, audio_proj_step_*.pt, and the Lite TAE checkpoint; the TAE path is resolved automatically when LITE=1.

5. Fill paths and run inference

Edit inf.sh with your local paths:

CKPT_DIR="./models/SoulX-FlashHead-1_3B"
WAV2VEC_DIR="./models/wav2vec2-base-960h"
LORA_DIR="./models/leaptalk"
AUDIO_PROJ="./models/leaptalk/audio_proj_step_10400.pt"
COMPILE="off"
NUM_INFERENCE_STEPS="1"
LITE="1"
COND_IMAGE="YOUR_REFERENCE_IMAGE_PATH"
AUDIO_PATH="YOUR_AUDIO_PATH"

Then run:

bash inf.sh

Web Demo

The web demo provides a real-time digital human conversation experience. After loading a portrait image, users can interact with the digital human through either text messages or microphone speech. The left side shows the streaming speaking video and runtime metrics, while the right side keeps the user input and dialogue history.

The portrait of this girl is AI-generated.

1. Configure keys and model paths

cp .env.example .env

Fill the Doubao APP ID/ACCESS TOKEN (Can be obtained from this tutorial) and the LeapTalk model paths in .env:

DOUBAO_APP_ID=YOUR_DOUBAO_APP_ID
DOUBAO_ACCESS_TOKEN=YOUR_DOUBAO_ACCESS_TOKEN
LEAPTALK_CKPT_DIR="./models/SoulX-FlashHead-1_3B"
LEAPTALK_WAV2VEC_DIR="./models/wav2vec2-base-960h"
LEAPTALK_LORA_DIR="./models/leaptalk"
LEAPTALK_AUDIO_PROJ="./models/leaptalk/audio_proj_step_10400.pt"

DOUBAO_API_KEY is kept as an optional fallback, but the web demo prefers the DOUBAO_APP_ID / DOUBAO_ACCESS_TOKEN pair when both are present.

2. Start the web server

python web_server.py

Open http://localhost:7860, load a portrait image, connect, then type a message or hold the record button to talk with the digital human in real time.

🔥Training

1. Prepare VividHead

Download the training dataset from Soul-AILab/VividHead:

huggingface-cli download Soul-AILab/VividHead \
  --repo-type dataset \
  --local-dir ./data/VividHead

The training script expects the dataset to contain paired videos and audios:

data/VividHead/
├── videos/
└── audios/

2. Fill training paths

train.sh uses the downloaded base model and wav2vec paths by default:

CKPT_DIR="./models/SoulX-FlashHead-1_3B"
WAV2VEC_DIR="./models/wav2vec2-base-960h"
VIDEO_DIR="./data/VividHead/videos"
AUDIO_DIR="./data/VividHead/audios"
SAVE_DIR="./outputs/train"

3. Run training

bash train.sh

Community / Integrations

  • ComfyUI-LeapTalk by @hiroki-abe-58: An unofficial ComfyUI integration for generating talking-head videos from a portrait and speech audio. See the integration repository for setup instructions, demos, and limitations.

Citation

If you find this work useful, please consider citing:

@misc{zhang2026leaptalkbreakinglatencyqualitytradeoff,
      title={LeapTalk: Breaking the Latency-Quality Trade-off in Talking Head Generation}, 
      author={Rongxiang Zhang and Songhua Liu},
      year={2026},
      eprint={2608.00079},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2608.00079}, 
}

관련 프로젝트 살펴보기

불러오는 중…