Text-To-Speech
Text-to-Speech (Websocket)
Websocket
The Websocket API allows you to send text to the server and receive audio in real-time. This is useful for applications that require low-latency audio responses.
Establishing a Connection
You can establish a connection to the Neuphonic Websocket TTS endpoint through
On most languages where a header can be sent with the connection, you should send the x-api-key
header with the value, otherwise it can be passed as a query parameter, i.e.