curl https://gateway.obiguard.ai/v1/audio/speech \ -H "x-obiguard-api-key: $OBIGUARD_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "tts-1", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy" }' \ --output speech.mp3
This response does not have an example.
OK
The response is of type file.
file