Skip to content
WYRMLABS

API

API reference

Inference over HTTP. Private beta.

Base URL

https://api.wyrmlabs.be/v1

Authentication

API keys are sent in the Authorization header. Keys are issued during the private beta.

Authorization: Bearer <api_key>

Chat completions

POST /chat/completions
{
  "model": "wyrm",
  "messages": [
    {"role": "user", "content": "Hello"}
  ],
  "temperature": 0.7,
  "max_tokens": 2048,
  "stream": false
}

Parameters

  • model — wyrm
  • messages — array of role / content objects
  • temperature — default 0.7
  • max_tokens — default 2048
  • stream — server-sent events when true
  • stop — custom stop sequences

Streaming

Set stream: true to receive events prefixed with data: . The stream ends with data: [DONE].

Errors

  • 400 — invalid parameters
  • 401 — missing or invalid key
  • 429 — rate limited
  • 503 — model loading

Further

Installation and deployment guides are in the documentation. For access, contact the lab.