travisvn/openai-edge-tts
Free, high-quality text-to-speech API endpoint to replace OpenAI, Azure, or ElevenLabs observed · 2026-08-28
Health v2 · maintenance only
26/100
- Activity 29
- Release rhythm 8
- Longevity 49
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 693
- days_rel: 613
- days_push: 428
- n_releases_24m: 1
Adoption not part of the score
2066 stars · 313 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A self-hosted Python service that emulates the OpenAI text-to-speech API endpoint (/v1/audio/speech) using Microsoft Edge's free online TTS service via edge-tts. It supports OpenAI voice mappings, multiple audio formats, adjustable playback speed, and SSE streaming, deployable via Docker.
Use cases
- replace OpenAI TTS API with a free self-hosted alternative
- generate speech from text without paying for Azure or ElevenLabs
- add text-to-speech to an Open WebUI or Ollama chat interface
- stream audio responses in real time via SSE
- convert text to mp3, wav, opus, aac, flac, or pcm audio
- use Microsoft Edge neural voices through an OpenAI-compatible endpoint
When to choose
- you need an OpenAI-compatible /v1/audio/speech endpoint without API costs
- you want high-quality neural voices for free using Edge's online service
- you're self-hosting LLM tools like Open WebUI and need TTS integration
- you need multiple audio formats and adjustable playback speed
When to avoid
- you need fully offline TTS since edge-tts relies on Microsoft's online service
- you require OpenAI's exact voice quality or voice cloning
- you need a client library rather than a hosted API service
- commercial use is a concern given the GPL-3.0 license and reliance on Microsoft's service
Facets
service · maturity active
tts http-server api-framework audio-processing self-hosted speech-processing artificial-intelligence self-hosted apis self-hosted python cross-platform openai-compatible edge-tts text-to-speech api-endpoint audio-streaming sse drop-in-replacement audio docker web-server
2 sources
- readme: https://github.com/travisvn/openai-edge-tts · fetched 2026-08-28 · be469bbf7db2
- homepage: https://tts.travisvn.com · fetched 2026-08-29 · 788dbd727b9e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| travisvn/openai-edge-tts | main | 26 |
For agents
markdown · JSON · MCP: product_card(name="travisvn/openai-edge-tts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem