duixcom/Duix-Avatar
Electron desktop app and local GPU services for offline talking-avatar videos
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
fun-asr, fish-speech-ziming, and duix.avatar; the lite profile starts only video generation.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.
You need live interaction, CPU-only operation, a small installation footprint, or a managed service that takes GPU operations off your plate.
Quick Start & Installation
sudo apt update sudo apt install docker.io sudo apt install docker-compose
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Duix-Avatar ★ | 16.5k | +81 | C | — | Electron desktop app and local GPU services for offline talking-avatar videos |
| waoowaoo | 15k | +59 | TypeScript | — | A self-hosted AI canvas for turning briefs and references into images and video |
| ComfyUI | 149.9k | +945 | Python | GPL-3.0 | A node-graph engine for building and running multimodal AI workflows locally |
| RuView | 106k | +752 | Rust | MIT | Edge WiFi CSI sensing for camera-free occupancy and local automation |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/duixcom/Duix-Avatar.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Duix-Avatar
Can I integrate the synthesis pipeline without using the desktop client?
/v1/invoke for WAV synthesis, then submit audio and video paths to port 8383 at /easy/submit. Poll /easy/query with the job code. Make sure the containers can resolve the media paths through their mounted directories.What GPU, VRAM, and storage should I budget for?
Does self-hosting give us unrestricted commercial use?
LICENSE file and separate community model agreements in English and Chinese. The local commercial-use policy calls for a commercial agreement if an enterprise exceeds 100,000 users or US$10 million in annual revenue. Review the applicable code, model, and container terms before rollout, and confirm authorization to use the recorded likeness and voice.When should I choose this over a hosted avatar API?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy