{"repo":"travisvn/openai-edge-tts","free":true,"listed":false,"github":"https://github.com/travisvn/openai-edge-tts","clone":"git clone https://github.com/travisvn/openai-edge-tts.git","description":"Free, high-quality text-to-speech API endpoint to replace OpenAI, Azure, or ElevenLabs","language":"Python","stars":2043,"topics":["ai","chatgpt","edge-tts","llm","llm-webui","llms","ollama","ollama-webui","open-webui","openai"],"license":"GPL-3.0","category":"ai-agents","readme_excerpt":"OpenAI-Compatible Edge-TTS API 🗣️ This project provides a local, OpenAI-compatible text-to-speech (TTS) API using edge-tts . It emulates the OpenAI TTS endpoint ( /v1/audio/speech ), enabling users to generate speech from text with various voice options and playback speeds, just like the OpenAI API. edge-tts uses Microsoft Edge's online text-to-speech service, so it is completely free. View this project on Docker Hub Please ⭐️ star this repo if you find it helpful Features - OpenAI-Compatible Endpoint : /v1/audio/speech with similar request structure and behavior. - SSE Streaming Support : Real-time audio streaming via Server-Sent Events when stream format: \"sse\" is specified. - Supported Voices : Maps OpenAI voices (alloy, echo, fable, onyx, nova, shimmer) to edge-tts equivalents. - Flexible Formats : Supports multiple audio formats (mp3, opus, aac, flac, wav, pcm). - Adjustable Speed : Option to modify playback speed (0.25x to 4.0x). - Optional Direct Edge-TTS Voice Selection : Use either OpenAI voice mappings or specify any edge-tts voice directly. ⚡️ Quick start The simplest way to get started without having to configure anything is to run the command below This will run the service at port 5050 with all the default configs (Docker required, obviously) Setup Prerequisites - Docker (recommended): Docker and Docker Compose for containerized setup. - Python (optional): For local development, install dependencies in requirements.txt . - ffmpeg (optional): Required for audio ","default_branch":null,"files":null,"tree":[],"storefront":"/r/travisvn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/travisvn/openai-edge-tts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}