Text-to-Speech Library and CLI Tool
10.6k 2026-04-18

rany2/edge-tts

A Python module and CLI tool to access Microsoft Edge's online text-to-speech service without an API key, Edge browser, or Windows.

Core Features

Access Microsoft Edge's TTS service without an API key
Generate speech from text via Python module or CLI
Output audio to MP3 and subtitles to SRT
Customize voice, rate, volume, and pitch
Cross-platform compatibility without Windows or Edge browser

Quick Start

pip install edge-tts

Detailed Introduction

edge-tts is an innovative open-source project that democratizes access to high-quality text-to-speech capabilities. It leverages Microsoft Edge's robust online TTS service, allowing developers and users to generate natural-sounding speech directly from Python code or command-line interfaces. Crucially, it eliminates the need for an API key, a Microsoft Edge browser, or even a Windows operating system, making advanced TTS accessible and cost-effective for a wide range of applications. This project provides a powerful, free alternative for generating audio content, podcasts, voiceovers, and accessibility features, significantly lowering the barrier to entry for high-fidelity speech synthesis.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.