EN ▾

Quickstart: Integrate Uncensored Text into Your Video API

Integrate an uncensored LLM into your video pipeline to generate scripts and captions without content filters blocking your niche topics.

Base URL and Authentication

Start by pointing your client to our base URL: https://api.unrestrictedvideogenerator.top/v1. This endpoint is fully compatible with the official OpenAI SDKs. You need an API key to authenticate your requests. Sign up on the Get API key page using Google or email/password to receive your key immediately. Keep this key secure, as it identifies your account and tracks token usage.

Generating a Prompt with /v1/chat/completions

Use the POST /v1/chat/completions endpoint to generate text. Send your system instructions and user messages in the request body. Our model, identified as "uncensored", responds with text optimized for video scripts or metadata. Ensure you include your API key in the Authorization header.

Example structure:

  • Model: uncensored
  • Message: Define the video topic and desired tone.
  • Response: Raw text output ready for your pipeline.
curl https://api.unrestrictedvideogenerator.top/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."}]
  }'

Python SDK Integration

The Python SDK makes integration straightforward. Initialize the client with your API key and the base URL. Call chat.completions.create() with your desired parameters. This approach handles authentication and JSON serialization automatically. Use this for batch processing or backend script generation.

Key steps:

  1. Import the OpenAI library.
  2. Set the base_url to our endpoint.
  3. Define your messages list.
from openai import OpenAI

client = OpenAI(base_url="https://api.unrestrictedvideogenerator.top/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 SDK Integration

For Node.js environments, the OpenAI SDK works similarly. Configure the client with your API key and the correct base URL. This is ideal for real-time web applications or serverless functions. The SDK manages the HTTP requests and parses the JSON responses efficiently.

Configuration:

  • Set apiKey to your key.
  • Set baseURL to our API endpoint.
  • Call the completions endpoint with your script parameters.
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unrestrictedvideogenerator.top/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 Responses for Real-Time Scripts

Enable streaming by setting stream: true in your request. The API returns data via Server-Sent Events (SSE). This allows you to display text token by token, which is useful for user interfaces. The final chunk includes token usage statistics for billing. Streaming reduces perceived latency for long script generation.

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)

Handling Tokens and Context Windows

The model supports a 100,000 token context window. Your combined prompt and completion must fit within this limit. If you do not specify max_tokens, the response can run to the end of the window. Monitor token usage in the response headers or final SSE chunk.

Rate limits:

  • 300 requests per minute per key.
  • 8 concurrent requests at the same time per key.
  • Request body size limit: 8 MB.

Error handling:

  • 401: Invalid or missing API key.
  • 402: Insufficient credit. Top up via crypto.
  • 429: Rate limit exceeded. Wait and retry.

Technical specifications

A quick checklist for developers: format, limits, features, billing.

ItemValue
ProtocolOpenAI Chat Completions schema; official openai SDKs work unchanged
AuthenticationAuthorization: Bearer YOUR_KEY
Model IDuncensored
Base URLhttps://api.unrestrictedvideogenerator.top/v1
MethodsPOST /v1/chat/completions · GET /v1/models
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Structured outputJSON object mode via response_format json_object
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
SSE streamingYes — server-sent events; the last chunk carries token usage
Context window100,000 tokens (prompt + completion together)
Request sizeup to 8 MB per request
Concurrencyup to 8 in parallel per key
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Rate limit300 requests per minute per key
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
Subscriptionno monthly fee; paid credit does not expire
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Volume bonus+5% from $50, +10% from $100, +15% from $200
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Accountsign in with Google or with e-mail + password
Contentadult content allowed; sexual content involving minors is refused
Keysone key per account, regenerate any time (the old one stops working)

Error reference

The type field is stable, the message is for humans. Errors cost nothing.

HTTPTypeWhat to do
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_foundonly /v1/chat/completions and /v1/models exist
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds

Questions and answers

What content is blocked?

The model allows lawful adult, fictional, and controversial topics without refusal. However, sexual content involving minors is always blocked. This is the only hard content limit that applies.

How do I pay for credits?

Top up your account using crypto only: USDT (TRC20) or USDC (Base). Minimum top-up is $20, and maximum is $500. Credits do not expire. New accounts receive $0.50 in trial credit valid for 7 days. Claim this credit with one click on your API key page.

Does this generate video?

No. This is a text-only API. It generates prompts, scripts, captions, and metadata. You use this text output to drive your video generation pipeline, but the API itself does not create audio, images, or video files.

Your key is one form away

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