API Documentation: uncensored Chat Completions
Drop in your OpenAI-compatible client and start generating text with our uncensored model immediately. We provide a dedicated endpoint that accepts standard parameters while removing content refusals for lawful adult topics.
Authentication & Base URL
Every request requires a valid API key passed in the Authorization header. Our base URL is https://api.deepseekopenaicompatibleapi.com/v1. You receive this key immediately after signing up via Google or email. No phone number is required. The key identifies your account and tracks prepaid credit usage. Errors and refusals do not consume tokens, so you only pay for successful completions.
Chat Completions Endpoint
Send messages to POST /v1/chat/completions to generate text responses. The model ID is always uncensored. This endpoint handles standard chat formats with system, user, and assistant roles. It does not support embeddings, images, or fine-tuning. Configure your request with the desired model parameters and content. The response returns the generated text along with token usage statistics.
Streaming Responses (SSE)
Enable streaming by setting stream: true in your request body. The server returns Server-Sent Events (SSE) for real-time token delivery. Token usage data appears only in the final chunk of the stream. This approach reduces perceived latency for long outputs. Buffer the incoming events on the client side to reconstruct the full message.
cURL
curl https://api.deepseekopenaicompatibleapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Summarize the release notes of the last stable build"}]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.deepseekopenaicompatibleapi.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.deepseekopenaicompatibleapi.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);Streaming
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)Get your API key
Sign up, retrieve your key, and update the base URL. That is all you need to do.