Create a message

Anthropic Messages-compatible endpoint. Drop-in for any Anthropic SDK client. The gateway translates Anthropic ↔ OpenAI internally so the same model works under either shape. tool_use / tool_result blocks round-trip cleanly.

Authentifizierung

AuthorizationBearer

Pass your EmpirioLabs API key as a bearer token. The Anthropic-style x-api-key header is also accepted on every endpoint.

Anfrage

This endpoint expects an object.
modelstringErforderlich
max_tokensintegerErforderlich
messageslist of objectsErforderlich
enable_thinkingbooleanOptional
Enable model reasoning on models that advertise this parameter.
thinking_budgetintegerOptional>=1
Maximum tokens reserved for model reasoning on models that advertise this parameter.
thinkingobjectOptional

Anthropic-style thinking control. budget_tokens maps to thinking_budget for supported models.

systemstring or list of objectsOptional

Antwort

Message response.