Chat Completion
Anthropic
claude-fable-5
创建对话补全。自适应思维始终开启,无需配置。当安全分类器拒绝请求时,可能返回 finish_reason: "refusal";使用 fallbacks 参数可在其他模型上自动重试。
POST
Chat Completion
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
模型 ID
可用选项:
claude-fable-5 示例:
"claude-fable-5"
组成对话的消息列表。
Minimum array length:
1示例:
[{ "role": "user", "content": "Hello!" }]最大生成 Token 数。
必填范围:
1 <= x <= 8192采样温度。值越高输出越随机。
必填范围:
0 <= x <= 2示例:
1
根据文本中已有的频率惩罚重复 Token。
必填范围:
-2 <= x <= 2惩罚已出现过的 Token。
必填范围:
-2 <= x <= 2设为 true 则通过 SSE 流式返回部分消息。
触发模型停止生成后续 Token 的序列。