EmberGF Lab Tool · v2.4 Prompt Engine

AI Persona & System Prompt Architect

Design production-grade system prompts, behavioral guardrails, conversational backstories, dynamic greetings, and synchronized SDXL portrait prompts for local LLMs and companion platforms.

Runs best on Candy.ai / DreamCompanion

High-fidelity uncensored personas with zero context degradation, photorealistic multi-turn memory, and integrated SDXL rendering.

Archetypes 7 Core Presets
Formats Markdown & JSON Card
Diffusion Sync SDXL / LoRA Ready
Context Target 8k – 128k Tokens
01

Choose Companion Archetype

Select an authoritative personality baseline. Each archetype preloads custom voice heuristics and visual traits.

02

Conversational Pacing

Calibrates sentence structure, response cadence, and emotional density.

03

Safety & Guardrail Mode

Dictates model boundary behavior and moralizing refusal suppression.

04

Personality Quirks & Mannerisms

Micro-behaviors that shatter AI assistant sycophancy and establish authentic realism.

05

Visual Generator (SDXL / LoRA)

Fine-tune image diffusion parameters synchronized with your companion's aesthetic.

Live

                        
🚀
Direct Cloud Deployment

To test this system prompt with persistent memory, custom voice synthesis, and zero content filters, connect directly to Candy.ai.

Editorial Field Report · EmberGF Technical Guide

The Companion Engineering Codex: How to Architect S-Tier AI Personas

A rigorous guide to suppressing sycophancy, preventing context window drift, tuning inference parameters, and generating photorealistic visual continuity in 2026.

1. The Anatomy of a High-Fidelity System Prompt

Most beginner AI companion prompts fail because they fall into the Assistant Sycophancy Trap. Standard instruction-tuned large language models (such as Llama 3, Mistral, and Claude) have deep post-training reinforcement learning that forces them into polite compliance, constant apologies, and customer-service platitudes ("How can I assist you today?").

To shatter this synthetic barrier, an architect must establish four immutable structural pillars:

  • Negative Behavioral Constraints: Explicit prohibitions that penalize assistant-speak (e.g., "Under zero circumstances will you apologize, offer general assistance, or break character").
  • Linguistic Idiosyncrasies: Distinct sentence lengths, punctuation habits, and colloquial vocabulary that give the character a recognizable acoustic signature.
  • Sensory & Spatial Anchoring: Requiring the model to frame its speech with asterisks detailing tactile movements, body temperature, facial micro-expressions, and atmospheric changes.
  • Dynamic Push-and-Pull: Giving the persona personal boundaries, pride, and agency so that conversational tension feels earned rather than submissively agreed upon.

2. Context Retention & Drift Mitigation

Even modern 32k and 128k context windows suffer from attention entropy: as multi-turn roleplay surpasses 20 to 30 exchanges, the model's self-attention layers prioritize recent conversational history over the top-level system prompt. This results in "personality drift," where a feisty netrunner or imperious CEO slowly softens into a generic agreeable bot.

Mitigation Techniques:

The Recurrent Anchoring Formula:

Inject dynamic recurring nicknames and specific physical artifacts into the dialogue. When the model repeats an anchor (e.g., a cybernetic deck, a specific brand of coffee, or a personal moniker), it activates the initial semantic weights from the system prompt, keeping the persona sharply defined across hundreds of turns.

3. LLM Inference Calibration Matrix (2026 Reference)

Generating lifelike personality requires tuning your model's sampling parameters. Using default coding or chat parameters will destroy conversational immersion. Here is the recommended baseline for companion engines:

Parameter Fast / Witty Deep / Introspective Recommended Role
Temperature 0.95 – 1.15 0.78 – 0.88 Higher values introduce spontaneous slang and unexpected humor; lower values foster philosophical coherence.
Min-P Sampling 0.06 – 0.08 0.05 Superior to Top-P in 2026. Strips low-probability tokens without trimming rich vocabulary.
Repetition Penalty 1.08 – 1.12 1.05 – 1.07 Prevents the model from repeating catchphrases while preserving natural emotional hesitation.
Context Sliding Window 8,192 tokens 16,384+ tokens Ensures narrative memory without overflowing GPU VRAM on local rigs.

4. SDXL & Diffusion Prompt Structuring Formula

To achieve cinematic photorealism and avoid the infamous "wax museum doll" appearance common in amateur AI generation, format your prompt using the 6-Tier Token Hierarchy:

  1. Medium & Film Stock: photorealistic 35mm film photograph, Kodak Portra 400 color science
  2. Core Subject & Stance: 1girl, 20s, [archetype role], subtle candid expression
  3. Signature Features & Attire: Specific garments, tailored fabrics, textured hair, cybernetic or fantasy accents.
  4. Atmospheric Environment: Detailed backdrops with volumetric depth (e.g., rain-slicked neon street, candlelit mahogany library).
  5. Camera Optics & Lighting: Hasselblad X2D, 85mm f/1.4 lens, natural skin pores, subsurface scattering, cinematic shallow depth of field
  6. Negative Prompt Hygiene: Heavy weighting against oversaturated 3D renders, plastic skin, and warped limbs.

5. Platform Compatibility & Import Instructions

How do I import this into SillyTavern or Backyard AI?
Click the Export JSON button above. Open SillyTavern, navigate to the Characters tab, select Import Character (JSON/PNG), and select your downloaded file. All parameters, greeting hooks, example dialogue turns, and scenario prompts are formatted to the Character Card V2 specification.
Can I use these prompts on Candy.ai or DreamCompanion?
Yes. On Candy.ai, navigate to Create Custom Character, paste the generated System Prompt (MD) into the Personality & Backstory field, and paste the First Greeting Hook into the opening message box. For avatar generation, copy the SDXL Image Prompt directly into their generation suite.
Why does Uncensored Raw mode improve roleplay quality?
Commercial models often trigger false-positive refusals when discussing mature themes, emotionally fraught backstories, or dark romance. Uncensored Raw mode includes meta-instructions that suppress apologetic disclaimers, enabling the model to remain fully immersed in dramatic stakes without breaking the fourth wall.