Integrating Uncensored LLMs: API Setup & SDK Checklist
Developers building immersive roleplay or DND campaigns often struggle with configuring the right parameters for uncensored LLMs. This article provides a tested checklist for integrating our OpenAI-compatible text API, covering SDK settings and prompt structuring for maximum output quality.

Understanding the API Foundation
Before diving into code, it is essential to understand the foundation of our service. We offer a hosted, OpenAI-compatible chat-completions API that serves a single, uncensored open-weight text model. The model identifier you must send is simply "uncensored". This means the model does not refuse lawful adult, fictional, security-research, or controversial topics, allowing for deeper immersion in roleplay scenarios.
The base URL for all requests is https://api.uncensoredaimodels.top/v1. You will interact with standard endpoints like POST /v1/chat/completions for generating responses and GET /v1/models to verify connectivity. Unlike many other services, we do not offer embeddings, image generation, audio, video, OCR, fine-tuning, or model routing. Our focus is strictly on text-in, text-out capabilities.
When integrating this API, remember that it is an independent service. It is not an official site, partner, or reseller of any other company. If you are comparing features with other vendors, check their own documentation for current prices and limits. Our service provides a straightforward, no-nonsense interface for developers who need reliable text generation without the overhead of multi-modal features.
The context window for this API is 100,000 tokens, which includes both the prompt and the completion. This generous window allows you to maintain long-term memory in DND campaigns or complex roleplay threads without losing context. However, you must manage your token usage carefully, as pricing is based on real token consumption.
Authentication and Account Setup
Getting started with our API is designed to be quick and frictionless. You can sign up using your Google account or via email and password. Upon registration, you receive an API key immediately, which you can use to authenticate your requests. This key is your primary identifier for all interactions with the service.
Every new account receives $0.50 of trial credit, allowing you to test the API without any initial financial commitment. No credit card is required for this trial. Once you have exhausted the trial credit, you will need to top up your account. We accept crypto payments only, specifically USDT on the TRC20 network or USDC on the Base network. You can add any whole amount between $20 and $500.
For users who top up from $50, we offer a bonus credit ranging from +5% to +15%. This bonus is added to your balance to help you get more value from your initial investment. There are no subscriptions or monthly fees; you pay only for the tokens you use. Your paid credit never expires, so you can return to the service whenever you need it.
When making requests, ensure you include your API key in the authorization header. If you receive a 401 error, it indicates an invalid or missing key. A 402 error means you have no credit left, and a 429 error signifies that you have hit the rate limit of 300 requests per minute per key. Keep these error codes in mind as you debug your integration.
SDK Configuration and Parameters
Configuring your SDK correctly is important for achieving the desired output quality. Our API supports streaming over Server-Sent Events (SSE), which allows you to receive usage information in the last chunk of the response. This is particularly useful for real-time applications where you want to display tokens as they are generated.
For roleplay and creative writing, the parameters temperature, top_p, stop, and seed are essential. Setting a higher temperature increases the randomness of the output, making the model more creative and less predictable. This is ideal for generating unique dialogue and unexpected plot twists in your stories. The top_p parameter controls the diversity of the output by filtering out less likely tokens.
You can also use the stop parameter to define sequences that signal the end of a response. This helps in controlling the length of the output and ensuring that the model does not continue beyond a certain point. The seed parameter allows you to reproduce the same output for a given prompt, which is useful for testing and debugging.
Additionally, our API supports penalties, which can be used to discourage the model from repeating certain phrases or topics. By adjusting these parameters, you can fine-tune the behavior of the model to better suit your specific needs. Experiment with different values to find the optimal settings for your application.
Prompt Structuring for Immersion
Effective prompt structuring is key to getting the best results from our uncensored model. Start by clearly defining the role of the model in your context. For example, if you are building a DND campaign, specify that the model is the Dungeon Master. This helps the model understand the tone and style of the responses it should generate.
Include detailed descriptions of the setting, characters, and current situation in your prompt. This provides the model with the necessary context to generate relevant and immersive responses. Use clear and concise language to avoid ambiguity. You can also use delimiters to separate different parts of your prompt, such as the system message, user input, and any additional instructions.
Experiment with different prompt formats to see what works best for your use case. Some users find that using a conversational format yields more natural responses, while others prefer a more structured format with explicit instructions. The key is to be consistent with your prompt structure so that the model can learn to adapt to your style.
Remember that the model does not have memory between requests unless you provide it in the context. So, if you want the model to remember previous interactions, you need to include the conversation history in your prompt. This can be done by appending the previous messages to the current prompt. Be mindful of the token limit when doing this, as long conversations can quickly consume your context window.
Function Calling and JSON Mode
Our API supports function calling, which allows you to define custom functions that the model can call during generation. This is particularly useful for managing game state, inventory, or other structured data in your application. You can define the structure of the function parameters, and the model will output JSON that matches this structure.
JSON mode is another powerful feature that ensures the model outputs valid JSON. This is essential for integrating the API with other systems that expect structured data. By enabling JSON mode, you can reduce the need for post-processing the output to extract the necessary information.
When using function calling, make sure to provide clear descriptions of the functions and their parameters. This helps the model understand what data it needs to extract from the conversation. You can also provide examples of how the functions should be called, which can improve the accuracy of the model's output.
Combine function calling with JSON mode to create reliable integrations that can handle complex data structures. This allows you to build more sophisticated applications that can interact with the API in a meaningful way. For example, you could create a function that updates the player's inventory based on the outcome of a dice roll.
When This API Is Not the Right Choice
While our API is excellent for text-based roleplay and DND campaigns, it may not be the right choice for every use case. If you need image generation, audio, or video capabilities, our service does not offer these features. We focus solely on text-in, text-out functionality, so if multi-modal output is a requirement, you may need to look elsewhere.
Similarly, if you need embeddings for semantic search or fine-tuning to customize the model for a specific domain, our API does not support these features. We provide a single uncensored model, so you cannot switch between different models or fine-tune the model to your specific needs. If these features are critical to your project, consider other vendors.
Additionally, if you require an SLA with specific uptime guarantees or certifications like SOC2 or HIPAA, our service does not currently offer these. We are an independent service that focuses on providing a simple, uncensored text API without the overhead of enterprise-grade certifications. If these are important to your organization, you may need to evaluate other options.
Finally, if you are looking for a free unlimited tier, our service is not the right fit. We operate on a prepaid credit model, where you pay for the tokens you use. While we offer a small trial credit, you will need to top up your account to continue using the API. If you need a completely free solution, you may want to explore other providers.
Addressing Community Questions
Threads on r/LocalLLM and r/ChatbotRefugees often discuss the best uncensored models for roleplay and ERP. Users frequently ask about models that can handle explicit content without feeling overly filtered or repetitive. Our uncensored model is designed to handle these topics naturally, allowing for immersive experiences without the common friction of safety filters.
On r/AIJailbreak, users discuss platforms that offer complete uncensored chat with unrestricted image generation. While our API focuses on text, the underlying model shares the same uncensored philosophy. Users appreciate the freedom to explore controversial or adult topics without the model refusing based on broad safety rules. This makes our service a strong choice for developers building companion apps or immersive story generators.
Another common question from r/AppIdeas is how to prevent bots from getting shy when things get explicit. The issue is often the moderation layer rather than the core model. By using our uncensored model and configuring the parameters correctly, you can minimize the feeling of being blocked. Users have found that adjusting the temperature and top_p can help the model stay in character and produce more natural responses.
Finally, users on r/AIToolsAndTips often look for sites that give more flexibility and control. Our API provides full control over the parameters and prompt structure, allowing developers to tailor the output to their specific needs. This level of control is essential for creating high-quality, immersive roleplay experiences that feel authentic and engaging.
Frequently asked questions
How do I start using the uncensored AI API?
Sign up via Google or email to receive an API key immediately. You get $0.50 in trial credit with no card required. To continue, top up with USDT on TRC20 or USDC on Base, starting at $20.
What is the cost of using the API?
The API costs $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. Errors and refusals are free, and your paid credit never expires.
Does the API support image or video generation?
No, the API serves only text. It does not support embeddings, image, audio, video generation, OCR, fine-tuning, or model routing. It is strictly a text-in, text-out service.
What are the rate limits for the API?
The rate limit is 300 requests per minute per key. If you exceed this limit, you will receive a 429 error. Ensure your SDK handles retries appropriately.