Integration guide
Chat completions
OpenAI-compatible chat completion endpoints for dynamic character dialogue and lore generation.
4 min read
•Updated October 21, 2026OpenAI-Compatible Chat Endpoint
POST /v1/chat/completions accepts model=persona-v1, messages, temperature and optional max_tokens. This is a non-streaming JSON endpoint.
Provider Routing & Service Availability
A real text provider must be configured by the operator. If none is configured, the route returns 503 before reserving credits. A catalog entry alone is not proof the model is available.
Token Metrics & Internal Isolation
Responses contain choices and usage supplied by the provider. Token counts must not be inferred from word counts. No client should depend on an internal provider model name.
