Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
basic
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
在请求头中传入 Authorization: Bearer <token>。
Authorization: Bearer <token>
Show child attributes
0 <= x <= 1
1 <= x <= 2048
调用成功。非流式返回 OpenAI 兼容 JSON;流式返回 OpenAI 兼容 SSE 事件流。