EN ▾
Get API key

Quickstart: Integrate Uncensored Text into Your TTS Stack

Integrate our uncensored LLM API into your NSFW TTS pipeline with this quickstart guide. Get your script, metadata, and prompts generated without refusals using standard OpenAI-compatible endpoints.

Base URL and Authentication

Our API lives at https://api.nsfwtts.top/v1. It is fully compatible with official OpenAI SDKs and any OpenAI-compatible client. To use it, you need an API key from our dashboard. Sign up via Google or email, and your key appears immediately. No phone number is required. Keep this key secure; it authenticates all requests. When configuring your client, set the base URL to our endpoint and include your key in the Authorization header as a Bearer token.

Every request must include this key. If the key is missing or invalid, you will receive a 401 error. If you have no prepaid credit, you get a 402. We charge only for real token usage; errors and refusals are free. This setup ensures your NSFW prompts flow directly into the model without intermediate filters.

Sending Uncensored Prompts

Start by sending a standard chat completion request. Use the model ID uncensored. This open-weight model is tuned to answer without content refusals for lawful adult use. You can pass your script instructions, character details, or raw text for post-processing. The model accepts parameters like temperature, top_p, and stop to control creativity.

  • Set model to uncensored.
  • Provide your messages array with system and user prompts.
  • Define max_tokens if needed; if unset, the response can run to the end of the window.

This direct approach ensures your NSFW content passes through the text engine cleanly. Use this endpoint to generate raw script text or refine prompts before they hit your voice synthesis layer.

Python SDK Integration

Use the official OpenAI Python library for easy integration. Point it to our base URL and provide your API key. This allows you to handle responses in Python, process the text, and pass it to your TTS engine. You can adjust parameters like temperature for more creative outputs or seed for reproducibility.

Install the library and configure the client with our specific base URL. This ensures you are talking to our uncensored model, not the standard GPT endpoint. The response will contain the generated text in choices[0].message.content. You can then strip formatting or extract specific segments for your voice pipeline.

Node.js SDK Integration

For JavaScript or TypeScript projects, use the OpenAI Node.js SDK. Configure the base URL to our API endpoint. This is ideal for web-based TTS stacks or server-side script generation. The SDK handles the HTTP requests and parses the JSON response automatically.

Set the apiKey and baseURL in your client initialization. Then call chat.completions.create() with the model uncensored. You can access the generated text from the response object. This method is efficient for integrating uncensored text generation into existing Node.js applications without writing custom fetch logic.

Streaming Responses for Real-Time Scripts

For low-latency TTS pipelines, use Server-Sent Events (SSE) to stream responses. This allows you to process tokens as they are generated, reducing perceived latency. The API streams tokens in chunks, and the final chunk includes the total token usage for billing.

Set stream: true in your request. Iterate over the stream events to collect the text. This is useful for building interactive voice bots or generating long scripts in real-time. The streaming response maintains the uncensored behavior, ensuring your NSFW content is delivered continuously without interruptions.

Limits, Errors, and Context Window

Our API has specific limits to ensure stability. You can make 300 requests per minute per key, with up to 8 concurrent requests. The request body must be under 8 MB. The context window is 100,000 tokens total, with no separate output cap (if max_tokens is unset, the response can run to the end of the window). Errors return standard HTTP codes: 401 for invalid keys, 402 for insufficient credit, and 429 for rate limits. Refusals for minor-related content are hard-coded and do not consume credit. Use these limits to design your TTS stack's retry logic and batching strategies.

cURL

curl https://api.nsfwtts.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

from openai import OpenAI

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

import OpenAI from "openai";

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

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)

Specs at a glance

Use this table to decide whether the API fits your project before you buy credit.

FeatureSupport
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
API keyAuthorization: Bearer YOUR_KEY
Model IDuncensored
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.nsfwtts.top/v1
Function callingSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
SSE streamingYes — server-sent events; the last chunk carries token usage
Context window100,000 tokens, input and output combined
Structured outputresponse_format: {"type": "json_object"}
Other parameterstemperature, top_p, stop, seed, presence_penalty, frequency_penalty
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
HeadersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Rate limit300/min per key
Parallel requestsup to 8 in parallel per key
Request size8 MB request body
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
Priceinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Credit expiryno monthly fee; paid credit does not expire
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+
Trial credit$0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Key managementone active key per account; a new key replaces the old one
Sign-insign in with Google or with e-mail + password
Content policyuncensored for adults; the only hard rule: no sexual content involving minors

Errors and what to do

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_revokedcheck the Authorization header or use your current key
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

Is the uncensored model GPT or Claude?

No. It is an open-weight model run on our own servers, tuned specifically for uncensored responses. It is not GPT, Claude, Gemini, Grok, or any other vendor's model. It is a distinct model designed for lawful adult content without refusals.

How do I pay for the API?

We accept crypto only: USDT (TRC20) or USDC (Base). You can top up any whole amount from $20 to $500. Credits never expire. We do not accept credit cards, PayPal, or bank transfers. New accounts get $0.50 in trial credit.

Does the model refuse NSFW content?

No, it does not refuse lawful adult, fictional, or controversial topics. The only hard limit is sexual content involving minors, which is always blocked. This ensures your NSFW scripts and metadata pass through without filters.

Your key is one form away

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

Get API key