POST
/
api
/
audio
/
{agentId}
/
speech
/
conversation
Convert conversation 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.

Path Parameters

agentId
string
required

ID of the agent

Body

application/json

Response

200
audio/mpeg

Conversation converted to speech successfully

The response is of type file.