OpenAI

Chat Completions shape. Swap the base URL. Keep the same key header.

Base URL
https://kasva.dev/v1
Local
http://127.0.0.1:8787/v1
Auth
Authorization: Bearer YOUR_API_KEY
Model
kasva/auto
Path
POST /v1/chat/completions

curl

curl https://kasva.dev/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kasva/auto","messages":[{"role":"user","content":"Hello"}]}'

Streaming

stream: true pipes OpenAI-compatible SSE. Image model ids are rejected here — use Images.

Full path list: API reference. Anthropic shape: Anthropic.