POST
/
tts
curl --request POST \
  --url https://api.vogent.ai/api/tts \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voiceId": "<string>",
  "format": {
    "outputType": "WAV_PCM16",
    "sampleRate": 24000
  }
}'
This response does not have an example.

Body

application/json

Response

200
application/octet-stream

Returns a file with the audio.

The response is of type file.

POST
/
tts
curl --request POST \
  --url https://api.vogent.ai/api/tts \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voiceId": "<string>",
  "format": {
    "outputType": "WAV_PCM16",
    "sampleRate": 24000
  }
}'
This response does not have an example.

Body

application/json

Response

200
application/octet-stream

Returns a file with the audio.

The response is of type file.