talira

Speaches

An OpenAI API-compatible server for streaming transcription, translation and speech generation

open sourceMITself-hostablefree

Speaches is a self-hosted, OpenAI API-compatible server for speech-to-text and text-to-speech models, meant to be like Ollama but for TTS and STT: any tool or SDK that talks to OpenAI's audio APIs can point at it instead. Transcription and translation run on faster-whisper, with results streamed over SSE as the audio is processed, and speech generation uses Piper and Kokoro voices. It also implements OpenAI's Realtime API and audio chat completions for speech-to-speech conversations, loads models on demand from the request and unloads them when idle, runs on GPU (CUDA) or CPU, and deploys with Docker or Docker Compose. It works with Open WebUI for voice chat and is MIT-licensed.

Problems it solves

  • self-host Whisper transcription behind an OpenAI-compatible API
  • point my app's OpenAI speech-to-text calls at a local server instead
  • local text-to-speech server with natural voices like Kokoro
  • stream transcription results while the audio is still being processed
  • voice chat with my local LLM in Open WebUI without cloud speech APIs
  • run speech models on my home server's GPU and load them only when needed
  • a local replacement for OpenAI's Realtime API for speech-to-speech
  • private transcription of recordings without sending audio to the cloud

Features

  • OpenAI API compatible transcription, translation and speech endpoints
  • streaming transcription over SSE
  • speech-to-text with faster-whisper
  • text-to-speech with Kokoro and Piper models
  • Realtime API
  • audio chat completions: text in audio out, audio in text out, speech to speech
  • dynamic model loading and unloading per request
  • voice activity detection
  • model discovery
  • GPU (CUDA) and CPU
View 2 more
  • Docker and Docker Compose deployment
  • Open WebUI integration

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Speaches does.

  1. LocalAI Your own AI, on your own hardware
  2. AssemblyAI Speech-to-text, speech understanding and text-to-speech APIs for voice AI
  3. Deepgram Speech-to-text, text-to-speech and voice agent APIs
  4. Cartesia Low-latency text-to-speech, speech-to-text and voice agent APIs

Compare Speaches with the top 3