Election day is coming. #VOTE FOR ILYAS — the frontier campaign is open to all. →
FIZMAT FIDES · School Presidential Election

Frontier campaign. In your hands.

#VOTE FOR ILYAS

A student party built for the future — transparent, ambitious, and powered by our own open AI. Talk to the campaign assistant, or build on the same API we run on.

The platform

Why vote for Ilyas

FIZMAT FIDES runs on three promises. No slogans without substance.

🗳️

Transparency

Every decision published. Open office hours. Ask the campaign anything — literally, in the chat below.

⚡

Action

Shorter lines, better events, real student voice in school decisions. Concrete plans, dated milestones.

🚀

Technology

We built an AI assistant and an open API for the whole school. Modern tools for a modern student body.

#1
Choice for the future
100%
Open & transparent
∞
Questions welcome
Live demo

Chat with the campaign

Ask about the platform, the candidate, or the election. Sign in to start.

FIDES Assistant
fizmat
F
Hi! I'm the FIZMAT FIDES campaign assistant. Ask me anything about our platform or why you should #VOTE FOR ILYAS.

Responses stream live. Be kind — shared rate limits apply.

For builders

API reference

OpenAI-compatible. Point any OpenAI client at the base URL below, authenticate with your relay key, and call the one model: fizmat. Create a relay key →

Base URL

https://fizmat-fides.pages.dev/v1

Auth

Authorization: Bearer ff_live_…

Model

fizmat

Authentication

Every request needs your relay key in the Authorization header. Keys are created and revoked in your dashboard. They map to our shared model pool — you never handle upstream provider keys.

header
Authorization: Bearer ff_live_YOUR_KEY

Endpoints

MethodPathDescription
POST/v1/chat/completionsChat completions (SSE streaming)
POST/v1/completionsLegacy text completions
POST/v1/messagesAnthropic-style messages
POST/v1/embeddingsText embeddings
POST/v1/images/generationsImage generation
GET/v1/modelsLists the fizmat model

Chat parameters

FieldTypeReqNotes
modelstringyesAlways "fizmat"
messagesarrayyes{role, content} objects
streambooleannoSSE stream (default false)
temperaturenumberno0–2, default 1
max_tokensintegernoMax tokens to generate
top_pnumbernoNucleus sampling
stopstring/arraynoStop sequence(s)

Quickstart

chat/completions
curl https://fizmat-fides.pages.dev/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ff_live_YOUR_KEY" \
  -d '{
    "model": "fizmat",
    "messages": [{"role":"user","content":"Hello!"}]
  }'
Python · openai sdk
from openai import OpenAI

client = OpenAI(
    base_url="https://fizmat-fides.pages.dev/v1",
    api_key="ff_live_YOUR_KEY",  # your relay key from /app
)

r = client.chat.completions.create(
    model="fizmat",
    messages=[{"role": "user", "content": "Why vote for Ilyas?"}],
)
print(r.choices[0].message.content)
JavaScript · fetch
const r = await fetch("https://fizmat-fides.pages.dev/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "Bearer ff_live_YOUR_KEY",
  },
  body: JSON.stringify({
    model: "fizmat",
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
const data = await r.json();
console.log(data.choices[0].message.content);
Python · streaming
stream = client.chat.completions.create(
    model="fizmat",
    messages=[{"role": "user", "content": "Tell me about the platform"}],
    stream=True,
)
for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

Errors

OpenAI error format: { "error": { "message", "type", "code" } }.

StatusTypeMeaning
401authentication_errorMissing / invalid / revoked relay key
429rate_limit_errorShared rate limit reached — back off
500server_errorUpstream error — retry

Shared rate limits apply across all relay keys. Respect Retry-After and use backoff.

Questions

FAQ

Is the chat really free?

Yes — sign in and go. The site routes your messages through a shared pool. Shared rate limits apply, so keep it reasonable.

How does the API work?

Sign in, open the dashboard, and mint a relay key (ff_live_…). Send it as Authorization: Bearer to /v1/*. We map it to our model pool — you never touch upstream keys, and you can revoke anytime.

What model does it use?

One model: fizmat. We route it to the best available backend and fall through on failure, so you always get a response.

Who is FIZMAT FIDES?

A student party running in a school presidential election. Our candidate is Ilyas. Our platform: transparency, action, technology.

The future is a vote away.

Make it count.

#VOTE FOR ILYAS