Text modelsAdvanced usersUpdated
POST/v1/messages

Claude Fable 5.1

Request ID claude-fable-5-1

Protocols

Request parameters

POST /v1/messages

FieldTypeRequiredDescription
modelstringRequiredSet the model ID to claude-fable-5-1.
messagesobject[]RequiredSend user and assistant messages in order. Put system instructions in the top-level system field.
messages[].contentstring / object[]RequiredThe message body. Use plain text or an array of content blocks defined by the protocol.
systemstring / object[]OptionalSystem instructions as text or an array of text blocks.
max_tokensintegerRequiredCaps output tokens. The accepted limit depends on the model and endpoint.
streambooleanOptionaltrue requests an SSE stream. false requests a JSON response. Available modes depend on the endpoint.
temperaturenumberConditionalControls sampling randomness. Accepted values and whether the field takes effect depend on the model and endpoint.
top_pnumberConditionalLimits sampling candidates by cumulative probability. Use when the model and endpoint support it.

How to call

Follow the setup guide for this model to configure the client or build a request.

bash
claude --model claude-fable-5-1

Read the response

  • Anthropic Messages · Read blocks of type text in content[]. In a stream, process SSE content block events in order. JSON · SSE

Full integration guide

Model Capability Catalog · View pricing