Uncensored Video/Uncensored Video API Quickstart Guide
Uncensored Video API Quickstart Guide
Get started with the uncensored video API in minutes using standard OpenAI-compatible tools. This guide covers authentication, basic requests, streaming, and structured output for your text pipeline.
Authentication & Base URL
Connect to the uncensored video API by setting your base URL to https://api.uncensoredvideo.cc/v1 and passing your API key in the Authorization header. You can generate a key instantly via the dashboard using Google or email; no phone number is required. The API follows the standard OpenAI authentication pattern, meaning you can use existing SDKs and clients by simply updating the base URL and injecting your key.
Basic Chat Completion
Send a standard chat completion request to generate uncensored text, scripts, or metadata. The API accepts the model ID uncensored and supports all standard parameters like temperature and top_p. Use this endpoint to feed narrative logic or caption text into your video pipeline without content filters blocking lawful adult or controversial topics.
curl https://api.uncensoredvideo.cc/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'
Streaming Responses
For lower latency, enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE), allowing you to process tokens as they are generated. This is ideal for real-time captioning or progressive script generation. The final chunk contains the complete token usage statistics for billing.
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)
JSON Mode for Structured Data
Ensure consistent output formats by using response_format: {"type": "json_object"}. This forces the model to return valid JSON, which is essential for parsing script metadata, scene descriptions, or tag lists programmatically. This feature works alongside the standard chat parameters and helps maintain structure in your video AI stack.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoredvideo.cc/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)
Function Calling for Tools
Define tools in your request to allow the model to invoke specific functions. This is useful for automated post-processing, such as generating structured scene changes or triggering external APIs based on script content. The API supports tool_choice and standard tool definitions, integrating seamlessly with OpenAI-compatible client libraries.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.uncensoredvideo.cc/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);
Token Limits & Pricing
The model supports a 64,000-token context window, with a maximum output of 16,000 tokens per request (2,048 if unspecified). Pricing is $0.25 per million input tokens and $1.00 per million output tokens. Errors and refusals are free. Rate limits are 300 requests per minute and 8 concurrent requests per key. If you hit a 429 error, wait before retrying; a 401 indicates an invalid key, and a 402 means you need to top up via crypto.
Questions and answers
What payment methods are accepted for topping up credit?
We accept only USDT (TRC20) or USDC (Base) for credit top-ups. You can add any whole amount between $10 and $500. No credit cards, PayPal, or bank transfers are supported.
Does the uncensored model block all adult content?
No, the model is tuned to answer without refusals for lawful adult, fictional, and controversial topics. The only hard limit is on sexual content involving minors, which is always blocked.
How do I get started without paying immediately?
Every new account receives $0.50 of trial credit valid for 7 days. You can sign up with Google or email without needing a credit card to start testing the API.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.