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

