EN ▾
Get API key

Uncensored text API for your content pipeline

unfilteredaiimage.top

Unfiltered AI API for SillyTavern Characters

Stage with abstract character figures and chat bubbles linked to a server cube

To use an unfiltered ai api sillytavern setup, open the plug icon, choose Chat Completion, pick the Custom (OpenAI-compatible) source and paste the base URL, your key and the model ID. The steps below take about five minutes.

Updated

Key points

  • Source: Chat Completion, Custom (OpenAI-compatible). Endpoint: https://api.unfilteredaiimage.top/v1. Model ID: uncensored.
  • Test the key with curl first, so you can tell a key problem from a SillyTavern setting.
  • Set the context size to what you need; the whole chat is resent each turn, and input is billed.
  • Group chats can send parallel requests, so watch the 8-concurrent limit on a full key and 2 on a trial key.

What you need before you start

SillyTavern is a self-hosted front end for chatting with characters. It does not run a model itself; it connects to one. That makes it a good match for an OpenAI-compatible endpoint, since SillyTavern lets you add one by hand.

Gather three values:

  • Base URL: https://api.unfilteredaiimage.top/v1
  • API key: from the API key page after sign-up. New users can claim $0.50 of trial credit there with one click, valid for 7 days, one per person.
  • Model ID: uncensored

The service is text only and built for lawful adult use. It suits fiction, roleplay and companion-style apps for adults. Sexual content involving minors is blocked and cannot be switched on, so do not write character definitions that depend on it.

Test the key outside SillyTavern

Many connection errors come from a wrong key or a typo in the URL, and SillyTavern's messages for these are short. Run one request from a terminal first.

curl https://api.unfilteredaiimage.top/v1/models \
  -H "Authorization: Bearer YOUR_KEY"

curl https://api.unfilteredaiimage.top/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Reply with the word ready."}],"max_tokens":10}'

The first call should list uncensored. The second should return a short completion. If either fails, fix that before touching SillyTavern. A Python version for the same check:

from openai import OpenAI

client = OpenAI(base_url="https://api.unfilteredaiimage.top/v1", api_key="YOUR_KEY")
r = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Reply with the word ready."}],
    max_tokens=10,
)
print(r.choices[0].message.content)

Connect it in SillyTavern

  1. Open SillyTavern and click the plug icon (API Connections).
  2. Set API to Chat Completion.
  3. Set Chat Completion Source to Custom (OpenAI-compatible).
  4. In Custom Endpoint (Base URL), paste https://api.unfilteredaiimage.top/v1. Use the URL up to /v1 and no further; SillyTavern adds the path itself.
  5. Paste your key into the Custom API Key field.
  6. In Model ID, type uncensored.
  7. Click Connect. A green status with the model name means it works.

Menu names shift a little between SillyTavern versions, so if a label differs, look for the same idea: a chat-completion mode with a custom OpenAI-style endpoint. Send a message to a character to confirm that a reply streams in.

Settings worth changing

Context size

The API accepts up to 100,000 tokens, prompt plus reply. You rarely need that much. SillyTavern builds each request from the character definition, your persona, lorebook entries and as many past messages as fit. A bigger context means longer memory and a bigger input bill. Start around 16,000 to 32,000 and raise it only if the character forgets things you care about.

Max response length

Set it to something like 300 to 500 tokens for chat. A reply cap protects your credit and keeps replies from drifting into essays. max_tokens is optional on the API, but here it is useful.

Temperature and friends

Temperature, top_p, stop sequences, seed and the penalties are passed through to the model. For character chat, temperature between 0.7 and 1.0 is a common starting range. If replies repeat phrases, raise the frequency or presence penalty a little and test again.

Streaming

Turn streaming on so words appear as they are written. Streaming runs over SSE and works with SillyTavern's standard setting. Remember that a streamed request holds a concurrency slot until it ends.

What a conversation costs

