Skip to content
The Daily Repo

sfortis / openai_tts

Text-to-speech for Home Assistant from OpenAI, Mistral, Groq, Lemonfox, Kokoro, Chatterbox or any server that implements the OpenAI speech API, with announcements that restore your volume and music.

Why this job: says: text to speech; topics: text-to-speech, tts, speech-synthesis

What it does

  • Several TTS agents under one entry, each with its own model, voice, speed, audio format and audio processing.
  • Audio in mp3, opus, aac, flac, wav or pcm, chosen per profile. Some providers accept fewer formats, and the selector then offers only those: Groq accepts wav, Chatterbox accepts mp3, opus and wav, and OpenRouter accepts mp3 and pcm.
  • Streaming playback, so audio plays as it arrives instead of after the whole clip is written. Streaming works with mp3, opus, aac and pcm. A wav or flac file states its length in a header before any audio exists, so those two formats are alw
  • Sentence streaming for the voice assistant, off by default and set per profile. When the conversation agent streams its reply, speech starts on the first finished sentence rather than on the finished reply. It needs mp3 or pcm, and the prof
  • Loudness normalisation, on by default. It runs on the stream for mp3, opus, aac and pcm. For wav and flac, and whenever a chime is added, it runs on the finished clip instead.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 29 days ago
Stars
222
+1 this week
Licence
GPL-3.0
Share-alike terms
Downloads for
None listed
No release files
Latest version
v3.11
Released 29 days ago
Built with
Python
100% of the code

Is it looked after?

Contributors
4
Last 90 days
Issues
98% closed
1 still open
Pull requests
10 merged
0 waiting
Releases
52
30+ in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
KoljaB / RealtimeTTS4,0523 days agoMITNo downloads
devnen / Chatterbox-TTS-Server1,4995 months agoMITNo downloads
lukaszliniewicz / Pandrator648yesterdayMITWindows, Linux
More: languages, topics and project record

Languages

  • Python 100%

Topics

  • ai
  • chatterbox
  • chime
  • groq
  • ha
  • hacs
  • home-assistant
  • homeassistant
  • kokoro
  • llm
  • local-llm
  • mistral

Project record

  • JobSpeech and audio
  • StatusListed
  • Commits279
  • Forks55
  • Watching2
  • Stars in 28 days+2
  • CreatedNov 10, 2023
  • First seen by usNov 7, 2026
  • CheckedNov 7, 2026

Type to search.

Try