> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Fable 5.2

> Claude Fable 5.2: 適用於高難度推理和長時間執行的代理。

適用於高難度推理和長時間執行的代理。

`POST /v1/messages`

## 快速範例

執行前請設定 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --request POST 'https://api.mixroute.ai/v1/messages' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --header 'anthropic-version: 2023-06-01' \
  --data '{
  "model": "claude-fable-5-2",
  "max_tokens": 96,
  "messages": [
    {
      "role": "user",
      "content": "Reply with OK only."
    }
  ]
}'
```

從 `content` 讀取 `text` 文字區塊；思考區塊可能另外傳回。

## 參數與限制

| 欄位 | 說明 |
| - | - |
| `model` | `claude-fable-5-2`. 請填寫範例中的完整模型 ID。 |
| `messages` | 輸入對話。 |
| `max_tokens` | 輸出 Token 上限。 |

## API 參考

[Messages API](https://mixroute.ai/docs/zh-Hant/api-reference/endpoint/messages.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.