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 token must be a valid Shuttle API key. All keys are prefixed with shuttle-. Example: Bearer shuttle-abc123def456ghi789jkl012mno345pq
shuttle-
Bearer shuttle-abc123def456ghi789jkl012mno345pq
The voice to use for the generation > Voices can be found here
Model response
Show child attributes