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:
- Import the OpenAI library.
- Set the
base_urlto our endpoint. - Define your
messageslist.
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
apiKeyto your key. - Set
baseURLto 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.
| Item | Value |
|---|---|
| Protocol | OpenAI Chat Completions schema; official openai SDKs work unchanged |
| Authentication | Authorization: Bearer YOUR_KEY |
| Model ID | uncensored |
| Base URL | https://api.unrestrictedvideogenerator.top/v1 |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Structured output | JSON object mode via response_format json_object |
| Function calling | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Context window | 100,000 tokens (prompt + completion together) |
| Request size | up to 8 MB per request |
| Concurrency | up to 8 in parallel per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Rate limit | 300 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 |
| Subscription | no monthly fee; paid credit does not expire |
| Token prices | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Top-up | crypto: 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 pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Account | sign in with Google or with e-mail + password |
| Content | adult content allowed; sexual content involving minors is refused |
| Keys | one 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.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | refused by the content policy |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | model 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.