API docs
OpenAI-compatible endpoint
Base URL: https://slayerapi.fabryka.ai/v1. Model: slayer-v49-qwen3.5-27b.
Chat completion
curl https://slayerapi.fabryka.ai/v1/chat/completions \
-H 'Authorization: Bearer YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "slayer-v49-qwen3.5-27b",
"messages": [
{"role":"system","content":"Odpowiadaj naturalną polszczyzną."},
{"role":"user","content":"Napisz krótki opis Slayera v49."}
],
"temperature": 0.3,
"max_tokens": 300
}'
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_KEY",
base_url="https://slayerapi.fabryka.ai/v1",
)
resp = client.chat.completions.create(
model="slayer-v49-qwen3.5-27b",
messages=[{"role": "user", "content": "Wyjaśnij, czym jest Slayer v49."}],
)
print(resp.choices[0].message.content)
Endpoints
| Path | Purpose |
|---|---|
GET /v1/models | List available model id. |
POST /v1/chat/completions | OpenAI-style chat completions, streaming supported. |
GET /stats | Public usage dashboard. |
GET /health | Gateway health. |