EN ▾
Get API key

Direct Text API

Uncensored LLM API for NSFW Chatbots

Use the text API to develop scene outlines and conversational drafts. Keep the source brief available to your editor, and check each generated beat against it before expanding a story.

  • OpenAI-compatible endpoint
  • Prepaid credits never expire
  • Review content in your application

Try it in one request

curl https://api.nsfwaiapi.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."}]
  }'
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

What you get

Standard Integration

Connect instantly using existing OpenAI SDKs. Change only the base URL and API key to access our uncensored model for text generation.

One Uncensored Model

The endpoint exposes one public text model ID. Test a small set of scene-planning prompts and inspect their replies before integrating it.

Generous Context Window

Support long conversations with a 100,000-token context window, allowing for deep roleplay continuity and complex narrative structures.

Streaming & Tools

The API supports Server-Sent Events (SSE) for streaming responses and includes function calling capabilities for building interactive agents.

Transparent Pricing

Pay only for what you use. Credits are purchased upfront, never expire, and come with bonus tiers for larger top-ups.

Simple Privacy

Sign up with just an email. Your prompts are not used for training, and you maintain full control over your API key.

How it works

  1. Create an account

    Obtain the current key, complete any required verification and check the available balance before testing a request.

  2. Configure SDK

    Update your client configuration to point to our base URL and insert your new API key.

  3. Send Request

    Make a POST request to /v1/chat/completions with the model ID 'uncensored' and start generating content.

What people build with it

Roleplay Bots

Provide a character sheet and the recent dialogue. Check the generated reply against names, events and the intended voice before adding it to the conversation.

AI Girlfriend/Boyfriend

For a fictional adult-character chat application, define the scene and content boundaries. Review each reply and handle refusal or incomplete output in your client.

Content Generation

Generate uncensored fiction, scripts, or creative writing where standard models might censor specific themes or language.

Research & Testing

Test LLM behavior on controversial or mature topics without the noise of standard alignment layers interfering with your data.

Why Choose Our Uncensored API

Use the text model to draft scene outlines or revise supplied dialogue. Provide clearly adult fictional characters and explicit boundaries, then review the output. The endpoint supplies one model ID; it does not guarantee that every prompt will receive the desired answer.

Charges follow successful input and output token usage. Paid credit does not expire; trial credit has a separate validity period. Streaming lets the client receive text as events arrive, but it does not guarantee a particular response time.

OpenAI Compatible SDK Integration

Integration is straightforward because we use the standard OpenAI Chat Completions format. If you have existing code that uses the OpenAI Python, Node.js, or other SDKs, you likely need to change only two things: the base URL and your API key.

Our base URL is https://api.nsfwaiapi.com/v1. When you send a request, specify the model ID as 'uncensored'. This simplicity means you can integrate our API into your existing pipelines without rewriting your entire application logic. We support both standard responses and streaming responses, giving you flexibility in how you handle data in your frontend or backend.

Pay-As-You-Go Pricing

We believe in transparent, predictable costs without hidden fees. Our pricing is simple: $0.15 per 1 million input tokens and $0.50 per 1 million output tokens. There are no monthly subscription fees, no minimum commitments, and no expiration dates on your prepaid credits. If you buy $50 worth of credits, you get a 5% bonus; buy $100, and you get 10% bonus.

Eligible new accounts can request a $0.50 trial for 7 days; verification and processing may be required. Check the displayed balance before sending requests. Paid top-ups range from $20 to $500, with methods listed in checkout. Estimate usage from measured token counts.

Who This Is NOT For

The service generates text; it does not create images, audio or video, provide embeddings or fine-tuning, or select between vendor models. Check your requirements for deployment, data handling and any contractual SLA before choosing an integration.

Questions and answers

Is the model GPT-4 or Claude?

No. We run our own open-weight model tuned for uncensored responses. It is not a resold version of GPT, Claude, or any other major vendor's model. You get direct access to our specific model via the standard API format.

Do my credits expire?

Paid credit does not expire. Eligible accounts can request $0.50 of trial credit for 7 days, subject to verification and processing. Check the trial’s displayed status and balance in your account.

Can I use this for commercial projects?

Yes. You can use the output from our API for commercial purposes, such as in subscription apps, games, or content platforms. There are no restrictions on how you use the text generated by the uncensored model.

How many tokens can I send?

The 100,000-token context limit includes input and output together. Reserve room for the response and validate the result against the source; context size does not guarantee that all details will be retained.

Is my data used for training?

No. We do not use your prompts or completions to train our model. Your data is used solely to generate the response for your request.

Your key is one form away

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

Get API key

NsfwAiApiUncensored LLM API for NSFW text generation

Example: turn a scene outline into a writing checklist

Provide a non-explicit outline for a story featuring fictional adults: two characters meet after a long absence, disagree, then choose whether to continue the conversation. Request a JSON array of five scene beats, each with goal, speaker and unresolved_question fields. Check the count and speaker names against the outline. A writer can accept or revise each beat. This example generates text for an editorial checklist; it does not render a scene or measure story quality.

Guides

Practical articles on setup, pricing and integration.

All guides →