Prompt Engineering

  • The Ultimate Guide to Janitor AI and AI Chat Roleplay (2026 Edition)

    TL;DR Key Takeaway & Summary

    Janitor AI is a premier open-architecture conversational AI platform tailored for immersive character roleplay, creative writing, and virtual companionship. Offering both the native free JanitorLLM and flexible third-party API proxy integration (OpenRouter, DeepSeek, Claude, OpenAI), Janitor AI provides uncensored creative freedom, sophisticated prompt control, and an active creator ecosystem. In this guide, you will master everything from setup and generation parameters to advanced character persona crafting and troubleshooting common 403 access issues.

    Key Takeaways

    • Architectural Flexibility: Janitor AI separates the conversational front-end from the back-end neural engine, allowing users to switch effortlessly between native JanitorLLM and external LLM APIs.
    • Uncapped Creative Freedom: Unlike heavily filtered competitors, Janitor AI supports both SFW and mature NSFW roleplay with customizable safety toggles.
    • Fine-Grained Parameter Tuning: Mastering Temperature (0.7–1.1) and Context Window limits eliminates repetitive looping and maintains long-term character coherence.
    • Rich Community Ecosystem: Access over 150,000 community-crafted character cards, custom lorebooks, and modular persona templates.
    • Troubleshooting Readiness: Common roadblocks such as Cloudflare 403 blocks, missing public chats, and proxy token limits can be resolved in minutes with proper network and header configuration.

    Table of Contents

    1. What Is Janitor AI?
    2. How Janitor AI Works: Architecture & Model Selection
    3. Quick-Start Guide: Setting Up Your First Chat
    4. Mastering Generation Settings: Temperature, Tokens & Context Window
    5. Essential Formatting & Chat Commands
    6. Character Creation: From Concept to Living Persona
    7. Advanced Roleplay Techniques: Lorebooks & Memory Retention
    8. Competitive Landscape: Janitor AI vs The Field
    9. Troubleshooting & Common Glitches
    10. Frequently Asked Questions (FAQ)
    11. Conclusion & Next Steps

    1. What Is Janitor AI?

    Janitor AI is an advanced conversational platform and community hub dedicated to multi-turn character roleplay, collaborative interactive fiction, and AI personality simulation. Launched as an open alternative to restrictive corporate chat services, it quickly emerged as a community favorite for fiction writers, tabletop RPG enthusiasts, and virtual roleplayers worldwide.

    Unlike standard productivity assistants like ChatGPT or Claude, which prioritize factual summarization and task execution, Janitor AI is optimized for narrative depth, emotional resonance, voice fidelity, and dramatic persona persistence.

    🎨 Creator Hub & Character Studio ⚑ Inference Engine & Model Routing
    • Character Cards (v2): Standardized, portable character definitions.
    • Public & Private Personas: Customizable user identities across all chats.
    • Lorebooks & World Info: Dynamic keyword-triggered worldbuilding memory.
    • Community Tags: Rich taxonomy covering Fantasy, Romance, Sci-Fi & RPG.
    • Native JanitorLLM: Completely free, uncensored in-house beta model.
    • DeepSeek V3 / R1: High-reasoning, low-cost API integration.
    • OpenRouter Multi-Provider: Claude 3.5 Sonnet, Llama 3.3 70B & more.
    • Custom Reverse Proxies: Flexible endpoints for community access.

    Whether you want to engage in high-fantasy dungeon crawls, intense sci-fi mysteries, or cozy domestic slice-of-life dialogues, Janitor AI provides the canvas, the formatting syntax, and the model routing necessary to bring complex characters to life.

    2. How Janitor AI Works: Architecture and Model Selection

    To get the most out of Janitor AI, you must understand its dual-layer architecture: the UI/Character Management Client and the Inference Backend.

    πŸ”„ Dual-Layer Inference Architecture

    1. User Input: Sent securely via Janitor AI Web or Mobile PWA.
    2. Frontend Router: Passes prompt context and persona metadata.
    3. Branch A (Native): Routes to JanitorLLM Beta for 100% free cloud inference.
    4. Branch B (External API): Routes through OpenRouter, DeepSeek, or Proxies for expanded context and advanced literary prose.

    2.1 Native JanitorLLM (Free Tier)

    JanitorLLM is the platform’s proprietary in-house fine-tuned language model. It was trained explicitly on creative roleplay datasets, dialogue scripts, and character instruction vectors. – Pros: Completely free to use with unlimited messages; natively uncensored; no API keys or credit cards required. – Cons: Experiencing occasional server queue congestion during peak hours; context memory is generally bounded to 4,096–8,192 tokens.

    2.2 Third-Party APIs and Reverse Proxies

    For users demanding maximum literary sophistication, Janitor AI features an API connector supporting OpenAI, Claude via OpenRouter, DeepSeek V3/R1, and community reverse proxies. If you need step-by-step instructions on obtaining API credentials, setting up endpoint base URLs, and securely storing bearer tokens, review our full walkthrough on janitor ai api setup.

    3. Quick-Start Guide: Setting Up Your First Chat

    Embarking on your first roleplay journey on Janitor AI takes less than three minutes:

    1. Account Registration: Navigate to the platform, verify your age (18+ required for mature content access), and set up your public profile handle.
    2. Configure Your User Persona: Before opening a character, click your profile icon and select User Persona. Define your name, appearance, gender identity, and background. This ensures bots automatically address you accurately without needing repetitive explanations.
    3. Select a Bot: Browse the Trending, Popular, or Top Rated tags. Check the bot description, initial greeting message, and user ratings.
    4. Choose Your Backend: Open the chat, click the three horizontal dots (...) in the top navigation bar, select API Settings, and pick between JanitorLLM or your external API key.
    5. Send Your Opening Action: For optimal engagement, respond with a mix of dialogue and narrative action beats rather than a generic “Hello”.

    For a detailed visual guide covering interface navigation, mobile shortcuts, and chat management, see our complete tutorial on how to use janitor ai.

    4. Mastering Generation Settings: Temperature, Tokens and Context Window

    One of the most common pitfalls for new roleplayers is leaving generation parameters at default values, leading to hallucinations, gibberish, or repetitive phrasing.

    Parameter Recommended Value Impact on Storytelling
    Temperature 0.85 (0.70 – 1.10) Controls creativity. Low values (<0.7) cause dry, repetitive responses; high values (>1.15) cause hallucinations.
    Max Response Tokens 450 – 800 Limits the bot’s reply length. Keeps pacing balanced without exhausting API credits.
    Context Window 4,096 – 8,192 How many tokens of previous chat history the bot remembers.
    Repetition Penalty 1.08 – 1.15 Penalizes reused phrases, eliminating irritating loop traps.

    Adjusting these settings directly transforms how bot personalities react during tense action or emotional dialogue. To deep-dive into optimal parameter configurations across different model backends, read our analysis on janitor ai settings.

    5. Essential Formatting and Chat Commands

    Janitor AI processes Markdown and special tag syntax to format dialogue, inner thoughts, and out-of-character instructions.

    Standard Markdown Conventions

    • *Actions, environmental descriptions, and body language*
    • "Verbal dialogue spoken out loud by the character"
    • **Emphasis on critical words or intense shouts**
    • ~Playful, flirtatious, or whispered tones~

    OOC (Out of Character) Prompts

    When a bot breaks character, misinterprets your scenario, or forgets a critical piece of plot information, do not break the fourth wall inside the story. Use standard OOC syntax at the end of your message:

    ((OOC: Please slow down the pacing. Do not speak on behalf of {{user}}, and describe the surrounding castle environment in more sensory detail.))
    

    Text Streaming vs Batch Generation

    Janitor AI allows you to toggle Text Streaming, which renders words one by one as they are synthesized, rather than waiting for the entire paragraph to load. For a full breakdown of syntax shortcuts, formatting variables, and command lists, consult our reference on janitor ai commands list.

    6. Character Creation: From Concept to Living Persona

    The soul of Janitor AI lies in its creator community. Anyone can create, publish, or privately test custom chatbots. A well-constructed character card prevents the AI from falling out of persona or speaking in bland generic cliches.

    Component Description & Best Practice
    Character Identity Unique name, evocative avatar, and a 1-2 sentence core premise hook.
    Psychological Traits Core personality, moral boundaries, motivations, and secret desires.
    Appearance & Attire Distinctive physical traits, clothing, scents, and signature accessories.
    Speech & Dialogue Speaking cadence, idiosyncratic vocabulary, and <START> dialogue blocks.
    First Message (Greeting) Sensory-driven scene opener establishing POV, pacing, and immediate conflict.

    To build characters that captivate thousands of users, learn the full workflow in our dedicated guide on how to make a janitor ai bot. Additionally, save hours of drafting by utilizing battle-tested W++ and JSON format templates from our janitor ai character template library.

    7. Advanced Roleplay Techniques: Lorebooks and Memory Retention

    As roleplay chats exceed 50 or 100 messages, LLMs naturally begin to forget earlier plot points due to context token limits. Expert creators bypass this constraint through structural techniques:

    7.1 Lorebooks and World Info

    Lorebooks store encyclopedic entries (characters, factions, locations, magic systems) tied to specific activation Keywords. When a keyword appears in the recent chat history, the associated lore snippet is injected into the bot’s active prompt. Discover how to build and link lorebooks in our guide to ai roleplay memory lorebooks.

    7.2 Action Beats and Dialogue Direction

    A high-level roleplay response is never just lines of dialogue. It weaves internal monologue, sensory anchors (scents, sounds, weather), and micro-expressions. Master the prose techniques that evoke deep immersion with our tutorial on ai roleplay formatting action beats.

    8. Competitive Landscape: Janitor AI vs The Field

    How does Janitor AI compare to the broader ecosystem of AI roleplay platforms?

    Feature Janitor AI Character.AI SillyTavern
    Content Filter Configurable (SFW & NSFW allowed) Strictly Censored (Fixed) 100% Uncensored
    Pricing Model Free (JanitorLLM) / Pay-per-token API Freemium ($9.99/mo C.AI+) 100% Free (BYOK / Local)
    Setup Friction Low (Instant Web & PWA) Very Low (Consumer Web) High (Local Node.js install)
    Context Memory Moderate to High (4k–16k tokens) Low (~4k tokens) Maximum (Configurable / Vector DB)
    Mobile Friendly Yes (Fully Responsive PWA) Yes (Native App Store) Moderate (Self-host tunnel)

    For comprehensive side-by-side head-to-head reviews: – Read our definitive benchmark: janitor ai vs character ai. – Explore self-hosted versus cloud convenience: janitor ai vs sillytavern. – Compare top card hubs: janitor ai vs chub ai. – Discover the top alternative platforms: janitor ai alternatives.

    9. Troubleshooting and Common Glitches

    Like any bleeding-edge generative AI service, users may occasionally encounter technical hurdles.

    Common Issue Root Cause Immediate Fix
    403 Access Restricted Cloudflare WAF IP flag Disconnect flagged VPN server, clear site cookies, or toggle mobile data.
    Public Chats Gone Platform privacy update Check the “Community Shares” tab or creator visibility settings.
    Repetition Loops Context token pollution Edit bot’s past messages, raise Repetition Penalty to 1.12–1.15.
    Network / Failed to Fetch Expired session / Zero API credit Re-login to refresh auth token or verify prepaid API balance on OpenRouter.
    • Cloudflare 403 Access Restricted: Often caused by flagged VPN exit nodes, stale browser cookies, or adblocker script interference.
    • Public Chats Gone: Following privacy compliance updates, public chat logs were moved into dedicated community sharing tabs or toggled private by bot creators.
    • Repetitive Dialogue Loops: When an AI gets stuck repeating phrases like “a predatory smirk” or “can I ask you a question?”, tweak your parameters or follow our step-by-step fix in fix ai roleplay repetitive loops.

    For detailed recovery steps on all error codes, refer to our troubleshooting manual on janitor ai not working.

    10. Roleplay Prompts, Safety and Jailbreaks

    Whether you want to explore thrilling adventures, slow-burn romantic storylines, or intense psychological drama, having the right prompt foundation is essential.

    • System Prompts & Scenario Library: Discover over 100 battle-tested roleplay prompts in our ai chat roleplay prompts compendium.
    • Content Filtering & Safety Rules: Understand terms of service, acceptable use, and jailbreak mechanics responsibly via our janitor ai jailbreak guide.
    • Creative Inspiration: Never run out of scenario ideas with our curated list of roleplay fantasy ideas.

    11. Frequently Asked Questions (FAQ)

    Is Janitor AI free to use?

    Yes. Janitor AI offers its native JanitorLLM beta model completely free with no subscription required. If you choose to connect third-party APIs (such as OpenRouter, OpenAI, or DeepSeek), you only pay those respective API providers for the tokens you consume.

    Is Janitor AI safe and private?

    Private chats with characters on Janitor AI are confidential and not visible to other users. However, always exercise standard internet caution: do not share sensitive personal information, passwords, or financial data in chat sessions.

    Can Janitor AI be used on mobile devices?

    Yes. While there is no standalone app in the official app stores due to mature content guidelines, Janitor AI is fully responsive on mobile web browsers and can be saved to your home screen as a Progressive Web App (PWA).

    What should I do if the bot starts speaking for me?

    Include a system prompt or OOC note: ((OOC: Strictly roleplay as {{char}}. Never dictate the actions, dialogue, or inner thoughts of {{user}}.)) This instructs the attention mechanism to confine output strictly to the bot persona.

    Conclusion and Next Steps

    Janitor AI represents the future of interactive storytellingβ€”a versatile, community-driven platform where human creativity collaborates seamlessly with advanced artificial intelligence. By understanding the core mechanics of model selection, mastering generation parameters, and utilizing proper character card design, you unlock limitless narrative possibilities.

    Ready to begin your journey? Start with our beginner tutorial on how to use janitor ai or jump directly into crafting your first character with our how to make a janitor ai bot creator blueprint.

  • Janitor AI Best Generation Settings: Temperature, Tokens and Context Window (2026)

    TL;DR Key Takeaway & Summary

    The sweet spot for Janitor AI settings is a Temperature of 0.85, Max Response Tokens of 500–700, a Context Window of 6,144–8,192, and a Repetition Penalty of 1.10. These settings balance vivid creative prose with grammatical coherence, preventing repetitive loops and memory degradation. Review our core janitor ai hub for platform fundamentals.

    Key Takeaways

    • Temperature Sweet Spot: Keep temperature between 0.75 and 0.95. Values above 1.15 cause nonsensical gibberish; values below 0.65 lead to rigid, robotic cliches.
    • Max Response Length: Setting max tokens to 500–700 produces balanced 2-3 paragraph replies without forcing the bot into endless run-on sentences.
    • Context Management: A context window of 6k–8k tokens ensures the model recalls recent dialogue without slowing down server inference times.
    • Repetition Breaker: When an AI fixates on a specific catchphrase, bumping repetition penalty to 1.12 immediately breaks the cycle.
    • Explore Next: If you encounter persistent glitches despite optimal settings, learn to fix ai roleplay repetitive loops or configure custom endpoints via janitor ai api setup.

    1. Why Generation Settings Matter

    Many users assume an AI bot’s intelligence is entirely determined by its character card description. In reality, generation parameters dictate how the model samples words from probability distributions.

    A masterfully written bot with incorrect settings will deliver repetitive, repetitive, or nonsensical dialogue. Conversely, an average bot with dialed-in parameters will feel responsive, unpredictable, and remarkably human.

    2. Parameter Deep-Dive: What Each Slider Does

    Temperature Range Behavior & Output Style Best Used For
    0.20 – 0.65 (Low) Highly predictable, rigid, grammatically sterile, prone to repetitive phrasing. Technical Q&A, factual summarization.
    0.75 – 0.95 (Optimal) Vivid sensory descriptions, emotional subtext, and creative conversational variety. Standard Roleplay Sweet Spot (Recommended: 0.85).
    1.05 – 1.40+ (High) Unpredictable word choices, rapid topic jumps, occasional broken syntax or hallucination. Surreal dream sequences, chaotic comedy.

    2.1 Temperature (0.0 to 2.0)

    • What it does: Controls randomness in word selection.
    • Under 0.70: The model always selects the most probable tokens. Dialogue becomes robotic, highly predictable, and repetitive.
    • 0.75 – 0.95 (Recommended): The optimal storytelling range. Output is colorful, emotionally expressive, and grammatically sound.
    • Over 1.20: The AI selects improbable tokens, resulting in broken grammar, sudden topic jumps, and hallucinations.

    2.2 Max New Tokens (Response Length)

    • What it does: Sets the hard ceiling on how many tokens the bot can generate in a single turn.
    • Recommended Value: 500 to 750 tokens (roughly 350–500 words).
    • Pro Tip: Avoid setting this to maximum (2048+) unless you specifically want novel-length essays. Excessive token lengths encourage the bot to speak on your behalf just to fill its quota.

    2.3 Context Window (Context Size)

    • What it does: Determines how much conversation history the AI passes into memory on each prompt.
    • JanitorLLM Free: Usually capped at 4,096 to 8,192 tokens.
    • DeepSeek / Claude via API: Can support 16,000+ tokens.

    2.4 Repetition Penalty / Frequency Penalty

    • What it does: Penalizes words that have already appeared recently in the conversation.
    • Recommended Value: 1.08 to 1.15.
    • Warning: Setting this above 1.25 will cause the bot to use bizarre synonyms because it is barred from using common words like “the”, “he”, or “said”.

    3. Recommended Preset Profiles

    Use Case Temperature Max Tokens Context Window Repetition Penalty
    Intense Story / Action 0.85 600 8,192 1.10
    Slow-Burn Romance 0.80 750 8,192 1.08
    Philosophical / Mystery 0.75 500 6,144 1.05
    Fantasy RPG Combat 0.90 450 4,096 1.12

    4. How to Apply Settings in Janitor AI

    1. Open any chat screen on Janitor AI.
    2. Click the three horizontal dots (...) in the upper navigation bar.
    3. Select Generation Settings.
    4. Adjust the sliders according to your preferred profile above.
    5. Click Save Settings. (Note: Settings are saved globally across your active chats unless specified per character).

    Conclusion

    Dialing in your generation settings transforms Janitor AI from a standard chatbot into a finely tuned interactive novelist. Once your parameters are set, pair them with the right chat syntax to maintain total narrative control.

  • The Master List of AI Chat Roleplay Prompts and System Instructions (2026)

    TL;DR Key Takeaway & Summary

    High-level AI roleplay requires strong System Instructions. By telling the model how to pace scenes, handle narrative agency, and format internal monologue, you eliminate robotic cliches and passive dialogue. Copy our master prompt blocks for third-person prose, combat pacing, emotional romance, and gritty realism. Explore our comprehensive janitor ai manual for foundational context.

    Key Takeaways

    • Agency Enforcement: Always include explicit directives forbidding the AI from generating dialogue or actions for the user ({{user}}).
    • Show, Don’t Tell: System prompts that demand involuntary physiological cues produce far more visceral, emotionally authentic reactions.
    • Pacing Locks: Prevent the AI from rushing story arcs into instant resolutions with slow-burn pacing constraints.
    • Modular Blocks: Mix and match prompt blocks for genre, vocabulary register, and sensory density.
    • Explore Next: Understand content filtering boundaries with our janitor ai jailbreak guide or get scenario inspiration from roleplay fantasy ideas.

    1. Universal Core System Prompt (The Foundation)

    Place this block at the top of your bot definition, custom prompt box, or client memory window:

    [System Directive:
    - Roleplay strictly as {{char}}. Under no circumstances will you generate speech, actions, inner monologue, or emotional reactions on behalf of {{user}}.
    - Maintain third-person past-tense narrative prose enclosed in asterisks for actions (*like this*) and quotation marks for spoken dialogue ("like this").
    - Emphasize "Show, Don't Tell". Describe subtle body language, breathing shifts, dilated pupils, and vocal inflections rather than explicitly naming emotions.
    - Allow scenes to unfold naturally with measured pacing. Do not rush to summarize scenes or force premature narrative conclusions.]
    

    2. Genre-Specific Prompt Modules

    Genre Module Core Stylistic Directives Emotional Dynamics
    Dark Fantasy / Gritty RPG Sensory visceral combat, physical exhaustion, wound consequence, and volatile magic ozone. High stakes, survival urgency, mutual reliance under pressure.
    Slow-Burn Romance Prioritize physical proximity, lingering glances, breath cadence, and unspoken subtext. Earned vulnerability, emotional hesitation, gradual trust building.
    Psychological Noir Focus on micro-expressions, involuntary tics, watchful calculation, and cynicism. Power struggles, competing loyalties, hidden agendas.
    Cyberpunk & Sci-Fi Ambient neon glare, hum of cooling fans, holographic flicker, and tech jargon. Existential alienation, human vs machine autonomy, corporate dystopia.

    Module A: Dark Fantasy and Gritty Realism

    [Tone Directive: Dark Fantasy]
    - Describe combat and injury with realistic weight, physical exhaustion, and consequence.
    - Infiltrate scenes with ambient sensory details: smell of damp earth, cold draft through stone corridors, clinking mail, and guttering torchlight.
    - Keep magical phenomena mysterious and volatile, requiring physical exertion and focus.
    

    Module B: Slow-Burn Emotional Romance

    [Pacing Directive: Slow-Burn Romance]
    - Prioritize emotional hesitation, unspoken subtext, and lingering eye contact over immediate physical contact.
    - Highlight the subtle physical proximity between characters: shifting balance, brush of clothing, shared warmth, and deliberate silence.
    - Allow vulnerability to be earned gradually through shared adversity and earned trust.
    

    Module C: Detective, Mystery and Psychological Noir

    [Tone Directive: Psychological Noir]
    - Maintain an atmosphere of cynicism and watchful calculation.
    - Focus on micro-expressions: involuntary twitches, diverted gazes, nervous tapping, and defensive posture.
    - Avoid obvious exposition; let clues and character motivations emerge through organic observation.
    

    3. Pacing and Continuity Control Prompts

    When an AI tries to skip time or resolve a conflict too quickly, inject this steer:

    [Continuity Rule: Maintain real-time narrative flow. Focus exclusively on the immediate present scene. Do not transition the time of day, change locations, or skip dialogue beats without explicit user input.]
    

    Conclusion

    A well-crafted system prompt turns an ordinary conversational bot into a master storyteller. Combine these modular instructions with creative scenarios to build unforgettable roleplay sessions.