Get API key

Quickstart: Integrate Uncensored Text into NSFW Video Apps

Integrate an uncensored text API into your NSFW video generation pipeline with this quickstart guide. Learn to authenticate, send completions, and stream responses using standard OpenAI-compatible SDKs.

Base URL and Authentication

Our nsfw video api endpoint is compatible with the official OpenAI SDKs. Use the base URL https://api.nsfwvideo.cc/v1 and pass your API key in the Authorization header. You can generate a key instantly via Google or email on the Get API key page. No phone number is required, and the key is displayed immediately upon creation. This key authorizes all requests to the POST /v1/chat/completions endpoint.

Send Your First Request

Send a standard chat completion request using the model ID uncensored. This model is an open-weight LLM tuned to answer without content refusals for lawful adult use. It is not GPT, Claude, or any other vendor's model. Use the following cURL example to verify your integration.

curl https://api.nsfwvideo.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."}]
  }'

The request returns a JSON object with the generated text. Ensure your NSFW video pipeline handles this text output for script generation or prompt engineering steps.

Python SDK Integration

Use the official openai Python library to integrate the uncensored chat api into your video generation scripts. Set the base_url to our endpoint and provide your API key. This approach allows you to plug uncensored reasoning directly into your Python-based video apps without custom HTTP handling.

from openai import OpenAI

client = OpenAI(base_url="https://api.nsfwvideo.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)

The response object contains the completion content, which you can pass directly to your video generation logic or save as metadata.

Node SDK Integration

For JavaScript or TypeScript environments, use the @anthropic-ai/sdk or openai Node package with a custom base URL. Configure the client to point to https://api.nsfwvideo.cc/v1. This ensures compatibility with existing video pipeline codebases that rely on Node.js for automation.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.nsfwvideo.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);

Send requests using the standard chat.completions.create method. The response includes the generated text, ready for use in your NSFW video workflows.

Streaming Responses

Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE), delivering tokens incrementally. This is useful for real-time script generation or live preview updates in your video app. The final chunk includes the total token usage 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)

Handle the stream events to accumulate the full response or display tokens as they arrive. This reduces perceived latency for users generating long video scripts.

Limits, Errors, and Context

The context window is 64,000 tokens (prompt + completion). Max output is 16,000 tokens per request (2,048 if max_tokens is unset). Rate limits are 300 requests per minute and 8 concurrent requests per key. Errors include 401 for invalid keys, 402 if credit is exhausted, and 429 for rate limits. Requests are limited to 8 MB body size. Refusals for minor sexual content are free. Credit never expires, but errors do not consume it.

Questions and answers

Is this the official OpenAI API?

No, this is an independent service using an open-weight model tuned for uncensored responses. It is compatible with OpenAI SDKs but is not GPT, Claude, or any other vendor's model. Check the vendor's own documentation for details on their specific models.

Can I use this for video generation?

This is a text API. It generates text for prompts, scripts, and metadata for your NSFW video pipeline. It does not generate audio, images, or video files directly. Use it for the text layer of your video generation workflow.

How do I top up my credit?

Top up with crypto only: USDT (TRC20) or USDC (Base). Amounts range from $10 to $500. Bonuses apply for larger amounts. No cards, PayPal, or bank transfers are accepted. Credit never expires.

Your key is one form away

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

Get API key