EN ▾

https://api.geminisemfiltro.com/v1

Start now

GeminisemfiltroSetup guide

API Documentation for Uncensored Chat Completions

This is an OpenAI-compatible API documentation for our uncensored LLM, designed for developers who need a direct, filter-free chat completions interface.

uncensoredhttps://api.geminisemfiltro.com/v1

per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Base URL and Authentication

Use the base URL https://api.geminisemfiltro.com/v1 and authenticate via the Authorization header. Your API key grants immediate access to the uncensored model without any monthly subscription fees. Simply include Authorization: Bearer YOUR_API_KEY in every request to verify your prepaid credit balance.

curl https://api.geminisemfiltro.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Explain dependency injection in Go"}]
  }'

The POST /v1/chat/completions Endpoint

Send your prompts to POST /v1/chat/completions with the model ID set to uncensored. This endpoint handles all text generation tasks without content refusals for lawful adult use. You can control the output style using standard parameters like temperature and top_p.

from openai import OpenAI

client = OpenAI(base_url="https://api.geminisemfiltro.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)

Streaming Responses and Token Usage

Enable streaming by setting stream: true to receive token-by-token updates via Server-Sent Events. The final chunk contains the complete token usage statistics for your billing records. This approach reduces perceived latency for long-form content generation tasks.

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)

Function Calling and JSON Mode

Utilize the tools parameter for structured function calling or set response_format to {"type": "json_object"} for strict JSON output. These features ensure predictable data structures for your applications without extra formatting overhead. The model reliably adheres to these constraints during generation.

Parameters: Temperature, Top-p, and Limits

Adjust temperature for creativity or top_p for diversity, while respecting the 100,000 token context window. The maximum output per request is up to the full 100,000-token window; the max_tokens parameter is optional. These controls let you fine-tune the model's behavior for specific use cases.

GET /v1/models Endpoint

Call GET /v1/models to verify available models and current configuration settings. This endpoint returns the model ID and details about the uncensored large language model running on our servers. Use this to confirm your client is connected correctly before sending heavy payloads.

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.geminisemfiltro.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);

Frequently asked questions

What is the context window size for the uncensored model?

The model supports a 100,000 token context window, including both the prompt and the completion. This allows you to process large documents or long conversation histories without truncation issues.

Why do I get a 401 or 402 error?

A 401 error indicates an invalid or missing API key, while a 402 error means your prepaid credit is exhausted. Since we use prepaid billing, you must top up via crypto to resume service. Errors and refusals do not consume your credit.

How does the 429 rate limit work?

You are limited to 300 requests per minute per key and 8 concurrent requests. If you exceed these limits, you receive a 429 error. Adjust your client's retry logic to handle these temporary pauses gracefully.

Get your API key

Register, copy the key, update your base URL. Complete.

Start with trial credits

Use email and password; your key appears immediately.