curl --location 'https://api.shuyanai.com/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <您的真实API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-5-mini",
"max_tokens": 1000,
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "你好"
}
],
"temperature": 1.0,
"stream": true,
"stream_options": {
"include_usage": true
}
}'{}