EN ▾

API for uncensored video pipelines

$0.15 per 1M input tokens$0.50 Output tokens / 1M100,000 token context$0.50 trial credit300 requests per minute
Get API key

Integrating Uncensored Video LLM API: A Developer Checklist

Connecting to an uncensored text API requires careful attention to authentication and streaming configurations. This guide walks you through the essential steps to integrate our service into your application efficiently.

Developer workspace with glowing laptop and digital data streams illustrating API integration

Understanding the API Structure

The foundation of integrating this service lies in recognizing its OpenAI-compatible structure. This design allows developers to reuse existing client libraries with minimal modification. The base URL for all requests is https://api.uncensoredvideo.top/v1. When you send a POST request to /v1/chat/completions, you are interacting with a single, uncensored open-weight text model. The model identifier you must specify in your requests is "uncensored". This ensures the system knows which specific model logic to apply for generating text responses.

It is important to note that this service focuses strictly on text generation. You will not find endpoints for embeddings, image generation, audio processing, or video creation. There is no OCR capability, no fine-tuning interface, and no model routing feature. The API is designed for simple text input and text output operations. This simplicity reduces complexity but means you cannot use this endpoint for multimodal tasks. If your application requires image analysis or audio transcription, you will need to pair this text API with other specialized tools.

The context window for this model is 100,000 tokens, counting both the prompt and the completion together. This large window allows for extensive context retention, which is useful for long-form content generation or complex reasoning tasks. However, it also means you must manage your token usage carefully to stay within your prepaid credit limits. Understanding this limit helps in planning how much data you can send in a single request without exceeding your budget or hitting the context ceiling.

Authentication is handled through API keys that are generated immediately upon signup. You can create an account using Google or by setting an email and password. Once registered, your key is shown right away, allowing you to start making requests immediately. There is no need to wait for email verification or approval processes. This immediate access is beneficial for developers who want to prototype quickly. Remember to keep your key secure, as it grants access to your prepaid credit balance.

Authentication and Key Management

Securing your API key is the first step in any integration. The service uses standard Bearer token authentication. You must include your key in the Authorization header of every HTTP request. If the key is invalid or missing, the API returns a 401 error. This ensures that only authorized users can access the model. It is important to store your key in environment variables rather than hardcoding it in your source code. This practice prevents accidental exposure if you push your code to a public repository.

When you sign up, you receive a key that is linked to your prepaid credit. There is no monthly subscription fee, so your access depends entirely on the credit you have purchased. If you run out of credit, the API returns a 402 error. This error indicates that you need to top up your account before you can make further requests. The system does not charge for errors or refusals, so you only pay for successful token usage. This model allows you to test your integration without worrying about accumulating costs from failed requests.

Rate limiting is enforced at 300 requests per minute per key. If you exceed this limit, the API returns a 429 error. This limit helps maintain service stability for all users. If your application requires higher throughput, you might need to implement exponential backoff strategies in your code. This ensures that your application does not overwhelm the server during peak usage times. Monitoring your request rate is essential to avoid interruptions in your service.

Keys are generated immediately after signup, whether you use Google authentication or email/password. This immediate availability allows for rapid prototyping and testing. You can start sending requests to the /v1/chat/completions endpoint right after registration. There is no waiting period for key activation. This feature is particularly useful for developers who want to integrate the API into their applications quickly. Just ensure that you save your key securely, as it provides access to your prepaid credit.

Handling Streaming and Parameters

Streaming responses is a key feature of this API, allowing you to receive text as it is generated. You can enable streaming by setting the stream parameter to true in your request. The API sends data in Server-Sent Events (SSE) format. Each chunk contains a portion of the generated text, along with usage statistics in the last chunk. This approach provides a smoother user experience, especially for long responses. It allows your application to display text to users in real-time, reducing perceived latency.

You can control the generation behavior using several parameters. The temperature parameter adjusts the randomness of the output. A higher temperature results in more creative and varied responses, while a lower temperature produces more deterministic and focused outputs. The top_p parameter controls the nucleus sampling, limiting the pool of potential tokens. You can also specify stop sequences to halt generation when certain text is encountered. These parameters give you fine-grained control over the model's behavior.

JSON mode is available for applications that require structured output. By setting the response format to JSON, you can ensure that the model outputs valid JSON objects. This is useful for parsing data into your application's data structures. You can also set a seed for reproducible results. This is helpful for debugging and testing, as it ensures that the same input produces the same output. These features enhance the reliability and usability of the API for various use cases.

Penalties can be applied to discourage certain tokens from being selected. This allows you to influence the style and content of the generated text. For example, you might penalize repetitive phrases or specific words. These penalties help in shaping the output to better fit your application's needs. Understanding how to use these parameters effectively is important for getting the best results from the uncensored model. Experiment with different settings to find the optimal configuration for your specific task.

Cost Management and Top-Ups

Understanding the pricing model is essential for budgeting your API usage. The cost is $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. You are charged based on real token usage, meaning you only pay for the tokens that are successfully processed. Errors and refusals do not incur charges, which can help reduce costs during testing phases. This pay-as-you-go model eliminates the need for monthly subscriptions or commitment fees.

To add credit to your account, you can use cryptocurrency. The service accepts USDT on the TRC20 network or USDC on the Base network. You can top up any whole amount between $20 and $500. This range allows for flexible funding based on your needs. There are no credit cards, PayPal, or bank transfers accepted for top-ups. This crypto-only approach simplifies the payment process but requires users to have a cryptocurrency wallet. Ensure that you send the correct amount and use the correct network to avoid issues with credit allocation.

