Generates audio from the input text
cURL
curl --request POST \ --url https://api.anyapi.ai/v1/audio/speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "MODEL_EXAMPLE", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy" }'
This response does not have an example.
Bearer token authentication. Get your API key from the dashboard.
The audio file content
The response is of type file.
file