ApiX Docs
Docs / Overview
·View as Markdown

Overview

ApiX puts several AI providers behind one endpoint and one key. It speaks the OpenAI API and the Anthropic API, so most SDKs and clients work by changing the base URL.

There is also a playground: open /playground, paste a key and chat with any model in the catalog (the key stays in an HttpOnly cookie).

bash
export APIX_BASE="https://vipp.apixx.playersito.cat"
export APIX_KEY="apix-..."

Send your first request:

bash
curl "$APIX_BASE/v1/chat/completions" \
  -H "Authorization: Bearer $APIX_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "4/glm-5.3-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'
json
{
  "id": "chatcmpl_...",
  "object": "chat.completion",
  "model": "4/glm-5.3-flash",
  "choices": [{"index": 0, "message": {"role": "assistant", "content": "Hello!"}, "finish_reason": "stop"}],
  "usage": {"prompt_tokens": 9, "completion_tokens": 3, "total_tokens": 12}
}

What the API covers#

You wantEndpoint
Chat, vision, tools, reasoningPOST /v1/chat/completions
Anthropic clientsPOST /v1/messages
Codex-style clientsPOST /v1/responses
ImagesPOST /v1/images/generations
Text to speechPOST /v1/audio/speech
Speech to textPOST /v1/audio/transcriptions
VideoPOST /v1/videos

An endpoint only works when a model in the catalog supports that operation. GET /apix/models/info tells you with operations.<name>.enabled (for example operations.transcriptions.enabled), and /v1/models?output_modalities= filters the list by what the model produces.

Model ids#

Every model is <prefix>/<model>, for example 4/glm-5.3-flash or 1/heygen-voice-1-turbo:free. Browse them with GET /v1/models; anything that is not in the catalog returns 404 MODEL_NOT_FOUND. See Models.