🚀 Truly open-source AI avatar(digital human) toolkit for offline video generation and digital human cloning.
🚀 Truly open-source AI avatar(digital human) toolkit for offline video generation and digital human cloning.
🔗 Office website: www.duix.com
Duix.Avatar is a free and open-source AI avatar project developed by Duix.com.
Seven years ago, a group of young pioneers chose an unconventional technical path, developing a method to train digital human models using real-person video data. Unlike traditional costly 3D digital human approaches, we leveraged AI-generated technology to create ultra-realistic digital humans, slashing production costs from hundreds of thousands of dollars to just $1,000. This innovation has empowered over 10,000 enterprises and generated over 500,000 personalized avatars for professionals across fields – educators, content creators, legal experts, medical practitioners, and entrepreneurs – dramatically enhancing their video production efficiency. However, our vision extends beyond commercial applications. We believe this transformative technology should be accessible to everyone. To democratize digital human creation, we've open-sourced our cloning technology and video production framework. Our commitment remains: breaking down technological barriers to make cutting-edge tools available to all. Now, anyone with a computer can freely craft their own AI Avatar and produce videos at zero cost – this is the essence of Duix.Avatar.
Duix.Avatar is a fully offline video synthesis tool designed for Windows systems that can precisely clone your appearance and voice, digitalizing your image. You can create videos by driving virtual avatars through text and voice. No internet connection is required, protecting your privacy while enjoying convenient and efficient digital experiences.
Duix.Avatar supports Docker-based rapid deployment. Prior to deployment, ensure your hardware and software environments meet the specified requirements.
Duix.Avatar support two deployment modes:Windows / Ubuntu 22.04 Installation
System Requirements:
Hardware Requirements:
Must have D Drive: Mainly used for storing digital human and project data
C Drive: Used for storing service image files
Recommended Configuration:
Ensure you have an NVIDIA graphics card with properly installed drivers
NVIDIA driver download link: https://www.nvidia.cn/drivers/lookup/
Use the command wsl --list --verbose to check if WSL is installed. If it shows as below, it's already installed and no further installation is needed.
Update WSL using wsl --update.
Download Docker for Windows, choose the appropriate installation package based on your CPU architecture.
When you see this interface, installation is successful.
Run Docker
Accept the agreement and skip login on first run
Installation using Docker, docker-compose as follows:
docker-compose.yml file is in the /deploy directory.docker-compose up -d in the /deploy directory, if you want to use the lite version, execute docker-compose -f docker-compose-lite.yml up -dDuix.Avatar-gen-video)For 50 series graphics cards (tested and also works for 30/40 series with CUDA 12.8) Uses the official preview version of PyTorch
Duix.Avatar-x.x.x-setup.exe to installSystem Requirements:
We have conducted a complete test on Ubuntu 22.04. However, theoretically, it supports desktop Linux distributions.
Hardware Requirements:
Install Docker:
First, use docker --version to check if Docker is installed. If it is installed, skip the following steps.
sudo apt update
sudo apt install docker.io
sudo apt install docker-composeInstall the graphics card driver:
After installation, execute the nvidia-smi command. If the graphics card information is displayed, the installation is successful.
The NVIDIA Container Toolkit is a necessary tool for Docker to use NVIDIA GPUs. The installation steps are as follows:
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/libnvidia-container/gpgkey | sudo apt-key add - \
&& curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.listsudo apt-get update
sudo apt-get install -y nvidia-container-toolkitsudo nvidia-ctk runtime configure --runtime=dockersudo systemctl restart dockercd /deploy
docker-compose -f docker-compose-linux.yml up -dDuix.Avatar-x.x.x.AppImage to launch it. No installation is required.Reminder: In the Ubuntu system, if you enter the desktop as the root user, directly double - clicking Duix.Avatar - x.x.x.AppImage may not work. You need to execute ./Duix.Avatar - x.x.x.AppImage --no - sandbox in the command - line terminal. Adding the --no - sandbox parameter will do the trick.
We have opened APIs for model training and video synthesis. After Docker starts, several ports will be exposed locally, accessible through http://127.0.0.1.
For specific code, refer to:
Separate video into silent video + audio
Place audio in
D:\duix_avatar_data\voice\data is agreed with the guiji2025/fish-speech-ziming service, can be modified in docker-compose
Call the
Parameter example:Response example:Record the response results as they will be needed for subsequent audio synthesis
Interface: http://127.0.0.1:18180/v1/invoke
…Synthesis interface: http://127.0.0.1:8383/easy/submit
// Request parameters
{
"audio_url": "{audioPath}", // Audio path
"video_url": "{videoPath}", // Video path
"code": "{uuid}", // Unique key
"chaofen": 0, // Fixed value
"watermark_switch": 0, // Fixed value
"pn": 1 // Fixed value
}Progress query: http://127.0.0.1:8383/easy/query?code=${taskCode}
GET request, the parameter taskCode is the code from the synthesis interface input above
we are now announcing two parallel service solutions:
| Project | Duix.Avatar Open Source Local Deployment | Digital Human/Clone Voice API Service |
|---|---|---|
| Usage | Open Source Local Deployment | Rapid Clone API Service |
| Recommended | Technical Users | Business Users |
| Technical Threshold | Developers with deep learning framework experience/pursuing deep |
RTX 5070 (Blackwell) not supported — CUDA kernel error on Docker backend
First Avatar for Me
无法支持并发吗
请教 三次获取音频时长失败 如何解决?
5090 显卡,ubuntu 系统 创建模特时提交视频提示报错信息:Error: Error invoking remote method 'model/addModel': TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null
Bug in docker compose file
where is to get ENG client for windows???
The issue for deployment on Linux system(Ubuntu 22)
[Documentation] Windows Docker troubleshooting for TTS-ASR connection failures
Video generation skills are already available.