DM Tools
Image generation and asset management
AI Image Generator
Generate custom images for NPCs, locations, items, and maps using the Gemini AI. Run the following commands from the project root directory.
Quick Start
python3 generate_images.py --interactive
Command Examples
Generate NPC Portrait
python3 generate_images.py --type npc --name "Character Name" --description "Physical description..." --role villain
Roles: villain, ally, neutral, employer
Generate Location
python3 generate_images.py --type location --name "Place Name" --description "Description of the place..."
Generate Item
python3 generate_images.py --type item --name "Item Name" --description "Description of the item..."
Generate Map (Pro Model)
python3 generate_images.py --type map --name "Map Name" --description "Floor plan details..."
Generate Dungeon Layout (Pro Model)
python3 generate_images.py --type dungeon --name "Dungeon Name" --description "Layout details..."
Generate Multiple Variations
python3 generate_images.py --type location --name "Tavern" --description "..." --num 3
Models Used
- gemini-2.5-flash-image - NPCs, Items, Locations (fast, good quality)
- gemini-3-pro-image-preview - Maps, Dungeon Layouts (complex/detailed)
Asset Gallery
Click any image to show it on the Player Display. All generated images are stored in website/images/
NPCs
Locations
Items & Artifacts
Maps & Floor Plans
Safe Intel Channels
When players need information, offer these as a diegetic menu of options. Don't rank them - present the cost types and let players choose their approach. These are the "world UI" - stable tools players can deliberately use.
| Channel | Cost | What It Provides | Risk/Heat | Location |
|---|---|---|---|---|
| Street Kids / Runners | 1-3 silver | Who went where, who's watching a location, what rumor is spreading, tail someone, deliver messages | Low | Painted Steps, markets |
| Bathhouse Staff | A tip or favor | Who meets whom, who's angry, who's desperate, noble gossip (biased) | Medium (nobles notice) | Sable Hollow Baths |
| Library / Registrar | Time + maybe bribe | Names, dates, family ties, old cult references, ownership records, shipment logs | Low (but slow) | Grand Library |
| Fence / Broker | Gold or a job owed | Real names, habits, where to eavesdrop safely, actionable intel | Medium (you owe them) | Whispering Vault, Rat's Asylum |
| Weeping Lady Cell | Help them once | Faction map, who to avoid, where the cult has eyes, resistance contacts | Medium-High (enemies of enemies) | Temple contacts, Selise |
| Stakeout / Observation | Time (clock advances) | Patrol patterns, who enters/exits, delivery schedules | Medium (risk of being spotted) | Any location |
Risk Ladder
For any major unknown, prep three paths so players can choose how hard to push:
Low Risk
Rumor / research / observation. Safe but incomplete.
Medium Risk
Talk to an intermediary / tail someone / break into an office at night.
High Risk
Meet the boss / enter the temple / direct confrontation.
Non-Lethal Costs
Safe intel isn't free - it costs something other than HP: Time (clocks advance), Heat (patrols tighten), Money (bribes), Favors (owe the broker), Exposure (your face becomes known).
Player Display Controls
Control what's shown on the Player Display window.