New accounts receive $0.50 of trial credit, which allows you to test the API without making an initial purchase. This trial credit is a great way to explore the service and verify that your integration is working correctly. However, it is limited, so you will need to top up to continue using the API for larger projects. The prepaid credit never expires, so you can top up whenever it is convenient for you. This flexibility allows you to manage your budget according to your usage patterns.

When calculating costs, remember to account for both input and output tokens. The input tokens include your prompt and any system messages, while the output tokens are the generated text. You can estimate costs by multiplying the token count by the respective per-million price. For example, if you use 100,000 input tokens and 50,000 output tokens, the cost would be calculated based on the $0.15 and $0.50 rates. Keeping track of your token usage helps you stay within your budget and avoid unexpected charges.

Error Handling and Troubleshooting

Effective error handling is important for a reliable integration. The API returns specific HTTP status codes to indicate the status of your requests. A 401 error indicates an invalid or missing API key. A 402 error means you have no credit left in your account. A 429 error signifies that you have exceeded the rate limit of 300 requests per minute. By checking these codes, you can diagnose and resolve issues quickly.

When you encounter a 401 error, verify that your API key is correct and has not been revoked. If the key is valid, check that you have included it in the Authorization header. For 402 errors, you need to top up your account using USDT or USDC. Once the credit is added, you can resume making requests. For 429 errors, implement exponential backoff in your code to retry requests after a short delay. This prevents overwhelming the server and helps you stay within the rate limit.

It is also important to handle network errors and timeouts gracefully. If a request fails due to a network issue, you should retry it with a delay. This ensures that transient errors do not disrupt your application. Additionally, you should log errors and responses for debugging purposes. This helps in identifying patterns and optimizing your integration over time. By implementing comprehensive error handling, you can ensure a smooth user experience even when issues arise.

Remember that errors and refusals are free, so you do not need to worry about accumulating costs from failed requests. This feature allows you to test your integration thoroughly without incurring unnecessary charges. You can experiment with different inputs and parameters to see how the model responds. This iterative process helps you refine your application and ensure that it meets your requirements. By understanding the error codes and handling them appropriately, you can build a reliable and efficient integration.

When This API Is Not the Right Choice

While this API is powerful for text generation, it may not be suitable for all use cases. If your application requires image generation, audio processing, or video creation, this text-only API will not meet your needs. You will need to find a separate solution for those multimodal tasks. Similarly, if you need embeddings for semantic search or fine-tuning for custom model behavior, this service does not offer those features. You would need to integrate with other APIs to achieve those goals.

The uncensored nature of the model means it does not refuse lawful adult, fictional, security-research, or controversial topics. However, there is a hard limit on sexual content involving minors. If your application has strict content filtering requirements beyond this limit, you may need to implement additional filtering logic. This is important to consider if you are building an application for a specific audience with strict content guidelines.

Additionally, if you require high availability guarantees or certifications like SOC2 or HIPAA, this independent service may not be the best fit. The service does not claim specific SLA percentages or certifications. If your application requires enterprise-grade reliability and compliance, you might need to evaluate other providers. The focus here is on providing an uncensored text model with flexible pricing, rather than enterprise-level guarantees.

Finally, if you need a free unlimited tier, this prepaid model may not be ideal. While there is a small trial credit, ongoing usage requires payment. If your application has high volume and low budget constraints, you might find other free or cheaper alternatives more suitable. However, for developers who need an uncensored model with precise control over output and pricing, this API offers a unique value proposition. It is important to weigh these factors when deciding if this service is the right fit for your project.

Addressing Common Community Questions

Developers often discuss various aspects of using uncensored APIs in online communities. Threads on r/VeniceAI and similar subreddits frequently touch on topics like content filtering and model behavior. Users often ask how to handle specific types of content or how to optimize the model for certain tasks. While the exact details may vary, the general consensus is that understanding the model's limitations and capabilities is key to successful integration.

Another common topic is the comparison between different uncensored models. People often discuss the differences in output quality, speed, and cost. However, it is important to note that these discussions are based on personal experiences and may not reflect the current state of all models. When evaluating options, it is best to check the documentation of each vendor for the most up-to-date information on prices, limits, and features. This ensures that you are making informed decisions based on accurate data.

Users also discuss the ease of integration and the quality of the API documentation. Some developers prefer APIs that are easy to set up and have clear documentation. Others prioritize the flexibility of the model and the ability to customize outputs. By reading through these discussions, you can gain insights into what other developers value and what challenges they have faced. This can help you anticipate potential issues and plan your integration accordingly.

Finally, there are discussions about the ethical implications of using uncensored models. Some users are concerned about the potential for misuse or the generation of inappropriate content. While the model does not refuse lawful adult content, it is important to implement your own content filtering if necessary. This allows you to tailor the output to your specific needs and audience. By staying informed about community discussions, you can better understand the broader context of using uncensored AI in your applications.

Frequently asked questions

How do I get an API key?

You can sign up using Google or an email and password. Your API key is shown immediately after registration, allowing you to start using the service right away without any waiting period.

What cryptocurrencies are accepted for top-ups?

The service accepts USDT on the TRC20 network and USDC on the Base network. You can top up any whole amount between $20 and $500. Other payment methods like credit cards or PayPal are not supported.

Does the API support streaming?

Yes, the API supports streaming via Server-Sent Events (SSE). You can enable this by setting the stream parameter to true in your request. This allows you to receive text as it is generated, providing a smoother user experience.

What happens if I run out of credit?

If you run out of credit, the API returns a 402 error. You will need to top up your account using USDT or USDC to resume making requests. Errors and refusals do not incur charges, so you only pay for successful token usage.