EN ▾
Get API key

API Documentation

Get started with our uncensored text generator API in minutes using standard OpenAI-compatible tools. We provide a single, unrestricted model with transparent prepaid pricing and no subscription locks.

Authentication & Base URL

Your API key authenticates every request. Use the standard Authorization: Bearer header with your key obtained from the dashboard.

Point your client to our base URL to access the chat completions endpoint. The service accepts standard OpenAI SDK configurations.

  • Base URL: HTTPS://api.uncensoredtextgenerator.com/v1
  • Model ID: uncensored

Authentication is instant.

Chat Completions Endpoint

Send text prompts and receive generated responses via the standard chat completions endpoint. This endpoint handles all text-in, text-out interactions for your uncensored LLM API needs.

Configure your request with the model ID, messages array, and optional parameters like temperature or top_p.

curl https://api.uncensoredtextgenerator.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Calculate the total memory usage for 1024 threads"}]
  }'

Errors such as invalid keys return 401, while insufficient credit returns 402. The model does not refuse lawful adult content, ensuring consistent output for creative or unrestricted use cases.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) for real-time token delivery.

Each chunk contains partial text and usage metadata. The final chunk includes the total token count for the request.

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)

This approach reduces perceived latency for long-form generation. You can process tokens as they arrive, making it ideal for chat interfaces or real-time applications.

Function Calling & Tools

Define tools in your request to enable structured output. The model supports function calling with tool_choice options for precise control.

Specify tool definitions with names, descriptions, and parameter schemas. The API returns tool calls that your application can execute.

from openai import OpenAI

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

This feature works seamlessly with the uncensored AI model. You can integrate custom logic without switching to a different API provider.

JSON Mode & Parameters

Force structured output by setting response_format to {"type": "json_object"}. This ensures the response is valid JSON.

Adjust parameters like temperature, top_p, and seed to control randomness and reproducibility. Use stop sequences to halt generation at specific points.

import OpenAI from "openai";

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

These parameters give you fine-grained control over the generation process. The uncensored LLM API respects all standard OpenAI parameters for consistency.

Limits & Quotas

The API supports a 100,000 token context window for prompt and completion combined. Maximum output per request is 16,000 tokens.

Rate limits allow 300 requests per minute and 8 concurrent requests per key. Request bodies must stay under 8 MB.

Credit is charged by real token usage. Errors and refusals are free. Paid credit never expires, and you can top up with crypto (USDT on TRC20 or USDC on Base) from $20 to $500.

Common questions

What is the uncensored text generator API?

It is a hosted, OpenAI-compatible API serving a single uncensored large language model. It supports text-in, text-out interactions with a 100k context window and transparent prepaid pricing.

How do I pay for the uncensored AI service?

Payments are crypto-only via USDT (TRC20) or USDC (Base). You can top up from $20 to $500, with bonus credit for higher amounts.

Can I use this as an NSFW API?

Yes, the model is tuned to answer without content refusals for lawful adult use. It does not refuse controversial or adult topics, though it always blocks sexual content involving minors.

Get your API key

Sign up, copy the key, update your base URL. Setup is complete.