cURL
curl --request POST \ --url https://api.shuttleai.com/v1/audio/speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "<string>", "input": "<string>", "voice": "<string>" }'
{ "chars": 123, "data": { "url": "<string>" }, "expiresIn": 123, "model": "<string>" }
Returns an audio.speech object with the generated audio.
audio.speech
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Model response
The response is of type object.
object