curl --request POST \
--url http://localhost:3000/api/audio/{agentId}/speech/conversation \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"text": "<string>",
"speaker": "<string>",
"timestamp": 123
}
]
}'
This response does not have an example.
Convert a conversation (multiple messages) to speech
curl --request POST \
--url http://localhost:3000/api/audio/{agentId}/speech/conversation \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"text": "<string>",
"speaker": "<string>",
"timestamp": 123
}
]
}'
This response does not have an example.
ID of the agent
Conversation converted to speech successfully
The response is of type file
.
Was this page helpful?