cURL
curl --request POST \ --url https://waves-api.smallest.ai/api/v1/lightning-v2/get_speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "<string>", "voice_id": "<string>", "sample_rate": 24000, "speed": 1, "consistency": 0.5, "similarity": 0, "enhancement": 1, "language": "en", "output_format": "pcm" }'
This response does not have an example.
Get speech for given text using the Waves API
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Synthesized speech retrieved successfully.
A PCM int16 WAV file at the specified sample rate.