Speech
Generate speech stream
Generates speech from text and streams the audio as binary data chunks in real-time as they are generated.
This is the recommended endpoint for most text-to-speech use cases. You can either stream the chunks for low-latency playback or collect all chunks to get the complete audio file.
POST
Synthesize speech
Want to stream timestamps with your speech? Check out the streaming WebSocket endpoint and examples using the SDKs in the synchronizing timing guide.
Authorizations
Your API key; get it from your LMNT account page.
Body
application/json
Response
200
application/octet-stream
OK
The response is of type file
.
Synthesize speech