curl --request POST \
--url http://localhost:3000/api/audio/{agentId}/speech/generate \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>"
}'
This response does not have an example.
Generate speech audio from text using agent’s voice settings
curl --request POST \
--url http://localhost:3000/api/audio/{agentId}/speech/generate \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>"
}'
This response does not have an example.
ID of the agent
Speech generated successfully
The response is of type file
.
Was this page helpful?