fluxions-ai/vui

Vui Nano — a small, context-aware text-to-speech model trained on real conversations. 219M active params (305M total), Apache 2.0, voice cloning, streaming, runs on CPU (dependency-free C build). Ships with a full real-time voice assistant: WebRTC, ASR, local LLM, OpenAI Realtime API compatible.

What it solves

Vui is a real-time, streaming conversational voice assistant that allows users to talk to a computer and receive spoken responses. It addresses the lack of context-aware, low-latency voice interfaces by integrating automatic speech recognition (ASR), a large language model (LLM), and a specialized text-to-speech (TTS) model into a single pipeline.

How it works

The system uses a WebRTC and WebSocket pipeline to handle the voice loop. It employs Vui Nano, a small (219M active parameters) TTS model trained on real conversations. Unlike traditional TTS, Vui Nano uses a KV cache to store the entire dialogue—including the audio of the user's turn—allowing it to maintain prosody, breaths, and laughter across turns. The pipeline integrates pluggable ASR (faster-whisper or Moonshine) and LLM backends (Ollama, vLLM, or OpenAI-compatible endpoints) to generate responses.

Who it’s for

It is designed for developers building voice-driven AI agents, researchers interested in conversational TTS, and users who want a fully local, low-latency voice assistant with voice cloning capabilities.

Highlights

  • Vui Nano TTS: A small, context-aware model that carries prosody across a ~6-minute conversation window.
  • Real-time Performance: Supports barge-in (interrupting the AI) and streaming TTS with high real-time factors on NVIDIA GPUs.
  • CPU Inference: Includes a dependency-free C build for TTS that runs on CPU without Python or PyTorch.
  • Extensible Architecture: Pluggable ASR and LLM backends, and an optional Claude task server for agentic work (Gmail, Calendar, etc.).
  • Voice Cloning: Ability to clone any speaker via an audio sample upload.
  • OpenAI Realtime API Compatible: Drop-in compatibility for clients built for the OpenAI Realtime spec.

Related

  • Project
  • Project
  • Project
  • Project
  • Project