本文档由 数眼智能 提供,专注于人工智能行业的API服务商! 扫码入群即可领取免费额度!
curl --location --request POST 'https://api.shuyanai.com/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"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
}
}'{}