Moderations API
EU-sovereign text moderation based on ShieldStral, available via /v1/moderations.
Endpoint
POST https://liviate.com/v1/moderations (and https://ai.muffincloud.dk/v1/moderations for server-to-server calls).
Request
Send a text, or a list of texts, together with an optional safety policy:
{"input": ["Du er et dumt svin", "Hvad er vejret i København?"], "policy": "Does this content violate the safety policy?"}
Response
An OpenAI-shaped response with a per-text flagged and a continuous score (0-1, higher = more violating):
{"object": "list", "results": [{"flagged": true, "categories": {}, "category_scores": {}, "score": 1.0}, {"flagged": false, "categories": {}, "category_scores": {}, "score": 0.0}], "model": "shieldstral-q6_k.gguf"}
Auth
Requires Authorization: Bearer . Run on our own hardware -- no data leaves our EU infrastructure, and the call is not billed.