Documentation for the uncensored chat-completions API
Get started with the uncensored API by pointing your client to our base URL and sending standard chat-completions requests. This guide covers authentication, streaming, and rate limits for the uncensored model.
Uncensored API for lawful adult use
Base URL and Authentication
The base URL for all requests is https://api.abliterateme meaning.com/v1. You authenticate using a standard API key passed in the Authorization: Bearer <key> header. Create your key instantly via the dashboard without phone verification.
- Use the official OpenAI SDKs or any compatible client.
- Set the base URL to the endpoint above.
- Pass your key in the authorization header.
Your First Request
Send a POST request to /v1/chat/completions with the model ID uncensored. The API returns text responses without content refusals for lawful adult topics.
Here is a basic example to verify connectivity.
curl https://api.abliteratemeaning.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Check if the api returns a 200 status code now"}]
}'This request confirms your key works and the model is responding correctly.
Python SDK Integration
Install the OpenAI Python package and configure the client to point to our base URL. This allows you to leverage existing code with minimal changes.
from openai import OpenAI
client = OpenAI(base_url="https://api.abliteratemeaning.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)Set the API key and base URL in your environment variables or client initialization. This approach keeps your code portable and clean.
Node.js SDK Setup
Import the OpenAI package and initialize the client with the correct base URL. This ensures compatibility with existing Node.js applications.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.abliteratemeaning.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);The SDK handles headers and serialization automatically. You just need to provide the key and endpoint.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE), allowing you to process tokens as they generate.
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)Token usage details appear in the final chunk. This reduces perceived latency for long outputs.
Rate Limits and Errors
You are limited to 300 requests per minute and 8 concurrent requests per key. The request body must not exceed 8 MB. Errors return standard HTTP codes: 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals do not consume credit. The context window supports 100,000 tokens total.
Frequently asked questions
What is the abliterate meaning in this API context?
It refers to the uncensored nature of the model, which answers without refusals for lawful adult content. You get direct access to an open-weight model tuned for this purpose.
How do I handle errors during integration?
Check the HTTP status code. 401 means your key is invalid. 402 indicates you need to top up your crypto credit. 429 signals you hit the rate limit.
Is the uncensored model the same as GPT-4?
No, it is an independent open-weight model. It is not GPT, Claude, or any other vendor's model. It is tuned specifically for uncensored responses.
Secure your API key
Sign up, retrieve your token, and update your base URL. That is the entire configuration.
Start now