Authorization: Bearer ********************
{
"model": "o4-mini",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "你好"
}
],
"temperature": 1.0,
"stream": true,
"reasoning_effort":"medium"
}
curl --location --request POST 'https://zzzzapi.com/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'X-Forwarded-Host: localhost:5173' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "o4-mini",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "你好"
}
],
"temperature": 1.0,
"stream": true,
"reasoning_effort":"medium"
}'
{
"model": "o4-mini",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "你好"
}
],
"temperature": 1,
"stream": true,
"reasoning_effort": "medium"
}