⌘K

Claude Fable 5.1

claude-fable-5-1

Claude Fable 5.1 是面向高要求推理和长周期智能体工作的高性能 Claude 模型, 适用于智能体编码、多步研究以及文档、表格和幻灯片处理. 支持通过 OpenAI 兼容 Chat Completions 接口处理文本和图片输入, 拥有 1M token 上下文窗口和最高 128K 输出 token, 始终启用自适应思考并可通过 effort 控制思考深度.

认证

authorization string 必填

所有 API 均使用 Bearer Token 鉴权

获取 API Key:

访问 API Key 管理页面 获取 API Key

用法:

将以下 Header 添加到请求中:

Authorization: Bearer YOUR_API_KEY

参数

model string 必填

请求使用的模型 ID

值: claude-fable-5-1


messages array 必填

表示对话历史的消息对象数组

role string 必填

消息角色

可选值: user, assistant, system, developer

content string | array 必填

文本字符串或支持文本和图片输入的多模态数组


max_tokens integer

生成的最大 token 数量

范围: 1 - 128000


temperature number

采样温度. Claude Fable 5.1 仅接受默认值

默认值: 1.0


top_p number

核采样参数. Claude Fable 5.1 仅接受默认值

默认值: 1.0


stream boolean

是否增量流式返回响应

默认值: false