Streams the audio bytes with out ultra-fast text-in, audio-out API.
Turbo Streaming
For low latency streaming, set
voice_engine
toPlay3.0-mini
and use a Play 2.0 voice.
Make sure to also tryPlayDialog
, a more advanced model that can generate turn-based dialogues with multiple voices.
For more information, see supported voice models.
Our HTTP streaming endpoint allows you to send text and receive audio bytes in real-time. You can also use our Python SDK or Nodejs SDK streaming.
Get your Credentials
To use the HTTP API you will need an API Key and a User Id, you can easily generate those, check this guide for a how-to.
Example
For code examples, see the interactive code snippets to the right. The provided examples will return an audio buffer stream that you can use to save locally or stream over the network to a browser, app, or telephony system.
For the complete list of supported parameters, see below.