playht/pyht

PlayHT Python SDK - AI Text-to-Speech Streaming & Voice Cloning API

62
/ 100
Established

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.

content-creation e-learning audiobook-production customer-service-automation podcast-creation
Maintenance 10 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

220

Forks

32

Language

Python

License

Apache-2.0

Category

text-to-speech

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.