playht/pyht
PlayHT Python SDK - AI Text-to-Speech Streaming & Voice Cloning API
This tool helps content creators, educators, and customer service teams transform written content into natural-sounding speech. You provide text, and it outputs high-quality audio files or streams in various human-like voices, ideal for podcasts, e-learning materials, or interactive voice responses. Anyone needing to quickly convert text into spoken audio for their audience would find this useful.
220 stars. Available on PyPI.
Use this if you need to generate spoken audio from text using a variety of voices, including custom ones, and want the flexibility to stream audio in real-time or as complete files.
Not ideal if your primary need is advanced voice cloning from scratch, as this library currently focuses on text-to-speech rather than the full range of voice AI functionalities.
Stars
220
Forks
32
Language
Python
License
Apache-2.0
Category
Last pushed
Feb 05, 2026
Commits (30d)
0
Dependencies
6
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/playht/pyht"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
rsxdalv/TTS-WebUI
A single Gradio + React WebUI with extensions for ACE-Step, Kimi Audio, Piper TTS, GPT-SoVITS,...
aedocw/epub2tts
Turn an epub or text file into an audiobook
DrewThomasson/VoxNovel
VoxNovel: generate audiobooks giving each character a different voice actor.
gianpaj/sexyvoice
Voice Cloning, Voice Call and Text to Speech platform. Perfect for content creators, developers,...
ohmstone/pocket-tts-deno
WASM ONNX build of Pocket TTS with voice cloning adapted from pocket-tts-server to run as a Deno...