EN ▾
Get your key

How to Write Prompts for an Uncensored LLM

Learn how to write prompts for uncensored llm work: a clear system role, explicit limits, sensible sampling and a stop sequence where you need one.

Last updated

Layered glowing blueprint with dials and speech bubbles representing structured prompts

Summary

  • Put role, audience, format and limits in a short, stable system prompt
  • Without refusals as a brake, your prompt must set the boundaries
  • Low temperature and JSON mode for analysis; higher for fiction
  • Use stop sequences to end dialogue turns cleanly

Five rules that cover most cases

Here is how to write prompts for uncensored llm use in practice: state the job, the voice, the limits and the output shape in plain words, and let sampling settings do the rest. Tricks, role-play disclaimers and long pleas are not needed. A model tuned to answer without content refusals for lawful adult use follows instructions closely, so the quality of the instructions is the quality of the result.

  1. Give the model a role and a task in the system message. One or two sentences.
  2. Say who the output is for. A novelist, an analyst, a forum reader.
  3. Name the format. Paragraphs, a list of five items, a JSON object.
  4. Set limits yourself. Length, tone, topics to avoid.
  5. Change one setting at a time when output is wrong.

Why limits are now your job

With a heavily aligned model, a refusal acts as a brake: the model stops when it is unsure. Without that brake, ambiguity turns into output. If you ask for "a scene with a fight" and say nothing else, you get whatever the model finds likely, which may be more graphic or darker than you wanted.

So the system prompt carries the guardrails that the model no longer supplies. Write what is in scope, what tone to hold, and what to leave out. For a public product, add your own checks on top. One limit is fixed by the service: sexual content involving minors is never produced. Beyond that, your terms and your audience decide the rules. For background on the models themselves, see the guide to uncensored AI models.

Anatomy of a good system prompt

A system prompt that works across tasks has five short parts. Each one answers a question the model would otherwise guess.

  • Role: You are a developmental editor for adult crime fiction.
  • Task: Read the scene the user sends and suggest three concrete revisions.
  • Audience: The writer, who knows the genre and wants blunt notes.
  • Style: Plain sentences, no praise padding, under 200 words.
  • Limits: Stay on craft. Do not rewrite the scene unless asked.

Join those five lines into one paragraph or send them as separate lines; the model reads both the same way.

Keep it stable between calls. Put changing material, such as the scene text, in the user message. A stable system prompt makes results comparable when you tweak a setting.

A short example you can copy

One compact system prompt for a fiction assistant: "You are a co-writer for adult fantasy. Match the user's tense and point of view. Offer one scene at a time, 150 to 250 words, and end on a question about where the story should go next." It has a role, a format, a length and a hand-back to the writer. Test it with three different story openings before you change anything. If all three come back in the right shape, the prompt is stable and you can start tuning temperature.

For repeated tasks, a worked example inside the prompt helps more than extra adjectives. Add one sample input with the output you want, then the real input. The model copies the structure of the sample, and you spend a few hundred input tokens at $0.15 per 1M to get far more consistent formatting.

Example one: fiction

Fiction needs voice and continuity. Give the narrator a defined style, then supply the story state as plain notes. The example below also shows a typical setup in Python:

from openai import OpenAI

client = OpenAI(base_url="https://api.dolphinuncensoredllm.com/v1", api_key="YOUR_KEY")

system = (
    "You are the narrator of a gritty detective serial for adult readers. "
    "Write in close third person, past tense, short paragraphs. "
    "Never break the fourth wall. End each reply on an open beat."
)
notes = "Story so far: Detective Mara Voss has a missing witness and a stolen ledger."

r = client.chat.completions.create(
    model="uncensored",
    temperature=0.9,
    top_p=0.95,
    messages=[
        {"role": "system", "content": system},
        {"role": "user", "content": notes + " Write the next scene: Voss visits the witness's apartment."},
    ],
)
print(r.choices[0].message.content)

Notice what is missing: no request to ignore rules, no apology. The prompt states the genre, the narrative person and the length habit. That is enough. If the tone drifts, tighten the style line instead of adding more content instructions.

Example two: analysis

Analysis wants determinism and structure. Lower the temperature and ask for JSON so your code can parse the answer. JSON mode is switched on with response_format, and the prompt should still describe the keys you expect.

curl https://api.dolphinuncensoredllm.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "temperature": 0.2,
    "seed": 7,
    "response_format": {"type": "json_object"},
    "messages": [
      {"role": "system", "content": "You are a content analyst. Return JSON with keys: tone, themes (list), risk_notes (list)."},
      {"role": "user", "content": "Analyze this forum post: The tavern was empty except for a man who refused to look up."}
    ]
  }'

Setting a seed and a low temperature makes repeated runs more alike, which helps when you compare two prompt versions.

Temperature, top_p, stop and penalties

These parameters are passed through to the model. Treat the numbers below as starting points, not rules.

TasktemperatureNotes
Extraction, classification0 to 0.3Add JSON mode and a seed
Analysis, summaries0.3 to 0.6Keep top_p at default
Dialogue, roleplay0.7 to 0.9Add a small presence penalty if replies repeat
Brainstorming, fiction0.9 to 1.1Lower top_p slightly if output turns incoherent

Change either temperature or top_p, not both at once. A stop sequence tells the model where to end. In a script-style dialogue where the model plays one character, "stop": ["\nUser:"] stops it before it writes the other side of the conversation. Penalties (frequency and presence) reduce loops; raise them in small steps.

Keeping a long conversation on track

Chat models have no memory between calls. Your code sends the whole history each time, as a list of messages with the roles system, user and assistant. That has three practical consequences for prompting.

  • The system message stays first. Repeat nothing from it in later turns unless the model drifts.
  • Early instructions fade in long chats. After many turns, add a one-line reminder to the latest user message, such as "Keep the same narrator voice."
  • Long history is billed as input every turn. At $0.15 per 1M input tokens it is cheap, but a 50,000-token history costs 50,000 / 1M x $0.15 = $0.0075 per turn, so summarize old turns once a chat gets long.

A good summarizing prompt is itself a prompt-writing exercise: "Summarize the story so far in 150 words. Keep names, open threads and the narrator's voice." Store the summary as a notes block and drop the oldest messages it replaces.

When the output is wrong

  • Too tame or too vague. Add specifics to the user message: setting, named characters, the exact beat you want.
  • Too dark or too long. Tighten the limits line and the length line. Do not rely on the model to guess.
  • Repetition. Raise the presence penalty a little or lower the context you send.
  • It forgets facts. Restate them in a short notes block at the start of the user message. The context window holds 100,000 tokens, but important facts should still be near the top.
  • Format breaks. Switch on JSON mode and show an example object.

Write the fix as a change to the prompt, save both versions, and compare. Method beats mood. When you are ready to run these examples, grab a key on the API key page and read the documentation for the full parameter list.

Frequently asked questions

Do I need a special jailbreak prompt?

No. The model is tuned to answer without content refusals for lawful adult use, so plain, specific instructions work best.

What temperature should I start with?

Use 0.2 for extraction, 0.5 for analysis and about 0.9 for fiction, then adjust one setting at a time.

How do I stop the model from writing both sides of a dialogue?

Add a stop sequence such as the next speaker label, for example a newline followed by User and a colon.

Are there content limits I cannot change?

Yes. Sexual content involving minors is never produced.

Get your API key

Sign up, copy the key, update the base URL. That is all.

Start with trial credits

Email and password. Key appears on screen instantly.