curl --location --request POST 'https://ai.vnet.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "minimax-v2.5",
"temperature": 0.1,
"top_p": 1.0,
"max_tokens": 2048,
"echo": "False",
"stream": false,
"messages": [
{
"role": "user",
"content": "你是谁 "
}
]
}'{
"id": "61b88d199631426a9cfb20398f0e8288",
"object": "chat.completion",
"created": 1776251689,
"model": "minimax-v2.5",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "你好!我是 MiniMax-M2.5,一个AI助手。我可以帮助你回答问题、提供信息、进行对话等。有什么我可以帮助你的吗?",
"reasoning_content": "用户用中文问\"你是谁\",意思是\"Who are you?\"\n\n我应该用中文回答,介绍自己是一个AI助手。\n",
"tool_calls": null
},
"logprobs": null,
"finish_reason": "stop",
"matched_stop": 200020
}
],
"usage": {
"prompt_tokens": 41,
"total_tokens": 99,
"completion_tokens": 58,
"prompt_tokens_details": null,
"reasoning_tokens": 0
},
"metadata": {
"weight_version": "default"
}
}