对话补全
xAI
grok-3-mini
使用 Grok 3 Mini 模型创建对话补全。
POST
对话补全
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
模型 ID
可用选项:
grok-3-mini 示例:
"grok-3-mini"
对话消息列表。
Minimum array length:
1示例:
[{ "role": "user", "content": "你好!" }]生成的最大 token 数。
必填范围:
x >= 1采样温度。
必填范围:
0 <= x <= 2核采样参数。
必填范围:
0 <= x <= 1是否通过 SSE 流式返回。

