First request in five minutes

Start generating uncensored text in under five minutes using our drop-in API key. This guide covers authentication, requests, streaming, and critical limits for your NSFW projects.

Base URL & Authentication

Our API follows the OpenAI standard, making integration straightforward. Use the base URL https://api.uncensoredchatgpt.top/v1 with your API key. Authentication requires the header Authorization: Bearer YOUR_API_KEY. Create your key instantly via Google or email on the Get API key page. No phone number or credit card is needed for the initial setup. The uncensored chatgpt endpoint is ready for immediate use.

Send a First Request

Send a standard completion request to test connectivity. The uncensored llm api accepts simple text prompts and returns unrestricted text output. Verify your key works with this basic structure.

curl https://api.uncensoredchatgpt.top/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'

Ensure you receive a valid JSON response containing your generated text. This confirms your uncensored api is active and ready for production.

Python SDK Integration

Use the official OpenAI Python client for seamless integration. Point it to our base URL and provide your key. This approach works for any OpenAI-compatible client.

from openai import OpenAI

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

This method is ideal for backend services or scripts. It handles the HTTP layer automatically, letting you focus on prompt engineering for your uncensored ai models api needs.

Node.js SDK Usage

For JavaScript environments, the Node SDK offers similar ease. Import the client, configure the base URL, and make your first call. This is essential for web apps or serverless functions.

import OpenAI from "openai";

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

Node.js developers can quickly implement uncensored chatgpt capabilities into their existing stacks. The library manages retries and formatting, ensuring reliable text generation.

Streaming Responses (SSE)

Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE) as tokens are generated. This provides real-time feedback for users.

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 statistics appear in the final chunk. Streaming is optimal for chat interfaces where latency matters. It keeps the uncensored api responsive even for longer outputs.

Limits, Errors & Context

Watch your limits: 300 requests per minute, 8 concurrent requests, and an 8 MB body size. A 64k context window allows long prompts, but max output is 16k tokens. Handle errors gracefully: 401 means an invalid key, 402 indicates no prepaid credit, and 429 signals rate limiting. These constraints ensure fair usage for the uncensored ai api.

Questions and answers

Does the uncensored model refuse content?

The model is tuned to answer without content refusals for lawful adult use. It does not refuse controversial or fictional topics. However, it strictly blocks sexual content involving minors, which is always enforced.

How do I pay for the uncensored api?

Top up using crypto only: USDT (TRC20) or USDC (Base). Amounts range from $10 to $500. You get a +5% bonus for $50+ and +10% for $100+. No cards or PayPal are accepted.

Is this the official OpenAI API?

No. We are an independent service running an open-weight model. It is OpenAI-compatible for convenience but is not GPT-4 or any other vendor's model. Check OpenAI's docs for their specific limits.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key