Trouble with Sending Curl Requests to OpenAI Service Audio

Dear Community,

I hope this message finds you well. I’m reaching out because I’m experiencing some difficulties sending curl requests to the OpenAI service. I’m attempting to convert text to audio using the provided API, but unfortunately, the resulting audio file is only 4 KB in size and cannot be played by any media player.

Here’s the command I’m using:

curl -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"model": "tts-1-hd", "input": "Hey, what's up? What's the best lyrical dramaturgy", "voice": "alloy" }' --output speech.mp3

Perhaps the resulting audio was in “sign language”?

Sorry, just couldn’t help commenting on a lighter note