一手货源,专业的大模型中转平台,源头级API,一手中转、自逆,提供低延迟,高并发的可靠服务,支持炼丹,量大可谈
Authorization: Bearer ********************
{
"messages": [
{
"role": "user",
"content": "你好呀?"
}
],
"model": "gemini-2.5-pro",
"temperature": 0.1,
"top_p": 1.0,
"stream": true,
"extra_body": {
"google": {
"thinking_config": {
"include_thoughts": true,
"thinkingBudget": 1024
}
}
}
}
curl --location -g --request POST '{{BASE_URL}}/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"messages": [
{
"role": "user",
"content": "你好呀?"
}
],
"model": "gemini-2.5-pro",
"temperature": 0.1,
"top_p": 1.0,
"stream": true,
"extra_body": {
"google": {
"thinking_config": {
"include_thoughts": true,
"thinkingBudget": 1024
}
}
}
}'
{
"id": "chatcmpl-123",
"object": "chat.completion",
"created": 1677652288,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "\n\nHello there, how may I assist you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}