Do I need to change my message schema?
No. Use the same role/content message format as OpenAI Chat Completions.
Reference
An OpenAI Chat Completions compatible API accepts the same JSON schema as OpenAI's /v1/chat/completions endpoint.
That means you can keep your existing SDKs and just switch the base URL and API key.
Streaming, structured output, function calling, and multimodal inputs follow the same overall patterns as OpenAI's Chat Completions API.
A compatible API mirrors OpenAI's chat completions request and response format so existing clients can talk to it without rewrites.
curl https://api.abliteration.ai/v1/chat/completions \
-H "Authorization: Bearer $ABLIT_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "abliterated-model",
"messages": [{"role":"user","content":"Summarize this in one sentence."}],
"stream": true
}'FAQ
No. Use the same role/content message format as OpenAI Chat Completions.
Yes. Streaming works with stream: true. Vision works when you use a vision-capable model and send images via the content array format.
Yes. Send functions plus function_call for tool invocation and response_format: { type: "json_object" } for structured JSON.
Yes. Set stream: true and consume delta chunks as they arrive.
Use the /v1 base path and the /chat/completions endpoint.