# NPC Visualization Workflow (non‑nudity) ## 1) Scope & triggers Use this workflow for: - **Named NPC portraits** (non‑nudity) with stable identity across iterations. - **Named ambience / NPC‑context visuals** that preserve the NPC reference style. - **Key locations** are covered by a separate skill (but can reuse these NPC references). Example triggers: - “I need a new NPC and need to figure out what they look like.” - “Create stable references for NPC X before we place them in scenes.” ## 2) Storage layout (current) Root: `~/output/to-dnd-session/Reference Visuals/` - `Reference Visuals/NPCs//` - `00-face.jpg` — face reference (neutral expression; **1/3 left + front + 1/3 right**). **Default method:** generate three separate single‑view panels (left/front/right) and **stitch** into a single 16:9 image to avoid mirrored right‑view failures. - **Mark fidelity:** generate **front** first from the original. Then generate **left/right** using the **front as primary reference** and the original as secondary (`image_2`), with explicit “preserve all scars/marks; do not add/remove; no mirroring.” - `01-body.jpg` — body reference (**front + back** views; neutral A‑pose; white). Default: underwear. **If NPC is a minor, use modest fully‑clothed medieval attire instead.** - `02-marks/` — close‑ups of tattoos/scars/unique marks. - `npc.json` — structured profile (identity, role, visual traits, refs). - `Outfits/` - `.jpg` — **single 16:9 image** containing **front + back** neutral A‑poses on white (side‑by‑side) to reduce reference‑image count. - `Reference Visuals/Locations/` (reserved for the separate locations skill) ## 3) Reference‑first pipeline (required) **Goal:** lock identity/style before final renders. 1) **Collect brief** - NPC: name, age, vibe, attire, role, setting. 2) **Generate reference set** - **No interaction framing yet** (neutral framing acceptable). - Enforce **Norse + anti‑modern** style. - If the source image is non‑photorealistic, explicitly request **photorealistic conversion** while preserving facial structure. - Preserve **asymmetric details** (e.g., a single earring); do **not** mirror. If the detail isn’t visible in a view, **don’t add it**. - Keep composition/lighting consistent across refs. 3) **Gate: human selects keeper references** - Do **not** proceed until keepers are chosen. 4) **Final renders** - NPCs: **interaction framing** (subject faces camera) + 16:9. - Ambience/context: preserve keeper materials/lighting/mood. ## 4) Style constraints (defaults) - **Norse, medieval, photorealistic**, 16:9. - **Anti‑modern:** no electric/fluorescent lighting, no modern fixtures, no modern fabrics/cuts. - **Interaction framing** only for final NPC images. ## 5) Consistency rules - Use **the same identity description + name** across all passes. - For outfit refs, **use both body + face references** (image + image_2) to lock identity. - If outfit continuity matters, prefer **image‑edit** workflows for final renders. - Avoid modern artifacts (lighting, furniture, textiles). ## 6) Gate checkpoints (human actions) - **After reference set:** human picks keepers. - **After final A–E batch:** human picks keepers; then clean filenames. ## 7) Model guidance - **Reference images (face/body):** default to **grok‑imagine‑image‑pro** for higher fidelity. - **Other renders:** default to **grok‑imagine‑image** (fast/cheap). - Allow users to override model as desired.