Python MIT

speaches

S

speaches-ai

Dernière activité 24 sept. 2026
speaches-ai/speaches

3,7 k

étoiles

455

forks

146

issues ouvertes

dockerdocker-composefaster-whisperopenai-apiopenai-whisperopenai-whisper-translationtranscriptionwhisperwhisper-ai

Ce README est souvent en anglais.

Speaches

speaches is an OpenAI API-compatible server supporting streaming transcription, translation, and speech generation. Speach-to-Text is powered by faster-whisper and for Text-to-Speech piper and Kokoro are used. This project aims to be Ollama, but for TTS/STT models.

See the documentation for installation instructions and usage: speaches.ai

Features:

  • OpenAI API compatible. All tools and SDKs that work with OpenAI's API should work with speaches.
  • Audio generation (chat completions endpoint) | OpenAI Documentation
    • Generate a spoken audio summary of a body of text (text in, audio out)
    • Perform sentiment analysis on a recording (audio in, text out)
    • Async speech to speech interactions with a model (audio in, audio out)
  • Streaming support (transcription is sent via SSE as the audio is transcribed. You don't need to wait for the audio to fully be transcribed before receiving it).
  • Dynamic model loading / offloading. Just specify which model you want to use in the request and it will be loaded automatically. It will then be unloaded after a period of inactivity.
  • Text-to-Speech via kokoro(Ranked #1 in the TTS Arena) and piper models.
  • GPU and CPU support.
  • Deployable via Docker Compose / Docker
  • Realtime API
  • Highly configurable

Please create an issue if you find a bug, have a question, or a feature suggestion.

Demos

Realtime API

2025-05-29_21-40-00.webm

(Excuse the breathing lol. Didn't have enough time to record a better demo)

Streaming Transcription

TODO

Speech Generation

2025-01-12_13-20-58.webm

Projets similaires

OpenAI Whisper ASR Webservice API

Pythonasrautomatic-speech-recognitiondocker
Aahmetoner
3,3 k étoiles585

Faster Whisper transcription with CTranslate2

Pythondeep-learninginferenceopenai
SSYSTRAN
25,6 k étoiles2,1 k

Whisper command line client compatible with original OpenAI client based on CTranslate2.

Pythonopenai-openai-whisperspeech-recognition
SSoftcatala
1,4 k étoiles126