bigsk1/voice-chat-ai

🎙️ Speak with AI - Run locally using Ollama, OpenAI, Anthropic or xAI - Speech uses SparkTTS, OpenAI, ElevenLabs, Kokoro, xAI and more

What it solves

Voice Chat AI removes the barrier between users and AI by enabling real-time, spoken conversations with various AI personalities. It solves the need for a flexible, multi-provider interface that lets you switch between different language models and voice synthesis services to create immersive, human-like interactions.

How it works

The project provides a Web UI or terminal interface that connects your microphone and speakers to your choice of AI chat providers (like OpenAI, Anthropic, xAI, or Ollama) and text-to-speech services (like ElevenLabs, Kokoro, or Spark-TTS). It manages the audio flow, handles sentiment analysis to adjust responses based on your mood, and supports advanced features like real-time interruptions via OpenAI's WebRTC API.

Who it’s for

It is for users who want to build or play with custom AI characters, interactive storytellers, or game masters. It is ideal for those who prefer local control over their AI setup but want the flexibility to integrate cloud-based APIs for high-quality voice and intelligence.

Highlights

  • Supports multiple chat providers: OpenAI, xAI, Anthropic, and Ollama.
  • Offers diverse text-to-speech options including local voice cloning with Spark-TTS and Kokoro.
  • Enables real-time, interruptible conversations using OpenAI's Realtime API.
  • Includes 15+ interactive game types and immersive story modes.
  • Analyzes user sentiment to provide personalized, emotionally aware responses.
  • Provides a Web UI for on-the-fly configuration of models, voices, and characters.

Related

  • Project
  • Project
  • Project
  • Project
  • Project