对话补全
xAI
grok-3-mini
使用 Grok 3 Mini 模型创建对话补全。
POST
对话补全
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
模型 ID
Available options:
grok-3-mini Example:
"grok-3-mini"
对话消息列表。
Minimum array length:
1Example:
[{ "role": "user", "content": "你好!" }]生成的最大 token 数。
Required range:
x >= 1采样温度。
Required range:
0 <= x <= 2核采样参数。
Required range:
0 <= x <= 1是否通过 SSE 流式返回。

