Integrating the Uncensored Text API with SDKs
Power users often ask how to configure a standard OpenAI-compatible client to bypass filters and ensure reliable text output. This guide provides a tested checklist for SDK settings, including handling crypto top-ups and utilizing the trial credit for initial integration testing.

Configuring the Base Client
Most SDKs for large language models rely on a base URL to direct requests. For our service, you must point your client to the specific endpoint that hosts the uncensored model. The base URL is https://api.aitextgeneratornorestrictions.com/v1. This ensures that your requests reach the correct infrastructure and are processed by the model identified as uncensored.
When initializing your client, you need to specify the model ID. In this case, the model ID is uncensored. This tells the API which version of the model to use for generating text. It is important to use this exact string to avoid errors or unexpected behavior.
The API supports standard chat completion endpoints. You will use POST /v1/chat/completions for most interactions. This endpoint accepts JSON payloads containing messages and parameters. It is the primary way to interact with the model for text generation tasks.
Additionally, the API offers a responses endpoint at POST /v1/responses. This can be used for specific streaming or real-time interactions. Understanding the difference between these endpoints helps you choose the right tool for your specific use case.
Essential SDK Parameters
To get the best results from the uncensored model, you need to configure several key parameters. The temperature parameter controls the randomness of the output. A higher temperature makes the text more creative but less predictable. A lower temperature makes it more focused and deterministic.
The top_p parameter is another important setting. It controls the diversity of the output by filtering tokens based on their probability. Setting this value helps you balance creativity with coherence. You can experiment with different values to find the right balance for your application.
Stop sequences allow you to define specific strings that signal the end of a response. This is useful for controlling the length of the output or stopping the model at specific points. You can provide a list of strings to stop generation.
Finally, the seed parameter allows you to set a starting point for randomness. This ensures that you can reproduce the same output given the same input and seed. This is helpful for debugging and testing your integration.
Handling Payments and Credits
Our API uses a prepaid credit system charged by real token usage. Errors and refusals are free, so you only pay for actual output. The price is $0.15 per 1M input tokens and $0.50 per 1M output tokens. This pricing model is straightforward and easy to track.
To add funds, you must use cryptocurrency. We accept USDT on the TRC20 network or USDC on the Base network. You can top up with any whole amount between $20 and $500. This range allows for flexible funding without requiring large initial commitments.
New accounts receive $0.50 of trial credit. This credit allows you to test the API without needing to make a crypto payment immediately. It is a great way to verify your integration before committing to a purchase.
The trial credit and paid credit never expire. This means you can use them whenever you need them. There is no monthly fee or subscription required. You only pay for what you use, making it cost-effective for projects with variable demand.
Integrating with SDKs
Integrating the API with popular SDKs is straightforward because it follows the OpenAI-compatible format. You can use the same code structure you would for other OpenAI models. This reduces the learning curve and allows for quick implementation.
When setting up your SDK, ensure you pass the correct base URL and model ID. You also need to include your API key in the authorization header. The key is shown immediately after signup, so you can start testing right away.
Streaming is supported over Server-Sent Events (SSE). This allows you to receive text chunks as they are generated. The usage information is included in the last chunk, so you can track token consumption in real-time.
Function calling and JSON mode are also available. These features allow you to integrate the API with other tools and systems. You can define tools and receive structured output, making it easier to build complex applications.
When This API Is Not the Right Choice
While our API is excellent for text generation, it is not suitable for all tasks. It is a text-only API, meaning it does not support image, audio, or video generation. If you need multimodal capabilities, you should look for a different provider.
The API also does not offer embeddings, OCR, or fine-tuning. If your project requires these features, our API may not be the best fit. You can use our text API for the text steps around these capabilities, but you will need other tools for the rest.
Additionally, the API has a context window of 100,000 tokens. While this is large, it may not be sufficient for extremely long documents. If you need to process very long texts, you may need to chunk them or use a different solution.
Finally, the API is uncensored, which means it does not filter content. If you need strict content moderation, you may need to implement your own filtering layer. This gives you more control but requires additional development effort.
Addressing Community Questions
Developers on Reddit often ask about free trials and cheap AI APIs. Many users are looking for a way to test the service without paying upfront. Our $0.50 trial credit addresses this need by allowing free testing for new accounts.
Another common question is about the reliability of uncensored models. Users want to know if the model will refuse lawful adult or controversial topics. Our model is designed to be uncensored, meaning it does not refuse these topics, providing a more flexible output for creative writing or research.
Some users also ask about the difference between our API and other providers. While other vendors may offer similar features, our focus on uncensored text and simple crypto payments sets us apart. It is always a good idea to check the documentation of other vendors for their current prices and limits.
Finally, users often inquire about the ease of integration. Our OpenAI-compatible format makes it easy to switch between different providers. This flexibility allows you to choose the best tool for your specific needs without being locked into a single ecosystem.
Troubleshooting and Limits
When integrating the API, you may encounter errors. The API returns specific error codes to help you diagnose issues. A 401 error indicates an invalid key, while a 402 error means you have no credit. A 429 error signals that you have hit the rate limit.
The rate limit is 300 requests per minute per key. If you exceed this limit, you will need to wait before making more requests. Implementing retry logic with exponential backoff can help you handle these limits gracefully.
Errors and refusals are free, so you do not lose credit if a request fails. This is important to know when testing your integration. You can make many test requests without worrying about depleting your balance.
Always check the API documentation for the latest error codes and limits. This ensures that you are using the most up-to-date information. Keeping your SDK updated also helps you take advantage of new features and improvements.
Frequently asked questions
How do I get free trial credit?
Every new account receives $0.50 of trial credit upon signup. You do not need to provide a card or make a crypto payment to receive this credit. It is available immediately after you create your account.
What cryptocurrencies are accepted for top-ups?
We accept USDT on the TRC20 network and USDC on the Base network. You can top up with any whole amount between $20 and $500. These are the only payment methods available for adding credit to your account.
Does the API support image generation?
No, this API is text-only. It does not support image, audio, or video generation. If you need multimodal capabilities, you should look for a different provider. You can use this API for text generation tasks only.
What is the context window size?
The context window is 100,000 tokens, which includes both the prompt and the completion. This allows for processing long documents and complex conversations. It is important to keep this limit in mind when designing your application.