Short answer
There is no switch that gives you a gemini api no filter mode. The Gemini API lets you adjust safety thresholds for some harm categories per request, but it also applies protections you cannot turn off, and it can block a response or a whole prompt even at the loosest settings. If your lawful project keeps hitting those blocks, you have two practical options: rewrite the prompt so it is clearer about context, or send that workload to a different model whose provider does not apply content refusals for lawful adult use.
This site offers the second option. It is an independent OpenAI-compatible API that serves one open-weight model. It is not Google's product, not a Gemini model and not affiliated with Google. Below you will find how to read a Gemini block, what the safety settings really do, and how to move a workload with minimal code changes. Check Google's current documentation for the exact behaviour of their settings, since it changes.
How a block shows up
Blocks come in two forms, and the fix depends on which one you have.
| What you see | Likely meaning | First thing to try |
|---|---|---|
| The prompt is rejected before generation, with block feedback | The input tripped a prompt-level filter | Remove or reframe the triggering phrase, add context |
| Generation starts then stops, finish reason says safety | The output tripped a filter mid-answer | Ask for a less graphic version, shorten the scene |
| An empty or very short answer | The response was filtered after generation | Check the finish reason and any safety ratings |
| A polite refusal in the text | The model itself declined | State the purpose and constraints plainly |
Log the finish reason and any block information on every call. Without it you cannot tell a filter from a bad prompt. The official client libraries expose these fields on the response object.
What safety settings can and cannot do
The Gemini API exposes per-request safety settings with a threshold for several harm categories. Loosening a threshold reduces how often the filter fires in that category. It does not remove the model's own training, and it does not cover every protection. Some categories are not adjustable at all, and Google reserves the right to block content it considers unsafe whatever you set. Settings and defaults have also changed between model versions, so a configuration that worked last quarter can behave differently today.
For many projects the settings are enough: a legitimate medical, legal or security application can often get what it needs by setting thresholds and writing a clear prompt. The trouble starts with fiction, roleplay and companion apps for adults, edgy humour, and some security topics, where a general-purpose assistant has to be cautious by design. That is a policy decision by the provider, not a bug in your code, and no parameter will override it.
Why prompt tricks backfire
Forums are full of jailbreak prompts. They are unreliable for production: they stop working when the provider updates the model, they make output quality worse, and they can put your account at risk under the provider's terms. A system that depends on a trick breaks without notice.
A more durable approach is honest framing. Say what the task is, who the audience is, and what the output is for. "Write a tense scene for an adult thriller novel" gives a model more to work with than a vague request. Keep scenes non-explicit if you stay on a mainstream API. If your lawful use case is something a mainstream model will not do under any framing, that is the signal to use a different endpoint, not a cleverer prompt.
Moving a lawful adult workload to another endpoint
Moving makes sense when the work is lawful, the blocks are consistent, and rewording does not help. Typical cases: adult fiction and roleplay, character chat apps, dark themes in novels, red-team style testing of your own systems, and content moderation tools that must read unpleasant text.
Before moving, be clear on the limits. This API serves one model, run by an independent provider, tuned to answer without content refusals for lawful adult use. The hard limit: no sexual content involving minors, ever. It is text only, with no image, audio or video generation, no embeddings and no fine-tuning. The context window is 100,000 tokens. If your app relies on Gemini-specific features such as multimodal input, you will need to keep those calls on Gemini and route only the text workload here. The guide to using a Gemini API alternative explains how to split traffic.
The code change
The endpoint is OpenAI-compatible, so you can use the official OpenAI library. Base URL is https://api.geminiuncensored.top/v1, the model ID is uncensored, and auth is a bearer key.
from openai import OpenAI
client = OpenAI(base_url="https://api.geminiuncensored.top/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "You write fiction for an adult audience. Stay in character."},
{"role": "user", "content": "Continue the scene where the detective confronts the smuggler."},
],
temperature=0.9,
max_tokens=600,
)
print(resp.choices[0].message.content)
The same request with curl:
curl https://api.geminiuncensored.top/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "uncensored", "messages": [{"role": "user", "content": "Hello"}]}'
Your Gemini prompts may need small edits, since a different model follows instructions differently. Test with ten real prompts before switching traffic. A fuller walkthrough of the key and settings is in the key integration guide.
A short migration checklist
- Collect failing prompts. Save twenty real prompts that were blocked, with their block information. They become your test set.
- Separate by need. Mark which calls need multimodal input or other Gemini-only features. Keep those where they are.
- Add a thin wrapper. Put one function between your app and the model call that takes messages and returns text. Switching backends then touches one place.
- Check limits. A full key allows 8 concurrent requests and 300 per minute; a trial key allows 2 and 60. Over a limit you get HTTP 429 with
rate_limitedorconcurrency. - Handle streaming. Streaming uses server-sent events with
stream: true. A streamed request holds its concurrency slot until the stream ends, so close abandoned streams. - Watch the balance. Read
X-Balance-USDon responses and alert before it runs out, since you top up by crypto transfer rather than automatic billing.
Run your test set through the new endpoint, read the outputs, and compare them with what you expected. Outputs will differ from Gemini's in style, so tune the system prompt and temperature rather than expecting identical text. For a related list of mistakes people make with unfiltered models, see common mistakes with uncensored models.
Cost, payment and the trial
Price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, billed from prepaid credit with no subscription. A chat turn with 3,000 input and 600 output tokens costs 3,000 x $0.15 / 1M plus 600 x $0.50 / 1M, which is $0.00045 plus $0.0003, or $0.00075. One thousand such turns cost $0.75.
Top up any whole amount from $20 to $500 in crypto: USDT on TRC20 or USDC on Base. Bonuses are +5% from $50, +10% from $100 and +15% from $200, and credit never expires. Failed or refused requests are not charged. See the pricing page for details.
To test first, claim the $0.50 trial credit with one click on the API key page. It needs no payment, lasts 7 days and is limited to one per person. Full parameters are in the docs. Prompts are not used for training.

