AG-Kit TS
English
cURL
curl --request POST \ --url http://{your-domain}/v1/aibot/bots/{AgentId}/text-to-speech \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>", "voiceType": 101008 } '
{}
Source text for speech synthesis
Voice ID, 101004: General male voice, 101005: General female voice, 601004: Consulting male voice, 501001: Consulting female voice, 101010: General male voice (LLM), 101035: General female voice (LLM)
101008
Text to speech conversion initiated
The response is of type object.
object
Was this page helpful?