EN ▾
Get API key

Uncensored VideoUncensored Video API Quickstart Guide

Uncensored Video API Quickstart Guide

Integrate our uncensored video API text layer into your video pipelines using our OpenAI-compatible endpoints. This guide covers authentication, request formats, streaming, structured outputs, and token limits.

Authentication & Base URL

Access the uncensored video API by setting your base URL to https://api.uncensoredvideo.cc/v1. Pass your API key in the Authorization header as a Bearer token. You generate one key per account via the dashboard; creating a new key replaces the previous one immediately. Keep this key secure, as it grants direct access to your prepaid credit.

Basic Chat Completion

Send standard text prompts to the /v1/chat/completions endpoint. The model responds with text without content filters for lawful adult or edgy topics. You can adjust temperature, top_p, and stop sequences to control creativity and output length. This endpoint is the core of our text layer for video script generation.

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

Enable streaming by setting stream: true. The API returns Server-Sent Events (SSE). Token usage metrics (input and output counts) are included only in the final chunk of the stream. This allows real-time rendering of scripts while keeping usage tracking accurate.

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

For video metadata or captioning pipelines, enforce structured output using response_format: { "type": "json_object" }. The model will return strictly valid JSON, making it easier to parse scripts and scene descriptions programmatically. This reduces post-processing overhead for AI video stacks.

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 let the model decide when to call them. Use tool_choice to force or allow function calls. This is useful for automated video tagging or scene extraction where the LLM needs to interact with external services. The model returns structured tool calls that your code can execute.

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 context window is 100,000 tokens (combined prompt and completion). There is no separate output cap, and if max_tokens is unset, the response can run to the end of the window. Rate limit is 300 requests per minute per key, with a maximum of 8 concurrent requests. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free. If you receive a 401, check your key; a 402 means insufficient credit; a 429 indicates you have hit the rate limit.

Specs at a glance

Before you integrate, here is exactly what you get with a key.

ItemValue
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
EndpointsPOST /v1/chat/completions · GET /v1/models
Model IDuncensored
AuthenticationAuthorization: Bearer YOUR_KEY
Base URLhttps://api.uncensoredvideo.cc/v1
JSON modeJSON object mode via response_format json_object
SSE streamingSupported (stream: true), usage included at the end
Max context100,000 tokens (prompt + completion together)
Max outputprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Sampling parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
Requests per minute300/min per key
Parallel requestsup to 8 in parallel per key
Request size8 MB request body
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Bonus credit+5% from $50, +10% from $100, +15% from $200
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Credit expiryno monthly fee; paid credit does not expire
Price$0.15 per 1M input tokens · $0.50 per 1M output tokens
Free trial$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
AccountGoogle or e-mail and password
Key managementone key per account, regenerate any time (the old one stops working)
Contentuncensored for adults; the only hard rule: no sexual content involving minors

Error codes

Every error is JSON with a type you can switch on. You are never charged for an error.

CodeTypeMeaning
400bad_requestinvalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend
401missing_key · invalid_key · key_revokedno key, wrong key, or a key replaced by a newer one
402no_creditout of credit; add credit and retry
403content_blockedrefused by the content policy
404not_foundunknown endpoint
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busytemporary overload, retry shortly

Questions and answers

Does this API generate video or audio?

No. This is a text-only chat-completions API. It handles the text layer (scripts, prompts, metadata) for your video pipeline. You must use a separate service for actual video or audio generation.

How do I top up my credit?

Top up via crypto only (USDT on TRC20 or USDC on Base). Payments range from $20 to $500. We do not accept credit cards, PayPal, or bank transfers.

Is my data used for training?

No. Prompts sent to the API are not used for training the model. Your account only requires an email, and we do not collect phone numbers.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Start with trial credit

Email and password, key on screen right away.