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

