API References
Text to Speech
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.
Path Parameters
The model to use for speech generation.
Available options:
lightning
, lightning-large
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
A PCM int16 WAV file at the specified sample rate.