Uncensored AI API: OpenAI-compatible chat endpoint | Rend

An uncensored AI API is a chat endpoint that answers adult and mature requests a default model would refuse, inside a short list of hard limits. The Rend API works this way. Point any OpenAI SDK at https://api.rend.ai/v1, send "uncensored": true with the rend-1, rend-1-regular or rend-pro model, and confirm once that the account holder is 18 or over.
The Rend API is in early access. The pages that rank for this search give you model IDs and a sample request. They skip the failure most migrations hit first. Until that one-time adult check is done, the account gets 403 adult_confirm back on uncensored requests, and the code below handles it along with the occasional 503.
What does "uncensored" mean on the Rend API?
On the Rend API, "uncensored" means the model will write adult and mature content for an account that has confirmed it is 18 or over. You turn it on per request by adding "uncensored": true to the request body, so one key can serve both uncensored and standard calls.
Five hard limits apply with the flag on:
- Anything sexual involves adults only.
- Content that sexualises minors is refused.
- Real people appear only with their consent.
- Harassment is out.
- Copyright infringement is out.
If your app is built around one of those, use a different API. For adult fiction, roleplay between adult characters, frank medical or sexual health questions and dark themes in creative writing, the flag is what you need.
How do you set up the Rend API?
The Rend API takes four steps to set up, and only the second happens outside your code.
- Create a key in Rend under Settings, Connections, Rend API. Keys start with
rnd_api_. If you don't have an account yet, create a free Rend account first. - Open rend.ai/chat once and confirm the account holder is 18 or over. This is a one-time step per account.
- Set the base URL to
https://api.rend.ai/v1and send the key as a Bearer token. - Call
GET /modelsto see the model list, thenPOST /chat/completionswith"uncensored": true.
curl
curl https://api.rend.ai/v1/models \
-H "Authorization: Bearer $REND_API_KEY"
curl https://api.rend.ai/v1/chat/completions \
-H "Authorization: Bearer $REND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "rend-1",
"uncensored": true,
"messages": [
{"role": "system", "content": "You write adult romance fiction for adult readers."},
{"role": "user", "content": "Write the next scene. Both characters are adults."}
]
}'
Python with the OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.rend.ai/v1",
api_key=os.environ["REND_API_KEY"], # starts with rnd_api_
)
resp = client.chat.completions.create(
model="rend-1",
messages=[{"role": "user", "content": "Write the next scene. Both characters are adults."}],
extra_body={"uncensored": True},
)
print(resp.choices[0].message.content)
The OpenAI Python SDK has no named argument for uncensored, so it goes in extra_body. The SDK merges that dictionary into the JSON it sends.
JavaScript
const res = await fetch("https://api.rend.ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.REND_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "rend-1",
uncensored: true,
messages: [{ role: "user", content: "Write the next scene. Both characters are adults." }],
}),
});
const data = await res.json();
console.log(data.choices[0].message.content);
We used plain fetch here so the extra field passes through without a TypeScript type error.
What breaks when you move an OpenAI app to Rend?
Moving an app from the OpenAI API to Rend changes four lines. Three runtime behaviours are new, and they are what cause failed requests in the first week.
Take a fiction app already running on the OpenAI Python SDK. The diff looks like this:
client = OpenAI(
- api_key=os.environ["OPENAI_API_KEY"],
+ base_url="https://api.rend.ai/v1",
+ api_key=os.environ["REND_API_KEY"],
)
resp = client.chat.completions.create(
- model="your-old-model",
+ model="rend-1",
messages=messages,
+ extra_body={"uncensored": True},
)
The new behaviours:
- 403 adult_confirm. The 18+ confirmation belongs to the account. A new key on the same account gets the same error, and the fix is the one-time confirmation in rend.ai/chat. Catch this error separately and show a clear message in your logs, because retrying will fail every time.
- 503 at busy moments. Rend sets no per-account rate limit, so your code won't get throttled for sending too much. When the service is busy, a request can come back as 503. Retry it with a short backoff.
- Output caps differ by model.
rend-1writes up to 131,072 tokens per response andrend-proup to 128,000. If your old code setsmax_tokensabove the cap for the model you call, lower it.
Here is a wrapper that handles the first two:
import time
import openai
def complete(messages, model="rend-1", tries=4):
for attempt in range(tries):
try:
return client.chat.completions.create(
model=model,
messages=messages,
extra_body={"uncensored": True},
)
except openai.PermissionDeniedError as e:
if "adult_confirm" in str(e):
raise RuntimeError("Confirm 18+ once at rend.ai/chat") from e
raise
except openai.APIStatusError as e:
if e.status_code == 503 and attempt < tries - 1:
time.sleep(2 ** attempt)
continue
raise
The 403 check comes first because PermissionDeniedError is a subclass of APIStatusError. In the other order, the general handler would catch it and the adult_confirm message would never show.
Which Rend model should you pick?
The Rend API lists three models, and all of them accept the uncensored flag. Start with rend-1 unless you have a reason to use another.
| Model | Context | Max output per response | What we can tell you |
|---|---|---|---|
| rend-1 | 1M tokens | 131,072 tokens | Rend's own writing model, built for hooks, scripts and ad copy |
| rend-1-regular | 1M tokens | See /models and the facts page | Listed by GET /models |
| rend-pro | 1M tokens | 128,000 tokens | Listed by GET /models |
Prices for each model are on Rend's live facts page. They can change, so we don't repeat them here.
How much can one request hold?
One Rend API request can carry up to 1M tokens of context, up to 10 images and up to 128 tools. That is enough for a long story bible, a character sheet and the full chat history in a single call, so a roleplay app can skip summarising older turns.
The limit of 128 tools means an agent can expose a large function set in one request. If your current setup splits tools across several calls because of a smaller limit elsewhere, you can merge them.
How does Rend compare with other uncensored AI APIs?
Rend, Shannon and Uncensored.com all offer OpenAI-compatible chat endpoints, but they turn on uncensored output differently and publish different details. This table uses only what each provider's own page said when we read it on 6 December 2026.
| Rend API | Shannon API | Uncensored.com | |
|---|---|---|---|
| How uncensored output is chosen | "uncensored": true on any of its three models | Pick a model whose ID includes "uncensored" | Pick a model ID from its Chat Models list |
| SDK setup | OpenAI SDK, base URL https://api.rend.ai/v1 | Its page says the same endpoints, SDKs and key | OpenAI SDK, base URL https://api.uncensored.com/api/v1, key also sent as x-api-key |
| Where prices are | rend.ai/facts | Per 1M tokens, on its API docs page | Not on the page we read |
| Privacy design | Not covered in this article | Splits each request into shares across independent GPU hosts; engine open source under Apache-2.0 | Not on the page we read |
| Stage | Early access | Its hosted models are marked beta, run at a smaller quantisation | Marked live |
Shannon's API page is the most detailed of the three on privacy. If you need a privacy design you can inspect and verify yourself, Shannon documents that and we don't. Shannon's page also says its hosted models currently run at a smaller quantisation, and that behaviour can be degraded compared with the full-size weights.
Uncensored.com's chat completions docs list temperature, top_p, max_tokens and stream as request fields. Its model is picked by ID, which is closer to how OpenAI does it.
Rend's difference is the flag. Your app keeps the same model ID and switches uncensored output on or off per request, which helps when only some users of one app have confirmed they are adults.
Who should use a different API?
Some projects are a poor fit for the Rend API today:
- Any app whose users or account holder are under 18.
- Apps built on content about real people without their consent, harassment or copyrighted work.
- Workloads that need a fixed throughput promise. During early access a busy moment can return 503, and you'll need retries.
- Teams that need written retention terms before sending data. This article doesn't cover them, so email support@rend.ai before you build.
Where does the API fit with the rest of Rend?
The Rend API gives you rend-1, the same writing model Rend uses for hooks, scripts and ad copy. If you want a script turned into a finished video, Rend Studio's agent crew takes it from idea to export on a timeline you can change by hand. Its agent tools cover captions, voice, music, sound effects, images, 3D and review.
Editing in Rend Studio is free. You pay only when Rend renders or generates something, and projects run in the browser with no install or local GPU. If you already work in Claude or ChatGPT, you can connect that agent to Rend in one line and it gets Rend's storage, rendering and tools.
To start, make a key under Settings, Connections, Rend API, confirm 18+ once in rend.ai/chat, and run the curl call above. Plans and credit top-ups are on Rend pricing.
FAQ
Can I use the Rend API with tools built for the OpenAI API?
Yes, if the tool lets you change the base URL. The Rend API follows OpenAI chat completions at /chat/completions and GET /models. To get uncensored output, the tool also needs a way to add "uncensored": true to the request body.
Why does the Rend API return 403 adult_confirm?
The Rend API returns 403 adult_confirm when the account has not confirmed it is 18 or over. Open rend.ai/chat once and confirm, then send the request again. A new key won't help, because the check belongs to the account.
Is there a rate limit on the Rend API?
The Rend API has no per-account rate limit. At busy moments a request can return 503, so retry it with a short backoff, as in the wrapper above.
Can I send images to the uncensored endpoint?
Yes. A single Rend API request can include up to 10 images, alongside up to 1M tokens of context and up to 128 tools. The hard limits still apply to images.
How do I get help with the Rend API?
Email support@rend.ai. The API is in early access, so include the model, the status code and the error text you received.