EN ▾
GeminisemfiltroUncensored OpenAI-compatible API, prepaid.

https://api.geminisemfiltro.com/v1

Start now

Integrating Uncensored Gemini via OpenAI-Compatible SDKs

Developers often seek ways to bypass standard safety layers using familiar SDK settings. This guide provides a tested checklist for configuring endpoints, handling streaming, and setting parameters for an independent uncensored text API.

Developer workspace with glowing screen showing code and chat interface, surrounded by crypto tokens

Understanding the API Structure

The foundation of integrating with this service lies in understanding its specific endpoint structure. Unlike many providers that offer a suite of models, this API serves a single uncensored open-weight text model. You must direct your requests to the base URL https://api.geminisemfiltro.com/v1. The primary endpoint for chat completions is POST /v1/chat/completions, which accepts text input and returns text output. This simplicity reduces the complexity of routing logic in your application.

It is important to note that this service does not support embeddings, image generation, audio processing, or video generation. There is no OCR capability, no fine-tuning interface, and no model routing. If your project requires multi-modal inputs or outputs, this text-only API may not be the right choice. However, for pure text generation tasks, the interface is straightforward and consistent with industry standards.

The model identifier you must send in your requests is simply uncensored. This tells the system which model to invoke. When you query the GET /v1/models endpoint, you will see this model listed. Keeping your requests focused on text ensures you utilize the full context window of 100,000 tokens, which covers both the prompt and the completion combined.

By sticking to the core text endpoints, you avoid unnecessary overhead. The API is designed for developers who need reliable, uncensored text generation without the bloat of multi-modal features. This focus allows for faster response times and a more predictable integration experience for indie builders and small teams.

Configuration and Authentication

To begin using the API, you need to authenticate your requests. The signup process is straightforward: you can continue with Google or use an email and password combination. Upon registration, your API key is shown immediately, allowing you to start making requests without delay. This key is essential for all subsequent interactions with the service.

When making requests, include your API key in the authorization header. If the key is invalid, you will receive a 401 error. If you have no credit remaining, you will encounter a 402 error. Understanding these error codes helps you troubleshoot issues quickly. The system charges for real token usage, so errors and refusals are free of charge.

The pricing model is prepaid, meaning you must add credit before you can make requests. The cost is $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. There are no monthly subscriptions or fees, and your paid credit never expires. This pay-as-you-go model is ideal for developers who want to control their costs precisely.

You can top up your account using cryptocurrency, specifically USDT on the TRC20 network or USDC on the Base network. The minimum top-up amount is $20, and the maximum is $500. If you top up with $50 or more, you receive a bonus credit ranging from 5% to 15%. This flexible payment method suits users who prefer crypto transactions over traditional banking.

Configuring Parameters for Control

One of the key advantages of this API is the ability to fine-tune the output using standard parameters. You can adjust the temperature to control the randomness of the responses. A lower temperature results in more deterministic outputs, while a higher temperature encourages more creative and varied responses. This is useful for testing different styles of uncensored content.

You can also set the top_p parameter to control the diversity of the output. This parameter filters the most likely tokens based on their cumulative probability. By adjusting top_p, you can ensure that the model stays on topic while still allowing for some flexibility. This is particularly useful when generating long-form content or complex narratives.

Additionally, you can use the stop parameter to define sequences where the model should halt generation. This helps in controlling the length of the output and prevents the model from rambling. You can also set a seed to ensure reproducibility of your results, which is helpful for debugging and testing specific scenarios.

The API also supports penalties for specific tokens, allowing you to discourage certain words or phrases. This feature is valuable for maintaining the uncensored nature of the output while avoiding unwanted repetitions or biases. By combining these parameters, you can create a highly customized generation experience that fits your specific needs.

Handling Streaming and Responses

Streaming is a critical feature for many applications, allowing users to see responses in real-time. This API supports streaming over Server-Sent Events (SSE). When you enable streaming, the usage information is included in the last chunk of the response. This allows you to track token consumption as the response is generated.

To implement streaming, you need to handle the SSE events in your client-side code. Each event contains a portion of the response text. By accumulating these chunks, you can display the full response to the user as it is generated. This improves the user experience by providing immediate feedback.

