curl --request POST \
--url http://{your-domain}/v1/aibot/bots/{AgentId}/text-to-speech \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"voiceType": 101008
}
'{}curl --request POST \
--url http://{your-domain}/v1/aibot/bots/{AgentId}/text-to-speech \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"voiceType": 101008
}
'{}Text to speech conversion initiated
The response is of type object.
Was this page helpful?