Text-To-Speech
Text-To-Speech (SSE)
Handles the /sse/speak/{lang_code}
POST endpoint for generating speech using Server-Sent Events (SSE).
This endpoint enables real-time streaming of text-to-speech (TTS) responses in the specified language. The generated speech is sent as a continuous stream to the client using SSE.
POST
Authorizations
API Key Authentication. Get your API key from the Neuphonic website.
Path Parameters
The language code for the text-to-speech (TTS) generation.
Body
application/json
The input text for the TTS generation.
The ID of the voice to use for the TTS generation.