A real Speak API request, started only when you choose Generate & listen.
Natural speech, delivered progressivelyStock, cloned and designed voicesOpenAI-compatible API
Hear + Speak · Live demo
Ask a question. Hear the answer.
Record a question about PyAI, see Hear transcribe it, and listen to Speak read the reply. You can also type. The product answers are scripted; the transcription and speech use real PyAI APIs.
Three free questions, no signup required. Daily demo limits apply. Ready to build? Sign up from the demo or use your own key with the integration guide.
Available on ClawHub
Use PyAI Speak in OpenClaw.
Install the skills you need, connect your PyAI account through the official CLI, and ask your assistant to put them to work.
Speak · v1.0.0
Give your next answer a voice.
Turn your text into a spoken update, an accessible audio version or a voiceover with a supported PyAI voice.
Speak supports progressive streaming so applications can begin playback while audio is still arriving. Phone-ready formats let you connect speech to the way your callers actually listen.
Sandbox keys never bill; live usage requires available credit. See current rates ↗
What is Speak?+
Speak is PyAI's text-to-speech (TTS) API. It turns text into natural speech over a low-latency streaming path, with 200 stock voices, free voice cloning, and prompt-to-voice design. It speaks the OpenAI /v1/audio/speech contract, so it's a drop-in replacement for OpenAI TTS.
Can I use speaker diarization with Speak?+
PyAI supports speaker diarization through Hear async transcription jobs. Speak generates audio from text; Hear identifies speaker turns in recorded audio. Use Hear to produce a speaker-labelled transcript, then use Speak when your application needs spoken output.
How much does Speak TTS cost?+
Voice cloning enrollment and prompt-to-voice design are free - you pay only for the audio you synthesize, billed per minute. Check our pricing page for the latest rates.
How do I migrate from OpenAI TTS?+
Point your existing OpenAI SDK at https://api.pyai.com/v1 with your PyAI key. The /v1/audio/speech request shape matches, and the OpenAI preset voice names (alloy, echo, fable, onyx, nova, shimmer) are accepted and map to PyAI stock voices - so most code runs unchanged.
How many voices are there?+
200 stock voices, plus your own cloned voices and prompt-designed voices. Browse the live catalog at GET /v1/voices, or pass an OpenAI preset name for drop-in compatibility.
What does voice cloning cost?+
Cloning enrollment is free, as is prompt-to-voice design. You pay only for the audio you later synthesize with the voice, at the standard per-minute Speak rate.
Can I get telephony-ready audio?+
Yes. Speak encodes server-side into mp3, wav, opus, pcm, or 8 kHz G.711 µ-law/A-law, so phone callers get exactly the format the line needs without a client-side resampler or µ-law encoder.