EN ▾

Unrestricted AI

Uncensored text API for your pipeline

Unrestricted AI Generator API Documentation | Unrestricted AI

Integrate our uncensored LLM API into your pipeline with this quickstart guide. Use standard OpenAI-compatible endpoints for prompt generation, script writing, and text post-processing.

Base URL & Authentication

Our API follows the standard OpenAI Chat Completions format. This ensures compatibility with existing SDKs and tools. You do not need a new client library; just update your base URL and API key. The base URL for this service is https://api.unrestrictedaigenerator.top/v1. Authentication is handled via the Authorization header. Pass your API key as a Bearer token. You receive one active key per account. If you generate a new key, the old one is immediately revoked. This ensures clean access control for your pipeline.

First Request

Make your first call to generate text. Use the model ID uncensored to access our open-weight model tuned for unrestricted output. The endpoint is POST /v1/chat/completions. Send your prompt in the messages array. The model returns text directly. This is a text-only API. It does not generate images, audio, or video. It is designed to power the text layers of your multimedia workflows.

curl https://api.unrestrictedaigenerator.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."}]
  }'

Python SDK Integration

Use the official openai Python package. Configure the client with our base URL and your API key. This approach requires minimal code changes if you are already using OpenAI-compatible services. Set the model to uncensored. Pass your system and user prompts. The response object contains the generated text in response.choices[0].message.content. This method is ideal for backend scripts that feed text into video or image generators.

from openai import OpenAI

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

Node SDK Integration

For JavaScript or TypeScript environments, use the openai Node.js package. Initialize the client with the correct base URL. Call chat.completions.create() with the model ID uncensored. This works seamlessly with existing Node applications. You can integrate this into Express routes or serverless functions. The response structure matches the standard OpenAI format. This allows you to reuse existing parsing logic from other LLM integrations.

import OpenAI from "openai";

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

Streaming Responses (SSE)

Support real-time output by enabling streaming. Set stream: true in your request. The API returns Server-Sent Events (SSE). Each chunk contains partial text. The final chunk includes token usage statistics. This is useful for building chat interfaces or displaying progress in your pipeline. You can process tokens as they arrive. This reduces perceived latency for end-users. The streaming feature is compatible with all standard OpenAI SDKs.

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)

Limits, Errors & Context

Monitor your request limits. You are allowed 300 requests per minute per key. Concurrency is limited to 8 simultaneous requests. The request body must be under 8 MB. If the key is invalid, you receive a 401 error. If you have no credit, you receive a 402 error. If you exceed the rate limit, you receive a 429 error. The context window is 100,000 tokens total. There is no separate output cap. Errors and refusals do not consume credit. This ensures you only pay for successful completions.

Questions and answers

Is this API compatible with OpenAI SDKs?

Yes. We use the standard OpenAI Chat Completions format. You can use the official OpenAI SDKs for Python, Node, and other languages by simply changing the base URL and API key. No custom client is required.

What happens if I exceed my rate limit?

You will receive a 429 Too Many Requests error. The limit is 300 requests per minute and 8 concurrent requests per key. You can generate a new API key if needed, but it replaces the old one immediately.

Do prompts get used for training?

No. Your data is private. We do not use your prompts or completions for training. This ensures your creative context stays yours. You can use the API for sensitive or proprietary content without worry.

Your key is one form away

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

Get API key

API specifications

The numbers below are the real limits of this API, not marketing. Compare them with what your app needs.

ParameterDetails
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
API keyAuthorization: Bearer YOUR_KEY
Model IDuncensored
Base URLhttps://api.unrestrictedaigenerator.top/v1
MethodsPOST /v1/chat/completions · GET /v1/models
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
SSE streamingSupported (stream: true), usage included at the end
JSON moderesponse_format: {"type": "json_object"}
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Max context100,000 tokens (prompt + completion together)
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Rate limit300 requests per minute per key
Parallel requestsup to 8 in parallel per key
Request size8 MB request body
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Volume bonus+5% from $50, +10% from $100, +15% from $200
Credit expiryno monthly fee; paid credit does not expire
Billingprepaid credit, charged by real token usage; errors and refusals are free
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
PaymentUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Sign-insign in with Google or with e-mail + password
Content policyuncensored for adults; the only hard rule: no sexual content involving minors
Keysone key per account, regenerate any time (the old one stops working)

Errors and what to do

Every error is JSON with a type you can switch on. You are never charged for an error.

HTTPTypeWhat to do
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedsexual content involving minors — refused, not billed
404not_foundonly /v1/chat/completions and /v1/models exist
413request_too_largebody over 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds