EN ▾
Try with trial credit

API Reference for uncensored generation

Get started with the uncensored API in minutes. Send prompts and receive unrestricted text responses using standard OpenAI-compatible endpoints.

Authentication & Keys

Generate your key instantly via Google or email on the Get API key page. Use this key in the Authorization header for every request. The system issues one active key per account; generating a new key immediately invalidates the previous one. You can manage keys without phone verification.

Chat Completions Endpoint

Send standard chat.completions requests to the base URL. The model id is uncensored. It handles text input and returns text output without policy refusals for lawful adult content. Use this endpoint for creative writing, roleplay, or coding tasks where standard models might block you.

Python SDK Integration

Use the official OpenAI Python SDK to interact with the API. Configure the base URL to point to our server. Pass your API key as the default authorization header. This allows you to use familiar client code with our uncensored model.

Node.js Client Setup

Initialize the OpenAI Node client with your base URL and API key. Make calls to the chat completions endpoint. The client handles serialization and response parsing. This works with any standard OpenAI-compatible JavaScript library.

Streaming Responses

Enable streaming by setting stream: true. Receive tokens as Server-Sent Events (SSE). The final chunk contains the total token usage. This is ideal for real-time applications where you want to display text as it generates.

Limits, Errors & Context

The context window supports 100,000 tokens total. You are limited to 300 requests per minute. Handle 401 errors for invalid keys, 402 for insufficient credit, and 429 for rate limits. Errors and refusals do not consume credit. Prepaid credit never expires.

cURL

curl https://api.censurasemia.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "list dependencies for node express"}]
  }'

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.censurasemia.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)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.censurasemia.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)

FAQ

How do I pay for the uncensored API?

Top up with USDT (TRC20) or USDC (Base). Minimum amount is $20. You receive bonus credit for larger deposits.

Is the uncensored ia free?

New accounts get $0.50 trial credit valid for 7 days. After that, you pay per token used. No subscription required.

What is the uncensored LLM model?

It is an open-weight model tuned for unrestricted responses. It is not GPT, Claude, or Gemini. It answers without standard content filters.

Generate your API key

Sign up, copy the key, update your endpoint URL. That is all.

Try with trial credit