Welcome to the community!
Where did you find this? one of the issues is probably the <>.
here’s what it’s supposed to look like
curl https://api.openai.com/v1/audio/speech \
-H "Authorization: Bearer $OPENAI_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
here are the docs: https://platform.openai.com/docs/api-reference/audio/createSpeech
you may also (or not) run into issues with pay as you go. if you get a 429 error after fixing your request, check here: [March 8+] API Error 429...check plan or billing details = Monthly Billed Accounts Switched to Prepaid