curl --location 'https://api.shuyanai.com/v1/chat/completions' \
--header 'Authorization: Bearer <您的真实API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"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?"
}
]
}'{}