← all repositories

travisvn/openai-edge-tts

A self-hosted text-to-speech API that emulates the OpenAI /v1/audio/speech endpoint using Microsoft Edge's free edge-tts engine.

1.9k stars Python Inference · ServingOther AI
openai-edge-tts
Velocity · 7d
+3.2
★ / day
Trend
steady
star history

This project wraps edge-tts (Microsoft Edge’s online TTS service) into an OpenAI-compatible REST API. It maps OpenAI voice names to edge-tts equivalents and supports multiple audio formats (mp3, opus, aac, flac, wav, pcm) along with adjustable playback speed. The API can stream audio in real-time via SSE and is intended as a free, local replacement for commercial TTS services in AI applications.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.