cURL
curl --request POST \ --url https://api.vogent.ai/api/tts/multispeaker \ --header 'Content-Type: application/json' \ --data '{ "lines": [ { "text": "<string>", "voiceId": "<string>" } ], "voiceOptionValues": [ { "optionId": "<string>", "value": "<string>" } ], "format": { "outputType": "WAV_PCM16", "sampleRate": 24000 } }'
This response does not have an example.
Runs a multispeaker (conversational) text to speech model and generates audio. Bytes will be streamed to the client as they are generated.
Returns a file with the audio.
The response is of type file.
file