cURL
curl --request POST \ --url https://api.bland.ai/v1/voices/{id}/sample \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "text": "<string>", "voice_settings": {}, "language": "<string>" }'
(Generated audio file)
Generate an audio sample for a voice.
200
voice_settings
ENG