EN ▾

Uncensored text AI for developers

Get API key

Fluxnsfw Prompt Writing with an Uncensored LLM

A language model cannot draw, but it can draft, expand and tidy the prompts you feed to an image model. This page shows a repeatable workflow over an OpenAI-compatible API, with real settings and honest limits.

Updated

Chat bubbles turning into an empty picture frame, representing drafting image prompts with a text model

Key points

  • Use the text model to draft and vary prompts, then paste the results into your image tool.
  • A fixed system prompt plus a short brief per request keeps output consistent and cheap.
  • Ask for JSON when you want a batch of variants you can parse and queue.
  • The model is text only: it cannot see images, and the 100,000-token window holds your style notes.

Where a text model fits in an image workflow

Fluxnsfw prompt writing is mostly a language problem. Image models respond to the words you give them, and people who generate art for adult fiction, comics or character sheets often spend more time on wording than on rendering. A text model is a good partner for that work, because it turns a rough idea into several finished prompts in a few seconds.

The split is simple. The text model drafts. Your image tool renders. You judge the picture and feed what you learned back into the next brief. Nothing in the text API touches images: it cannot look at a result, it cannot render one, and it does not edit them. Keep that boundary in mind and the rest of the workflow gets easier to design.

The model here is an open-weight model run by an independent provider and tuned to answer without content refusals for lawful adult use. For fiction, roleplay and companion-style projects for adults, that means a draft request is not interrupted by a refusal. One rule does not move: nothing involving minors, in any framing.

Step 1: write a stable system prompt

The system prompt is the part you write once and reuse. Its job is to fix the output format and the house style, so each request can be a one-line brief. A useful system prompt covers four things: the role, the output shape, the style rules, and what to leave out.

You write prompts for a text-to-image model used in adult fiction art.
Output: one prompt, 60 to 90 words, as plain prose with no list and no preamble.
Order: subject, setting, lighting, camera or framing, mood, art style.
Use concrete visual nouns. Avoid vague praise words.
Never include characters who are minors. Do not name real people.

Many people who work with Flux-style models report that full descriptive sentences behave better than long comma-separated tag lists, but this varies by model and checkpoint, so test it against your own setup rather than taking it as a rule. The beauty of a system prompt is that changing this one line changes every future draft.

Keep it short. The system prompt is sent on every call, and each extra token is billed as input at $0.15 per 1M tokens. A 400-token system prompt over 5,000 calls is 2M input tokens, which costs $0.30.

Step 2: pick client settings

Any tool that accepts an OpenAI-compatible endpoint can talk to the API. In a chat client such as SillyTavern or a similar front end, you add a custom endpoint, paste the base URL, paste your key, and type the model ID. The values are:

  • Base URL: https://api.fluxnsfw.cc/v1
  • Model ID: uncensored
  • Key: from the API key page, sent as a bearer token

For sampling, a temperature of 0.8 to 1.0 gives varied drafts, and 0.4 to 0.6 suits rewrites where you want tidier wording but the same content. top_p around 0.9 is a sensible default. Raise the frequency penalty slightly, say 0.3, if drafts keep reusing the same phrases. Set stop if you want to cut replies at a marker. Use seed when comparing two system prompts, so the difference you see comes from the prompt and not from sampling luck.

Streaming is on by default in most clients and works fine here. If you run a batch script instead of a chat client, the quickstart has the Python and curl versions of the same call.

Step 3: generate a batch as JSON

One request can return many variants, which saves repeated system prompt tokens and gives you a list you can parse. JSON mode keeps the output valid.

import os, json
from openai import OpenAI

client = OpenAI(base_url="https://api.fluxnsfw.cc/v1", api_key=os.environ["FLUXNSFW_API_KEY"])

SYSTEM = (
    "You write prompts for a text-to-image model used in adult fiction art. "
    "Return JSON: {\"variants\": [{\"label\": str, \"prompt\": str}]}. "
    "Each prompt is 60 to 90 words of plain prose, ordered subject, setting, lighting, framing, mood, style."
)

def draft(brief, n=5):
    resp = client.chat.completions.create(
        model="uncensored",
        response_format={"type": "json_object"},
        temperature=0.9,
        messages=[
            {"role": "system", "content": SYSTEM},
            {"role": "user", "content": f"Brief: {brief}\nGive {n} distinct variants."},
        ],
    )
    return json.loads(resp.choices[0].message.content)["variants"]

for v in draft("an abandoned observatory at dawn, dust in the light, melancholy"):
    print(v["label"], "|", v["prompt"][:80])

A request with 600 input tokens and 1,200 output tokens costs $0.00009 for input plus $0.0006 for output, which is $0.00069. A hundred such batches, or 500 prompts, come to $0.069. Drafting is cheap enough that you can afford to throw most of it away.

Step 4: close the loop with your results

The text model cannot see your renders, so you are the feedback channel. After a round of images, write down what worked and what did not in plain words, and send that back as a short message: "the second and fourth were right; the lighting was too flat; keep the framing, push the contrast." The model will revise from there.

This is where the 100,000-token context window helps. It is large enough to hold a long style guide, a character sheet, a list of earlier prompts and your notes in a single request. The input for such a call is billed at the normal rate: 20,000 tokens of reference material costs $0.003 each time you send it, so you can afford to include it, but not to resend it in a loop thousands of times without checking the bill.

Things the model will not do

  • Judge an image. There is no vision input, so describe the result in words.
  • Remember earlier sessions. Each request stands alone unless you include the history.
  • Guarantee that a prompt works in a particular image model. Treat each draft as a candidate and keep the ones that render well.

Mistakes to avoid

Overstuffed briefs. A brief with twelve instructions gets a muddled answer. Split it into two calls: one for the scene, one for the style pass.

No output contract. Without a format rule, replies arrive with a polite introduction that you then have to strip. A one-line rule such as "prompt only, no preamble" fixes it.

Copying drafts blindly. A fluent prompt is not always a good one. Render a few, compare, and keep notes on which phrasing produced which look.

Ignoring the balance. Each response includes an X-Balance-USD header. Print it in your script so a long batch does not end with an empty account halfway through.

You can try everything above with the $0.50 trial credit that new users claim on the key page. It needs no payment details and lasts 7 days. After that, top-ups start at $20, paid in USDT on TRC20 or USDC on Base, and the pricing page lists the bonuses for larger amounts.

Questions and answers

Can the model write prompts and generate the images too?

It writes the prompts only. The API is text only, so you render the images in a separate image tool.

What model ID and endpoint do I enter in a chat client?

Use the base URL https://api.fluxnsfw.cc/v1, the model ID uncensored, and your key as the bearer token.

How many prompts can I draft for $1?

At about $0.00069 for a batch of five prompts (600 tokens in, 1,200 out), $1 buys roughly 1,449 batches, or over 7,000 prompts.

Is there a content rule?

Yes. The model answers without content refusals for lawful adult use, but sexual content involving minors is never allowed.

Do my prompts get used for training?

No. Prompts are not used for training.

Your key is one form away

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

Start with trial credit

Email and password, key on screen right away.