Quickstart: Integrate Our Uncensored LLM
Integrate our uncensored model with zero friction using standard OpenAI-compatible clients. Send text, get text, and handle NSFW or roleplay content without unexpected refusals.
Supported SDKs and Base URL Configuration
Our API works with any client that supports the OpenAI chat-completions protocol. You only need to update the base URL and provide your API key. The base URL for this service is HTTPS://api.aichatbotunfiltered.com/v1. This ensures compatibility with libraries like OpenAI’s Python SDK, Node.js SDK, and others.
Authentication relies on a single API key tied to your account. You generate this key during signup via Google or email. Each account holds one active key; generating a new one replaces the previous key immediately. Keep this key secure, as it controls your prepaid credit usage.
Sending Requests to the /v1/chat/completions Endpoint
Send your first request using the POST /v1/chat/completions endpoint. The model identifier is always "uncensored". This model responds to lawful adult content, roleplay, and creative writing without the typical safety filters found in other models.
Below is a basic curl example to verify connectivity. Replace YOUR_API_KEY with your actual key.
- Set the model to "uncensored".
- Provide a simple system and user message.
- Expect a direct text response.
curl https://api.aichatbotunfiltered.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "List the steps to deploy a docker container."}]
}'
Configuring Temperature, Top P, and Stop Sequences
Control the randomness and structure of the output using standard parameters. Set temperature between 0 and 2 to adjust creativity. Higher values produce more varied responses, which is useful for creative roleplay. Lower values yield more deterministic and consistent answers.
Use top_p to control the nucleus sampling. Set stop sequences to terminate the response at specific markers, such as dialogue boundaries. These parameters help tailor the model’s behavior to your specific use case without external routing.
Enabling Streaming and Function Calling
Enable streaming by setting stream to true. This returns tokens via Server-Sent Events (SSE). Token usage details appear in the final chunk, allowing you to track costs in real-time. Streaming reduces perceived latency for end-users.
You can also use function calling. Define tools in the request body to allow the model to output structured data or trigger actions. This works seamlessly with the standard OpenAI tool format. Use tool_choice to force specific behavior.
from openai import OpenAI
client = OpenAI(base_url="https://api.aichatbotunfiltered.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)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.aichatbotunfiltered.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);Streaming
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)Common questions
How do I handle errors and rate limits?
You may encounter 401 errors if the API key is invalid or expired. A 402 error indicates insufficient prepaid credit. A 429 response means you have exceeded the 300 requests per minute limit per key. Errors do not consume your token balance, so you can retry safely.
What is the context window and output limit?
The model supports a 100,000 token context window for both prompt and completion combined. The maximum output per request is 16,000 tokens. If you do not specify max_tokens, the default output limit is 2,048 tokens.
Is this the same as ChatGPT or GPT-4?
No. This is a distinct open-weight model tuned for uncensored responses. It is not GPT, Claude, or any other vendor’s model. It uses the same API structure but runs on our own servers with different training data and alignment.
Get your API key now
Sign up, grab your key, and update the base URL. That’s it.