Text-Only LLM
NSFW API Hub: uncensored LLM API for adult content
Add text planning and dialogue to an adult-fiction application. Define adult characters and content boundaries in the request, and review the returned text before displaying or storing it.
- Pay-as-you-go credits
- Review text before display
- OpenAI compatible
Try it in one request
curl https://api.nsfwapihub.com/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."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nsfwapihub.com/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)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.nsfwapihub.com/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);What you get
One text model
Use a scene brief and clearly adult fictional characters. Check the generated text against the supplied content boundaries.
OpenAI Compatible Format
Use standard SDKs by pointing to our base URL. Supports streaming, tool calling, and the chat-completions endpoint.
Define content boundaries
List excluded themes in the request and review the response. Your application must handle refusals and unsuitable replies.
Transparent Pricing
Pay only for tokens used with prepaid credits. No monthly fees, no hidden subscription tiers, and credits never expire.
Developer Friendly SDKs
Works with any OpenAI-compatible client. Supports streaming responses via SSE and standard function calling.
Privacy Focused
Your prompts are not used for training. Create an account with just an email and password to start.
How it works
Create Account
Sign up with an email and password to receive your API key instantly.
Add Credits
Top up with crypto (USDT or USDC) to access the uncensored model.
Integrate
Point your OpenAI SDK to our base URL and start generating text.
What people build with it
Roleplay clients
Send character details and recent dialogue. Compare the next reply with the stored scene state before advancing the conversation.
Adult fiction drafts
Ask for a scene outline with character goals and unresolved questions. Review the outline before drafting dialogue.
Content Filtering Testing
Use the API to generate large volumes of text data for fine-tuning other models. The lack of blocks ensures diverse output for training sets.
NSFW Content Generation
Create text-based adult content for apps or platforms. The API supports high-volume requests with a 100k context window for detailed scenes.
Uncensored Text Model
This nsfw api exposes one text model through Chat Completions. Use a short scene-planning request to assess the output format and content. A single model endpoint does not establish fixed behavior, uninterrupted delivery or privacy.
This is a text-only service. You get text in, text out. There are no embeddings, image generation, or audio features to manage. The model supports a 100,000 token context window, allowing for deep narrative continuity in roleplay scenarios. It is not GPT, Claude, or Gemini; it is a distinct open-weight model optimized for unrestricted generation.
OpenAI Compatible Format
Integration is straightforward because we follow the standard OpenAI chat-completions protocol. You can use any existing OpenAI SDK by simply changing the base URL to https://api.nsfwapihub.com/v1 and providing your API key. The endpoint is POST /v1/chat/completions, and we support streaming via Server-Sent Events (SSE) as well as tool/function calling.
This compatibility means you don't need to rewrite your entire application logic. If your chat app already connects to OpenAI, switching to our uncensored ai api is a matter of updating configuration variables. We do not offer model routing or multiple model choices; you get one optimized uncensored model.
Pay As You Go Pricing
We offer transparent, usage-based pricing with no monthly subscriptions. You pay $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. Credits are prepaid and never expire, so you only pay for what you use. You can top up starting at $20 via crypto (USDT or USDC), with bonuses for larger deposits.
Eligible new accounts can request a $0.50 trial for 7 days; verification and processing may be required. Trial keys allow 60 requests per minute and 2 concurrent requests. Full keys allow 300 per minute and 8 concurrent requests.
Review generated content
Define a bounded writing task rather than relying on an unrestricted-output promise. Supply adult characters, scene context and excluded themes, then review the draft. Keep refusal handling and content checks in your application.
Sexual content involving minors is prohibited. Other replies still depend on model behavior and the service’s rules. The statement that prompts are not used for training does not specify all retention or logging practices. Review the applicable terms before sending sensitive input.
Questions and answers
Is this API suitable for generating adult content?
Test fictional adult-character dialogue within the service’s rules. Handle refusals and inspect the response before display. The service does not guarantee that every request will receive the desired answer.
Do I need a credit card to start?
No, new users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. You only need an email and password. A crypto payment (USDT or USDC) is only required if you want to add more prepaid credits.
Can I use this with standard OpenAI SDKs?
Yes, the API is fully compatible with the OpenAI protocol. You just need to update the base URL to our endpoint and use your API key. Streaming and function calling are supported.
What is the context window size?
The model supports a 100,000 token context window, which includes both the prompt and the completion. This allows for long-running conversations and detailed narrative contexts.
Are my prompts used for training?
No, your prompts are not used for training the model. We value privacy for both developers and their end-users, so your data remains yours.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Example: prepare a bounded adult-fiction brief
For an adult-fiction writing tool, provide a non-explicit scene outline, explicitly adult fictional characters and a list of excluded themes. Ask for JSON containing a scene_summary, character_goals and boundary_checks before drafting dialogue. Verify that the summary introduces no new characters and stays within the supplied limits. Apply your own content review before showing a result. This text-only example produces a planning draft, not an image or an assurance of safe content.
Guides
Practical articles on setup, pricing and integration.
LLM API Cost Calculator for Chat Apps (Formulas)An LLM API cost calculator you can run by hand or in Python: per-message and per-user formulas for chat apps with growing history, at $0.15 and…
AI Girlfriend Chat API: Build a Companion BotBuild an AI girlfriend chat API backend for adult companion apps: persona prompt, memory in a 100k context, streaming replies and exact cost per…
NSFW API Python Tutorial: Chat, Stream, ToolsUse an NSFW API from Python with the official openai package: setup, streaming, JSON mode, tool calls, 429 retries and parallel requests, with…
API NSFW: Everything You Need to KnowAccess an uncensored LLM API for NSFW chat and roleplay. Pay as you go for OpenAI compatible access. Start now.