curl --location -g --request POST '{{base_url}}/v1/chat/completions' \
--header 'Authorization: {{you-apikey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-4o-audio-preview",
"modalities": [
"text",
"audio"
],
"audio": {
"voice": "alloy",
"format": "wav"
},
"messages": [
{
"role": "user",
"content": "Is a golden retriever a good family dog?"
}
]
}'{}