Billing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. In roleplay the input side is the bigger number, because the character definition and history ride along with every turn. Here is a realistic mid-chat turn:

  • Input: 8,000 tokens (character definition, lorebook and history).
  • Output: 300 tokens.
  • Input cost: 8,000 x $0.15 / 1,000,000 = $0.0012.
  • Output cost: 300 x $0.50 / 1,000,000 = $0.00015.
  • Total: $0.00135 per message.

One hundred such messages cost $0.135. The $0.50 trial covers about 370 of them. A $20 top-up covers around 14,800. If your context grows to 30,000 tokens, input alone is $0.0045 per turn, so a very long chat costs several times more per message than a fresh one. That is the reason to keep an eye on context size, or to summarise old scenes and start a clean thread.

Failed or refused requests are not charged, and credit never expires. See the pricing page for top-ups from $20 to $500 and the bonuses at higher tiers. This site takes crypto only: USDT on TRC20 or USDC on Base.

Keeping characters sharp and cheap

A good unfiltered ai api sillytavern experience depends as much on the character definition as on the endpoint. Every token in that definition is sent on every turn, so a 3,000-token backstory costs the same as 3,000 tokens of chat, repeated for the whole session. Put the facts the model must keep in the first lines: name, voice, relationship to you and the scene setting. Move long lore into lorebook entries that trigger only on keywords.

Give the model a short example of the style you want, two or three lines of dialogue at most. The model copies tone from examples more reliably than from adjectives. If a character drifts, edit the definition rather than adding more instructions each turn, because stacked instructions inflate the input and often fight each other.

When a scene ends, summarise it in a paragraph and start a new chat with that summary pasted in. You lose nothing important, and the next hundred messages are billed on a small history instead of a huge one. Because the model is tuned to answer without content refusals for lawful adult use, you do not need elaborate framing to keep fiction going. Plain, direct scene descriptions work best.

Limits that show up in SillyTavern

A trial key allows 2 concurrent requests and 60 requests per minute. A full key allows 8 and 300. Most single chats stay far below that. Trouble starts in two cases.

First, group chats. When several characters answer in turn, some setups fire requests close together, and regenerating or swiping while a reply still streams can add more. If you see a 429 with concurrency, you hit the slot limit; wait for the stream to finish. A 429 with rate_limited means too many requests in a minute. A 429 with a Retry-After: 5 header means brief overload, so retry after five seconds.

Second, extensions that call the model in the background, such as summaries or image-prompt helpers. They count against the same limits. Note that this service only returns text, so an extension that expects the model to make pictures will not work here, although the model can write prompts for another tool.

Fixing common problems

SymptomLikely causeFix
Connect fails at onceWrong URL or extra pathUse the base URL ending in /v1 and nothing more
401 errorKey typo or missingRe-paste the key; test with curl
Model not foundWrong model IDType uncensored exactly
429 mid-chatConcurrency or rate limitWait, then retry; avoid rapid swipes
Replies cut offMax response length too lowRaise it to 500 or more
Bill higher than expectedLarge context sizeLower context, summarise old turns

For anything else, send the value of the X-Request-Id response header to the support page. The docs quickstart lists the request format SillyTavern uses under the hood, and the response header X-Balance-USD shows your remaining credit.

Questions and answers

Which SillyTavern source do I pick for this API?

Choose Chat Completion, then the Custom (OpenAI-compatible) source. Enter the base URL, your key and the model ID uncensored.

Why does SillyTavern say it cannot connect?

Check that the URL ends in /v1 and has no extra path, and that the key has no spaces. Test the same key with curl against /v1/models to see which part is wrong.

Can I use more than one character at a time?

Yes, but group chats can send requests close together. A full key allows 8 concurrent requests, a trial key 2, so a 429 with concurrency means waiting for streams to finish.

Is the content filtered?

The model is tuned to answer without content refusals for lawful adult use. Sexual content involving minors is never allowed.

Your key is one form away

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