Create message
Chat
Create message
Anthropic-compatible messages endpoint.
POST
Create message
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Example:
"minimax-m3"
Maximum tokens to generate (required).
Required range:
x >= 1System prompt.
Amount of randomness injected into the response (0–1).
Required range:
0 <= x <= 1Required range:
0 <= x <= 1Only sample from the top K options for each token.
Custom sequences that stop generation.
Tools the model may call; each has name, description and input_schema (JSON Schema).
Tool selection: { type: 'auto' } | { type: 'any' } | { type: 'tool', name }.
If true, responses are streamed as Anthropic SSE events (message_start, content_block_delta, message_delta, message_stop).