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

# Interactive mode - guided image generation
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

Asset Gallery

Click any image to show it on the Player Display. All generated images are stored in website/images/

NPCs

Marcel Silvertongue
Marcel Silvertongue
Employer
Duke Haverfort
Duke Haverfort
Neutral
Lord Voss
Lord Cedric Voss
Villain
Captain Arden
Captain Yelena Arden
Ally
Selise
Selise Montclair
Ally
Grimshaw
Grimshaw
Neutral

Locations

Hollowspire City
Hollowspire City
City
Drunken Dragon
The Drunken Dragon
Tavern
Duke's Manor
Duke's Manor
Estate
Grand Ballroom
Grand Ballroom
Interior
Catacombs
The Catacombs
Dungeon

Items & Artifacts

Gem of Vhal'Zar
Gem of Vhal'Zar
Artifact
Masquerade Invitation
Masquerade Invitation
Document
Thieves' Tools
Thieves' Tools
Equipment

Maps & Floor Plans

Manor Floor Plan
Manor Floor Plan
Map

Player Display Controls

Control what's shown on the Player Display window.