API References
Text to Speech - Lightning
Get speech for given text using the Waves API
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The text to convert to speech.
The voice identifier to use for speech generation.
Whether to add WAV header to the output.
The sample rate for the generated audio.
Required range:
8000 < x < 24000
The speed of the generated speech.
Required range:
0.5 < x < 2
Response
200
audio/wav
Synthesized speech retrieved successfully.
A PCM int16 WAV file at the specified sample rate.