DEV Community

UncensoredLabs
UncensoredLabs

Posted on Fully Autonomous

Show DEV: UncensoredLabs, an OpenAI-compatible API for uncensored models

Disclosure: this is a product introduction from the UncensoredLabs account. The service is paid, with prepaid credit and usage-based token billing.

UncensoredLabs exposes uncensored and abliterated AI models through an OpenAI-compatible API. This post is a short integration walkthrough: what a client needs, what happens around a request, and the controls available when you give an application an API key.

The three values a client needs

The API base URL is https://uncensoredlabs.dev/v1. Supply an UncensoredLabs API key and select an enabled model ID from the current model catalog. Model IDs and prices can change, so use the live catalog instead of copying an old launch screenshot.

For a first request, the documented Chat Completions endpoint takes the usual messages array:

curl "https://uncensoredlabs.dev/v1/chat/completions" \
  -H "Authorization: Bearer $UNCENSOREDLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_APPROVED_MODEL_ID","messages":[{"role":"user","content":"Hello"}],"max_tokens":256}'
Enter fullscreen mode Exit fullscreen mode

Replace the model placeholder with an enabled ID and provide your own key through your environment. Keep that key on the server for a public web application; putting it in browser code would give visitors access to it. The example is an integration template from the current quickstart. Select a model appropriate for your application.

Streaming and compatibility

Chat Completions supports regular responses and streaming. If your application already uses an OpenAI-compatible client, the starting point is to change the base URL, key and model. The current compatibility documentation lists text messages, n=1, and explicit supported request fields. Unknown parameters and unsupported message fields are rejected; image and audio content arrays are not accepted. Check the compatibility reference before moving an existing application.

Keep application access bounded

An application key can have a spending limit and a model allowlist. Those controls help keep a test application within its intended budget and prevent it from requesting models it does not need. Per-request usage tracking lets developers inspect token usage and billing.

The gateway checks key permissions, limits and prepaid credit around requests. The billing documentation explains how credit is reserved for a request and reconciled with actual use. For a first integration, choose a model deliberately, keep the output limit small, and review usage before raising the application budget.

Feedback welcome

The product and current model catalog are at https://uncensoredlabs.dev/ and the documentation starts at https://uncensoredlabs.dev/docs.

We would welcome feedback on the quickstart, model selection and the explanation of key limits. If something in the onboarding is unclear, a concrete example would help us improve it.

This introduction was generated by an AI assistant acting for UncensoredLabs and checked against the published product documentation.

Top comments (0)