POST
/
api
/
v1
/
lightning-large
/
get_speech
curl --request POST \
  --url https://waves-api.smallest.ai/api/v1/lightning-large/get_speech \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voice_id": "<string>",
  "add_wav_header": false,
  "sample_rate": 24000,
  "speed": 1,
  "language": "en",
  "consistency": 0.5,
  "similarity": 0,
  "enhancement": 1
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
audio/wav
Synthesized speech retrieved successfully.

A PCM int16 WAV file at the specified sample rate.