It is important to handle the end of the stream correctly. The final chunk will contain the complete response and the usage statistics. You should parse this information to update your credit balance and log the token usage. This ensures that you are aware of your consumption and can manage your credits effectively.

Streaming also allows for better error handling. If a connection is lost, you can retry the request without losing the progress made so far. This is particularly useful for long-running generation tasks. By implementing reliable streaming logic, you can ensure a smooth and reliable experience for your users.

When This API Is Not the Right Choice

While this API is powerful for text generation, it is not suitable for every use case. If your project requires image generation, audio processing, or video creation, this text-only API will not meet your needs. There is no OCR capability, so you cannot extract text from images. If you need to analyze visual content, you will need a different solution.

Similarly, if you require embeddings for semantic search or clustering, this API does not provide that feature. You will need to integrate a separate embedding service to handle those tasks. The same applies to fine-tuning; if you need to train a custom model on your data, this API does not support that functionality.

Additionally, if you need model routing to switch between different models based on the task, this API serves only one uncensored text model. You cannot route requests to other models for different types of content. If your application requires multi-modal inputs or outputs, this service may not be the right choice.

Finally, if you need high availability guarantees or certifications like SOC2 or HIPAA, this independent service does not claim those. It is designed for developers who value uncensored text generation over enterprise-grade compliance. If your use case demands strict regulatory compliance, you may need to consider other options.

Addressing Common User Questions

Users often ask how to bypass safety filters that interfere with specific topics. For instance, some users have reported issues with safety filters triggering on neutral topics like building a cyberdeck or discussing table measurements. In these cases, breaking down the request into smaller, more specific questions can help avoid false positives. This approach allows the model to process each part of the query without triggering broad safety constraints.

Another common question involves finding uncensored versions of popular models. Users have discussed finding links to uncensored Gemini instances in various online communities. While these links may offer a similar experience, they often lack the reliability and support of a dedicated API. Using a structured API ensures consistent performance and easier integration into your applications.

Users also inquire about the effectiveness of safety filters on sensitive topics. Some users have found that providing more context in their prompts helps the model understand the intent better, reducing the likelihood of unnecessary refusals. This is particularly useful for controversial or adult topics that might otherwise trigger safety mechanisms.

Finally, users often ask about the best way to manage credits and costs. Since the API charges based on token usage, it is important to monitor your consumption. Using streaming and efficient prompt engineering can help minimize token usage, ensuring that your credits last longer. This proactive approach helps you stay within your budget while enjoying the benefits of uncensored text generation.

Troubleshooting and Best Practices

Troubleshooting issues with the API often involves checking your API key and credit balance. If you encounter a 401 error, verify that your key is correct and active. If you receive a 402 error, check your credit balance and top up if necessary. A 429 error indicates that you have exceeded the rate limit of 300 requests per minute. To resolve this, you can implement exponential backoff in your client code to spread out your requests.

It is also important to handle errors gracefully. If a request fails, log the error details and retry the request if appropriate. This helps in identifying patterns and resolving issues more effectively. Additionally, you can use the seed parameter to reproduce specific errors, which is useful for debugging.

Another best practice is to monitor your token usage regularly. By keeping track of your input and output tokens, you can estimate your costs and plan your budget accordingly. The API provides usage information in the response, which you can use to update your internal logs and dashboards.

Finally, stay updated with any changes to the API documentation. While the core functionality remains stable, there may be updates to parameters or endpoints. Regularly checking the documentation ensures that your integration remains compatible with the latest version of the API. This proactive approach helps you avoid unexpected issues and maintain a smooth user experience.

Frequently asked questions

How do I top up my credit?

You can top up your account with USDT on the TRC20 network or USDC on the Base network. The minimum amount is $20, and the maximum is $500. You can also receive a bonus credit if you top up with $50 or more.

What happens if I run out of credit?

If you run out of credit, you will receive a 402 error on your next request. You can top up your account with crypto to resume using the API. Errors and refusals do not consume credit.

Can I use this API for image generation?

No, this API is text-only. It does not support image, audio, or video generation. If you need multi-modal capabilities, you will need to integrate a separate service for those tasks.

How do I handle streaming responses?

You can enable streaming by setting the appropriate flag in your request. The API supports streaming over Server-Sent Events (SSE). The usage information is included in the last chunk of the response.