Authorization: Bearer ********************
{ "model": "tts-1", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy", "response_format": "wav" }
curl --location 'https://api.smallai.asia/v1/audio/speech' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "tts-1", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy", "response_format": "wav" }'
{ "model": "tts-1", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy" }