Unfiltered AIUnfiltered AI Generator API Documentation
Unfiltered AI Generator API Documentation
Use the unfiltered AI generator API to send prompt text and receive uncensored responses via an OpenAI-compatible endpoint. This quickstart covers authentication, basic requests, and streaming for media pipeline post-processing.
Base URL and Authentication
Start by setting your base URL to https://api.unfilteredaigenerator.top/v1. Include your API key in the Authorization header as a Bearer token. You get one active key per account; generating a new one invalidates the previous. The API key is shown immediately after signup via Google or email, with no card required for the trial.
- Base URL:
https://api.unfilteredaigenerator.top/v1 - Header:
Authorization: Bearer YOUR_API_KEY
This setup works with any standard OpenAI-compatible client. Our model uncensored runs on our own servers, ensuring your prompts aren't silently modified by third-party training data policies.
First Request
Send a standard chat completion request to generate text. The API accepts text input and returns text output, ideal for captioning or script generation. You must specify the model ID as uncensored. The API supports parameters like temperature, top_p, stop, seed, presence_penalty, and frequency_penalty.
curl https://api.unfilteredaigenerator.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."}]
}'This request demonstrates a basic interaction. The response contains the generated text, which you can then process in your pipeline. Errors and refusals are free, so you can experiment without charge.
Python SDK Integration
Use the official OpenAI Python SDK to integrate quickly. Set the base URL and API key in the client configuration. The SDK handles serialization and retries automatically. This approach is reliable for batch processing or local LLM alternative workflows where you need deterministic outputs.
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredaigenerator.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)The Python client simplifies parameter management. You can adjust temperature for creativity or set seed for reproducibility. The API is privacy-focused, so your prompts are not used for training. This makes it suitable for sensitive media pipelines.
Node SDK Integration
For JavaScript environments, use the OpenAI Node SDK. Configure the base URL and API key similarly to the Python setup. This allows you to generate text directly within your web apps or serverless functions. The API is uncensored, meaning it handles adult or controversial topics without refusal, as long as they are lawful.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredaigenerator.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 SDKs are ideal for real-time applications. The response structure matches the OpenAI format, making it easy to swap in other models if needed. However, note that we only offer one model, uncensored, so you cannot route between vendors.
Streaming Responses
Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE). Each chunk contains part of the response. The final chunk includes token usage statistics for billing.
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)Streaming reduces perceived latency for users. You can display text as it generates. The token usage in the last chunk helps you track costs. Errors during streaming do not incur charges, ensuring you only pay for delivered tokens.
Limits, Errors, and Context Window
The context window is 100,000 tokens total, with no separate output cap. If max_tokens is unset, the response can run to the end of the window. Rate limits are 300 requests per minute and 8 concurrent requests per key. Request bodies must be under 8 MB. If you exceed limits, the API returns standard HTTP errors. We do not guarantee specific status codes for all errors, but common issues include invalid keys or insufficient credit. Credit is prepaid and never expires.
Capabilities and limits
Use this table to decide whether the API fits your project before you buy credit.
| Spec | Value |
|---|---|
| API format | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Authentication | Bearer token in the Authorization header |
| Model | uncensored |
| Base URL | https://api.unfilteredaigenerator.top/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Sampling parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Streaming | Supported (stream: true), usage included at the end |
| Structured output | JSON object mode via response_format json_object |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Max context | 100,000 tokens, input and output combined |
| Request size | 8 MB request body |
| Parallel requests | up to 8 in parallel per key |
| Requests per minute | 300 requests per minute per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Credit expiry | no monthly fee; paid credit does not expire |
| Billing | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Trial credit | $0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Payment | USDT (TRC20) or USDC (Base), any whole amount from $20 to $500 |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Volume bonus | +5% from $50, +10% from $100, +15% from $200 |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Account | Google or e-mail and password |
| Keys | one key per account, regenerate any time (the old one stops working) |
Error codes
Errors come back as JSON with a stable type; failed and refused requests are not billed.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | model busy — retry in a few seconds |
Questions and answers
Is the uncensored model the same as GPT?
No. The model ID is uncensored, an open-weight model tuned for fewer refusals. It is not GPT, Claude, or any other vendor's model. It runs on our own servers.
What happens if I get an error?
Errors and refusals are free. You only pay for tokens used in successful responses. If you have no credit, you will need to top up by crypto (USDT on TRC20, USDC on Base). Mistakes like double charges are handled via the Support page.
Can I use this for image generation?
No. This is a text-only API. It does not generate images, audio, or video. It is designed for prompt engineering, captioning, and post-processing text for media pipelines.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.