# Repository Briefing: duixcom/Duix-Avatar
> Source: https://repoforai.com/repo/duixcom/Duix-Avatar (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/duixcom/Duix-Avatar
- **Official Docs / Website**: https://www.duix.com/
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: C
- **License**: See repository
- **Engineering Health**: C (48/100 · Maintenance 6/35 · Adoption 25/25 · Releases 11/20 · License 6/20)
- **Latest Release**: v1.0.6 (2025-09-28) — https://github.com/duixcom/Duix-Avatar/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI, GPU
- **Momentum**: 16,540 ★ total (+10 24h / +81 7d) · 2,825 forks
- **Topics**: `ai-avatar`, `ai-avatars`, `cloning`, `cloning-tool`, `digital-human`, `multimodal-ai`, `video-generation`, `video-synthesis`
- **When to Use**: Best for: Teams producing prerecorded training, educational, or presenter videos with authorized likenesses and voices, a local NVIDIA workstation, and a need to keep source media on-site. Skip if: You need live interaction, CPU-only operation, a small installation footprint, or a managed service that takes GPU operations off your plate.

## Overview
```text
### Architecture & Core Mechanics
Duix.Avatar separates an Electron/Vue desktop client from a Dockerized inference backend. The client manifest includes Pinia and Vue Router alongside `better-sqlite3` and `fluent-ffmpeg`, reflecting a desktop stack with local database and media-processing dependencies. The full backend is packaged as three images: `guiji2025/fun-asr`, `guiji2025/fish-speech-ziming`, and `guiji2025/duix.avatar`.

The workflow separates a reference recording into audio and silent video, prepares voice reference data, and reuses the returned reference audio and text for speech synthesis. Video synthesis takes audio and video paths and runs as an asynchronous job that clients poll by code. For integration, the concrete extension point is local HTTP, with client-side service code in `src/main/service/model.js`, `video.js`, and `voice.js` under the same directory. Changes to the desktop workflow and changes to inference internals are separate tasks: the latter run behind container images.

### Key Capabilities & Differentiators
The local pipeline uses a person's source footage and voice to produce prerecorded talking-avatar videos. Users can drive the avatar with existing audio or generate speech from text using prepared voice references. The speech API returns WAV, and the video API handles lip-synced rendering from audio and video inputs. Script support covers English, Japanese, Korean, Chinese, French, German, Arabic, and Spanish.

For custom clients, speech synthesis uses `127.0.0.1:18180/v1/invoke`, while video rendering uses `127.0.0.1:8383/easy/submit` and progress polling at `/easy/query`. The lite deployment starts only the video generation service, so it should not be treated as a drop-in replacement for the full voice-preparation and text-to-speech stack. This is batch video production, not real-time interaction; evaluate voice fidelity and lip sync on representative footage before adoption.

### Trade-offs & Limitations
Compared with the vendor's hosted clone API, the local stack trades managed infrastructure for control over where media and inference run. That is useful for recordings that should stay on the workstation, but the operator owns NVIDIA driver compatibility, Docker GPU access, image storage, and client/server version alignment. The hosted option removes the need to provision a GPU and offers an enterprise support path, at the cost of surrendering control over the inference runtime.

Local processing does not make the stack lightweight: the full service set requires NVIDIA GPU access, and no measured VRAM floor or throughput is given. Validate representative clips and expected concurrency before budgeting capacity. Licensing also needs a separate check: a `LICENSE` file coexists with model community agreements, and the published local commercial terms require a separate agreement for enterprises with more than 100,000 users or over US$10 million in annual revenue.

### Hardware & Deployment Guide
The supported installation paths are Windows 10 build 19042.1526 or later and validated Ubuntu 22.04 Desktop. From `deploy/`, Windows uses Docker with WSL and `docker-compose up -d`, or `docker-compose -f docker-compose-lite.yml up -d` for video only. Ubuntu requires an NVIDIA driver and the NVIDIA Container Toolkit and uses `docker-compose -f docker-compose-linux.yml up -d`. The desktop client ships as a Windows installer or Linux AppImage; Node.js 18 is listed for the source workflow.

The reference configuration includes an RTX 4070 and 32 GB of system RAM. Windows budgets over 30 GB on D: for project data and over 100 GB for service image storage, which Docker can relocate; Ubuntu calls for over 100 GB free. The full stack initially downloads about 70 GB, so offline generation assumes the required artifacts are already local. The separate 50-series setup was tested on an RTX 5090 and uses CUDA 12.8 with a PyTorch preview build. v1.0.5 renamed HeyGem to Duix.Avatar; v1.0.6 is a naming update recommended for new installs pairing with the latest server.
```

## Key Capabilities
```text
- Runtime split: Electron/Vue desktop client paired with Dockerized NVIDIA GPU services.
- Backend packaging: Full Compose deployment uses `fun-asr`, `fish-speech-ziming`, and `duix.avatar`; the lite profile starts only video generation.
- Integration: Local HTTP endpoints provide WAV synthesis, video submission, and progress polling by job code.
- Script coverage: Eight languages, including Arabic, Japanese, Korean, and Spanish.
- GPU compatibility: RTX 4070 reference configuration and a separate RTX 5090-tested setup using CUDA 12.8 and a PyTorch preview build.
- Client releases: v1.0.5 changed the HeyGem name to Duix.Avatar; v1.0.6 is a naming update recommended for new installs pairing with the latest server.
```

## Quick Start / Clone
```bash
sudo apt update
sudo apt install docker.io
sudo apt install docker-compose
```
