curl --request POST \
--url https://api.powertokens.ai/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-M2.7",
"messages": [
{
"role": "system",
"content": "你是一个简洁的助手。"
},
{
"role": "user",
"content": "请用一句话介绍巴黎。"
}
],
"temperature": 0.3
}
'{
"id": "<string>",
"object": "<string>",
"created": 123,
"model": "<string>",
"choices": [
{}
],
"usage": {}
}调用历史 MiniMax OpenAI 兼容聊天模型。当前稳定模型为 MiniMax-M2.7、MiniMax-M2.7-highspeed、MiniMax-M2.5、MiniMax-M2.5-highspeed。
curl --request POST \
--url https://api.powertokens.ai/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "MiniMax-M2.7",
"messages": [
{
"role": "system",
"content": "你是一个简洁的助手。"
},
{
"role": "user",
"content": "请用一句话介绍巴黎。"
}
],
"temperature": 0.3
}
'{
"id": "<string>",
"object": "<string>",
"created": 123,
"model": "<string>",
"choices": [
{}
],
"usage": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.