Real-time text-to-speech streaming over websockets. Send text incrementally and receive audio chunks as they are generated. To authenticate, you must include an Authorization
header, with the value Bearer {API_TOKEN}
. You can also include an apiKey
query param with the value being your API key. Websockets can run multiple TTS streams concurrently. If you’re using the contextId
feature, make sure all generations for the context are on the same websocket.