POST
/
api
/
audio
/
{agentId}
/
speech
/
generate
Generate speech from text
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.

Path Parameters

agentId
string
required

ID of the agent

Body

application/json

Response

200
audio/mpeg

Speech generated successfully

The response is of type file.