cURL
curl --request POST \ --url https://api-lr.agent.ai/v1/action/output_audio \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text_to_speech": "<string>" }'
{ "status": 200, "response": "https://s3.us-east-2.amazonaws.com/asset-uploads.agent.ai/4oi2001mommncnj6.mp3" }
Convert text to a generated audio voice file.
Bearer token from your account (https://agent.ai/user/settings#credits)
Generated audio output
The response is of type object.
object