A small HTTP server that wraps Piper text to speech and streams the audio out at the rate a phone call actually plays it.

That sounds like a detail and it is the whole point. Synthesis produces audio far faster than real time. If you hand all of it to a telephony channel at once, the far end keeps a fraction of a second and discards the rest, and the caller hears the tail of a sentence with nothing before it. This server paces output instead, so what arrives is what gets heard.

It also handles the awkward parts of running Piper under load: the voice model is guarded so concurrent requests cannot corrupt each other, and a turn can be cancelled mid-sentence when a caller interrupts, rather than rendering audio nobody will hear.

Runs locally, so call audio does not leave your infrastructure. MIT licensed, on PyPI and Docker Hub.

Features

  • Streams synthesis at the pace a call plays it, not as fast as it renders

Project Samples

Project Activity

See All Activity >

Follow piper-tts-server

piper-tts-server Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of piper-tts-server!

Additional Project Details

Registered

2026-09-06