X-Dub
github.com
- Free plan
- Self-hosted
What X-Dub is
X-Dub is a free, open-source PyTorch project for syncing a character’s mouth movements to an audio track through visual dubbing. Its mask-free method uses temporal information from the full frame rather than explicit masks or reference frames, and is described as producing speech-aligned lip movement while limiting leakage and off-target edits. The project also targets stylized, non-human, and AI-generated characters. The public Wan-5B release is based on Wan2.2-TI2V-5B; the internal model used in the paper is not open sourced. Videos can be any size, with the face cropped and resized to 512×512 before the result is mapped back. The current release handles one person and lacks target tracking for multi-person scenes. Inference typically needs about 21 GB of VRAM. Code, weights, and command-line instructions support local Python setups, with ComfyUI nodes also linked.
Who it suits
X-Dub suits developers setting up a local Python environment who need character dubbing. It is aimed at single-person videos and can include stylized or synthetic characters.
Good to know, and what to watch
- Free, open-source Apache-2.0 project
- Handles arbitrary-size input videos
- Supports stylized and non-human characters
- ComfyUI integration is available
- Pretrained weights can be downloaded
- Requires about 21 GB of VRAM
- Single-person videos only
- May show flicker or identity drift
- Cropping can jitter during rapid head movement
The verdict
X-Dub provides a local, open implementation for speech-synced character video, with broad character support and linked integrations. Users should plan for substantial VRAM, single-person input, and the listed visual artifacts.
What the maker publishes
- Character support
- The project says it generalizes to stylized, non-human, and AI-generated characters. source
- Community integration
- The repository links to community-maintained ComfyUI custom nodes with native video and audio inputs, standard VAE integration, and an isolated runtime. source
- Cropping caveat
- The online DWPose-based cropping strategy may cause visible jitter or fail to follow faces during rapid head movement. source
- Editing approach
- The project describes mask-free dubbing that uses full-frame temporal context without explicit masks or reference frames. source
- Ethical use
- The repository warns of possible identity impersonation or deceptive synthetic media misuse and supports clear labeling of AI-generated content. source
- Hardware requirement
- Inference typically requires about 21 GB of VRAM. source
- Hardware requirement
- The repository says inference typically requires about 21 GB of VRAM. source
- Input handling
- The inference pipeline accepts arbitrary-size input videos and automatically crops and resizes the face region to 512×512 before mapping the generated result back to the full video. source
- Integration
- The repository links a community-maintained ComfyUI project with custom nodes for X-Dub. source
- Intended users
- The project provides code, model weights, and command-line inference instructions for users setting up a local Python environment. source
- Known limitations
- The public Wan-5B release may show flickering, identity or color drift, occasional noisy frames, and roughly twice the inference time of the internal version without acceleration. source
- License
- The GitHub repository identifies its license as Apache-2.0. source
- License
- The repository lists the Apache-2.0 license, which grants no-charge, royalty-free copyright permissions subject to its terms. source
- Lip-sync
- The project says it produces speech-aligned lip movements while avoiding leakage and off-target edits. source
- Output caveats
- The public release may show occasional flickering, identity or color drift, and severe noisy frames in roughly 2% of cases; the repository also reports roughly 2× slower inference than the internal version without acceleration strategies. source
- Project affiliation
- The repository lists contributors affiliated with Tsinghua University, Kling Team at Kuaishou Technology, Beihang University, HKUST, and CUHK. source
- Public release
- The public X-Dub (Wan-5B) release is based on Wan2.2-TI2V-5B; the repository says the internal model used in the paper is not open sourced. source
- Public release
- The repository provides a public X-Dub release based on Wan2.2-TI2V-5B and pretrained weights. source
- Purpose
- X-Dub is a PyTorch implementation for syncing a character in a video to an audio track through visual dubbing. source
- Purpose
- X-Dub synchronizes a character’s lip movements in a video to match input audio. source
- Responsible use
- The project notes potential misuse for identity impersonation or deceptive synthetic media and encourages labeling AI-generated content. source
- Single-person limit
- The current release supports single-person videos and does not support target tracking in multi-person scenes. source
- Support
- The repository invites users to open an issue for discussion and lists [email protected] for questions. source
- Support
- The repository invites users to open an issue for suggestions and provides a contact email for questions. source
Checked against the maker's pages on 11 Oct 2026.