API Reference
Create a chat completion
Creates a chat completion. Set stream: true for server-sent events.
POST
Authorizations
Use a JWT or abliteration.ai API key as a Bearer token.
Headers
Set to true to use the single anonymous free request.
Available options:
true Body
application/json
Model id.
Conversation messages. content can be a string or a list of parts for multimodal requests.
Sampling temperature.
Required range:
0 <= x <= 2Required range:
0 <= x <= 1Required range:
x >= 1Required range:
x >= 1Required range:
-2 <= x <= 2Required range:
-2 <= x <= 2End-user identifier for abuse monitoring.
Optional moderation categories to block for this request. Supported: harassment, hate, illicit, sexual. Self-harm and sexual/minors are always blocked.
Last modified on May 2, 2026