Integrating Uncensored LLM API with Agentic Workflows
Agentic workflows require reliable, unrestricted text generation to function without constant human intervention. This guide details how to connect our API to tools like Blackbox for automated tasks, ensuring smooth operation from prompt to response. We cover the essential SDK configurations, error handling, and payment methods needed for reliable integration.

Understanding the Uncensored Model for Agents
Agentic workflows often encounter refusal blocks when standard models encounter controversial or adult topics. Our service provides an uncensored open-weight text model accessible via the ID uncensored. This model does not refuse lawful adult, fictional, security-research, or controversial topics, making it ideal for agents that need to generate content without arbitrary filters. The API is hosted and compatible with the OpenAI chat-completions format, allowing you to use existing SDKs with minimal code changes.
The base URL for all requests is https://api.unrestrictedimagegenerator.top/v1. You can send text in and receive text out using standard POST requests to /v1/chat/completions or /v1/responses. The service supports a context window of 100,000 tokens, which includes both the prompt and the completion. This large context window allows agents to maintain long-term memory and process complex instructions without losing context.
It is important to note that this service is strictly for text generation. It does not offer embeddings, image, audio, or video generation, nor does it support OCR, fine-tuning, or model routing. If your agent requires multimodal inputs, you must handle those separately before sending the text to our API. The model id you must send in your request body is simply uncensored.
When integrating, ensure your agent sends the correct model ID. The API serves ONE uncensored open-weight text model, so there is no need to route between different model versions. This simplicity reduces latency and complexity in your workflow. You can also use the GET /v1/models endpoint to verify available models if your integration requires dynamic model selection.
SDK Configuration and Streaming
Most developers use the OpenAI Python or JavaScript SDKs to interact with our API. Since our API is OpenAI-compatible, you can point the SDK to our base URL and use the uncensored model ID. This allows you to use familiar methods like client.chat.completions.create without rewriting your entire integration layer. The SDK handles the HTTP requests and response parsing, making it easier to integrate into existing agentic frameworks.
Streaming is supported over Server-Sent Events (SSE). This is important for agentic workflows where real-time feedback is needed. The usage information is included in the last chunk of the stream, allowing your agent to track token consumption accurately. You can enable streaming by setting the stream parameter to true in your request. This provides a smoother user experience and allows the agent to process responses incrementally.
You can also use parameters like temperature, top_p, stop, seed, and penalties to control the model's behavior. These parameters allow you to fine-tune the output for specific tasks. For example, setting a lower temperature can make the agent's responses more deterministic, which is useful for structured data extraction. The API supports JSON mode for consistent output formats.
Function calling (tools) is also supported. This enables your agent to interact with external systems by calling specific functions defined in your prompt. The API returns structured data that your agent can parse and act upon. This feature is essential for building autonomous agents that can perform actions beyond simple text generation.
Error Handling and Rate Limits
Reliable agentic workflows require proper error handling. Our API returns specific HTTP status codes to indicate issues. A 401 error means the API key is invalid, so you should verify your credentials. A 402 error indicates no credit is available, which requires a top-up. A 429 error signals a rate limit has been exceeded, meaning you have sent more than 300 requests per minute per key. Your agent should implement exponential backoff strategies to handle these errors gracefully.
The rate limit of 300 requests per minute per key is a hard limit. If your agent makes too many requests, it will be throttled. You can monitor your usage and adjust your request frequency accordingly. Errors and refusals are free, so you do not lose credit for failed requests. This is beneficial for testing and debugging your agent's logic.
It is also important to handle the hard content limit. The model refuses requests involving sexual content with minors. If your agent generates such content, it will be refused. Ensure your agent's prompt engineering accounts for this limit to avoid unnecessary refusals. The model does not refuse other lawful adult or controversial topics, providing flexibility for your use case.
When integrating, always check the response status code before processing the content. If you receive a 402 or 429 error, your agent should pause and retry after a delay. This prevents overwhelming the API and ensures smooth operation. You can also use the seed parameter for reproducible results during testing.
Payment and Credit Management
Our API uses a prepaid credit system charged by real token usage. The price is $0.15 per 1M input tokens and $0.50 per 1M output tokens. There is no subscription or monthly fee, and paid credit never expires. This pay-as-you-go model is cost-effective for agents with variable workloads. You can top up your credit using crypto only, specifically USDT on TRC20 or USDC on Base.
The minimum top-up amount is $20, and the maximum is $500. You can top up any whole amount within this range. If you top up $50 or more, you receive bonus credit ranging from +5% to +15%. This bonus provides additional value for larger top-ups. You cannot pay with cards, PayPal, or bank transfers, so ensure your wallet is set up for crypto transactions.
Every new account gets $0.50 of trial credit, requiring no card. This allows you to test the API before committing to a top-up. The trial credit is sufficient for basic integration testing. You can check your balance and usage through the dashboard provided by the service.
When building your agent, consider implementing a credit check mechanism. If the agent detects a low balance, it can pause operations and notify the user. This prevents unexpected service interruptions. You can also set up alerts for low credit levels to ensure continuous operation.
Signing Up and Key Management
Signing up for the service is straightforward. You can continue with Google or use an email and password. Once you create an account, the API key is shown immediately. It is important to save this key securely, as it is the only time you will see it. The key is used to authenticate your requests to the API.
You can generate multiple keys for different agents or environments. Each key has its own rate limit of 300 requests per minute. This allows you to distribute the load across multiple keys if needed. However, each key is subject to the same rate limit, so you cannot exceed 300 requests per minute per key.
When integrating with agentic workflows, ensure that your agent stores the API key securely. Avoid hardcoding the key in your source code. Use environment variables or a secret manager to store the key. This prevents accidental exposure of your credentials. You can also rotate keys periodically for added security.
The signup process is simple and does not require a credit card. This makes it easy to start testing the API. You can sign up with Google for a quick setup or use an email and password for more control. Once signed up, you can immediately start making requests to the API.
When Our API Is Not the Right Choice
While our API is excellent for text generation, it may not be the right choice for all use cases. If your agent requires image, audio, or video generation, you will need to use a different service. Our API only supports text in and text out. It does not offer embeddings, OCR, or fine-tuning. If your workflow involves multimodal data, you must handle those parts separately.
Additionally, if you need model routing or multiple model options, our API may not meet your needs. We serve only one uncensored open-weight text model. If you require access to different models with varying capabilities, you may need to integrate multiple APIs. Our API is designed for simplicity and reliability, not for model diversity.
Another limitation is the payment method. We only accept crypto top-ups, specifically USDT on TRC20 or USDC on Base. If your organization prefers traditional payment methods like credit cards or bank transfers, our API may not be suitable. You must be comfortable with crypto transactions to use this service.
Finally, if you need an SLA or certifications like SOC2 or HIPAA, our API does not offer these guarantees. We are an independent service and do not claim specific uptime percentages or certifications. If your use case requires strict compliance or SLA guarantees, you may need to consider other providers. Our API is best suited for developers who need a reliable, uncensored text model with flexible pricing.
Addressing Community Questions on Integration
Discussions on Reddit, such as those on r/BlackboxAI_ and r/Vibecoding, often focus on linking uncensored APIs to tools like Blackbox for agentic workflows. Users ask if it is possible to get these integrations working smoothly. The general consensus is that it is feasible, but it requires careful configuration. Many users mention using Kryven's API for unrestricted use, but our API offers a similar experience with a different pricing model.
Another common question is whether these ultra-cheap LLM API proxies are reliable. Some users compare them to Windows 10 enterprise keys given for free, suggesting potential risks. However, our API provides a stable and predictable experience with clear pricing and no hidden fees. The context window of 100,000 tokens ensures that your agents can handle complex tasks without losing context.
Users also discuss the arbitrage happening in the AI dev space, where developers bypass official pricing. Our API offers a transparent pricing model with no subscription fees. You only pay for what you use, and errors are free. This makes it a cost-effective option for developers looking to optimize their budgets.
Finally, some users worry about leaking sensitive data like .env files. While this is a valid concern, it is a general issue with any API integration. By using our API, you can ensure that your data is processed by an uncensored model without the risk of arbitrary refusals. Just ensure you secure your API keys and handle data appropriately.
Frequently asked questions
How do I integrate the uncensored API with Blackbox?
Point your OpenAI-compatible SDK to our base URL and use the model ID 'uncensored'. Ensure you handle streaming and errors properly for smooth agentic workflows.
What payment methods are accepted?
We only accept crypto top-ups: USDT on TRC20 or USDC on Base. Cards, PayPal, and bank transfers are not supported.
Is there a free trial?
Yes, every new account gets $0.50 of trial credit with no card required. This is enough for basic integration testing.
What happens if I exceed the rate limit?
You will receive a 429 error. The limit is 300 requests per minute per key. Implement exponential backoff in your agent to handle this gracefully.