EN ▾
Start now

Uncensored AI API Documentation

Start generating raw, unfiltered text with our uncensored LLM API in minutes. This quickstart guide covers authentication, basic requests, and streaming for your uncensored AI integration.

https://api.grokuncensoredprompt.com/v1uncensored

Authentication and Base URL

Your API key authenticates every request to our uncensored model. Use the base URL HTTPS://api.grokuncensoredprompt.com/v1 with any OpenAI-compatible SDK. This ensures your prompts remain private and your costs transparent without corporate guardrails.

  • Sign up via Google or email.
  • Copy your key immediately.
curl https://api.grokuncensoredprompt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "print hello world"}]
  }'

No phone number is required, and your key provides direct access to the uncensored API endpoint.

Making Your First Request

Send a standard chat completion POST request to generate text. The model ID is "uncensored" and it responds to lawful adult content without refusals. This approach works for NSFW LLM use cases where standard filters might block creative output.

  • Set model to "uncensored".
  • Include your Authorization header.
from openai import OpenAI

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

Replace the placeholder key with your actual credential to begin generation.

Node.js Integration

Integrate the uncensored AI API into your JavaScript projects using the official SDK. Configure the base URL to point to our hosted service. This allows you to bypass complex subscriptions while maintaining full control over your generation parameters.

  • Install the openai package.
  • Set apiKey and baseURL.
import OpenAI from "openai";

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

Call chat.completions.create() to receive text responses instantly.

Streaming Responses

Enable streaming via Server-Sent Events (SSE) for lower latency. Token usage data appears in the final chunk of the stream. This feature is ideal for real-time chat interfaces where users expect immediate feedback.

  • Set stream: true in your request.
  • Parse the delta objects.
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)

Accumulate the deltas to reconstruct the full uncensored LLM response.

Rate Limits and Errors

Our API enforces strict limits to ensure stability. You are allowed 300 requests per minute and 8 concurrent requests per key. If you exceed these, you receive a 429 error. A 401 error indicates an invalid key, while a 402 error means you need to top up your credit. Errors and refusals are free, so you only pay for successful token generation.

Context Window and Parameters

The model supports a 100,000 token context window, combining both prompt and completion. You can specify temperature, top_p, and stop sequences to control creativity. JSON mode is available via response_format. Max output is 16,000 tokens per request unless you adjust the limit.

Common questions

What is the grok uncensored prompt API?

It is a hosted, OpenAI-compatible API serving an uncensored large language model. It allows developers to generate text without content refusals for lawful adult use, keeping your prompts private and costs transparent.

Does the uncensored model support streaming?

Yes, the API supports streaming via Server-Sent Events (SSE). You receive token usage information in the last chunk of the stream, allowing for real-time text generation in your applications.

How do I top up credit?

Credit is topped up with crypto only, specifically USDT (TRC20) or USDC (Base). You can add any whole amount from $20 to $500, with bonus credit ranging from 5% to 15% depending on the amount.

Secure your key in one step

Register, retrieve your key, and update the base URL. That’s the entire configuration.

Start nowhttps://api.grokuncensoredprompt.com/v1