Unfiltered AI Generator API Quickstart
Integrate our uncensored LLM into your pipeline with a standard OpenAI-compatible endpoint. This guide covers authentication, request structures, streaming, and rate limits for the unfiltered ai generator text API.
Base URL and Authentication
To begin using the unfiltered ai generator, point your client to our base URL: https://api.unfilteredaigenerator.com/v1. Authentication relies on a single API key generated during signup. Include this key in the Authorization header as a bearer token. Our service supports standard OpenAI SDKs, so you can swap the base URL and key without rewriting your integration logic. We do not offer model routing or multiple model tiers; you will interact with our single uncensored model identified as uncensored. This model is open-weight and tuned to answer without content refusals for lawful adult use. Ensure you keep your key secure, as it provides direct access to your prepaid credit.
Basic Chat Completion Request
The core functionality is a standard chat-completions endpoint. Send a POST request to /v1/chat/completions with a JSON body containing the model name, user messages, and optional parameters. The model processes the input and returns a text response. This text generation api is designed for prompt engineering, script writing, and roleplay pipelines where standard filters might block creative or adult content. You can define system prompts to set the tone or user prompts to drive the conversation. The response includes the generated text and token usage statistics.
Streaming Responses
For applications requiring real-time output, enable streaming by setting stream: true. The API returns a series of Server-Sent Events (SSE). Each chunk contains a partial delta of the response. Token usage details are provided in the final chunk of the stream. This approach reduces perceived latency for end-users, making it ideal for chat interfaces. Our developer chat api handles the streaming protocol efficiently, ensuring you receive data as soon as it is generated without waiting for the full completion.
JSON Mode for Structured Data
When integrating with other systems, you may need structured output. Set response_format to {"type": "json_object"} in your request. The model will attempt to format the entire response as valid JSON. This is useful for extracting data, generating config files, or passing structured data to downstream functions. While the model strives for strict compliance, complex nested structures may occasionally require minor post-processing. Use this feature for reliable data extraction in your uncensored chat api workflows.
Function Calling and Tools
Support for function calling allows the model to invoke external tools. Define your functions in the tools array and specify tool_choice. The model will return a list of tool calls with arguments in JSON format. Your application executes these functions and can feed the results back into the conversation. This enables complex agentic workflows. Our uncensored model handles tool definitions robustly, allowing you to build flexible pipelines without being constrained by predefined capabilities.
Rate Limits and Context Window
Each API key is limited to 300 requests per minute and allows 8 concurrent requests. The maximum request body size is 8 MB. Our model supports a context window of 100,000 tokens, combining prompt and completion. There is no separate output cap; if you do not set max_tokens, the response can run to the end of the window. Errors such as invalid keys (401), insufficient credit (402), or rate limits (429) are common in development. Credit is charged only for successful token usage, not for errors or refusals.
cURL
curl https://api.unfilteredaigenerator.com/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
from openai import OpenAI
client = OpenAI(base_url="https://api.unfilteredaigenerator.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)Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.unfilteredaigenerator.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);Streaming
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)API facts in one table
Before you integrate, here is exactly what you get with a key.
| Feature | Support |
|---|---|
| API format | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Model | uncensored |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Base URL | https://api.unfilteredaigenerator.com/v1 |
| API key | Bearer token in the Authorization header |
| Streaming | Yes — server-sent events; the last chunk carries token usage |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| JSON mode | JSON object mode via response_format json_object |
| Context window | 100,000 tokens, input and output combined |
| Tools / tool calls | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Rate limit | 300/min per key |
| Max body | up to 8 MB per request |
| Concurrency | 8 requests at the same time per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Volume bonus | +5% on $50+, +10% on $100+, +15% on $200+ |
| 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 |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Credit expiry | no monthly fee; paid credit does not expire |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Key management | one key per account, regenerate any time (the old one stops working) |
| Account | Google or e-mail and password |
Error reference
The type field is stable, the message is for humans. Errors cost nothing.
| 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 | check the Authorization header or use your current key |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | refused by the content policy |
404 | not_found | unknown endpoint |
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 | temporary overload, retry shortly |
Questions and answers
Is this the official OpenAI API?
No, we are an independent service. We use an OpenAI-compatible format for the API endpoint, but our model is a distinct uncensored LLM run on our own servers. It is not GPT-4 or any other vendor's model.
How is billing calculated?
We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit is prepaid and never expires. Errors and refusals do not consume credit. Payments are accepted via crypto (USDT on TRC20, USDC on Base).
What content is filtered?
The model is uncensored for lawful adult, fictional, and controversial topics. The only hard limit is that sexual content involving minors is always refused and blocked.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.