a283130b366569d6987789816f7ce6cba84f6fea
- PFN_Dark_Tales - PFN_Crimson_Tales - PFN_Labyrinth_Sanctum - PFN_Moonlit_Ruins - PFN_The_TK_Gate - PFN_Thorned_Kingdom Introduces a cohesive dark fantasy narrative set, structured around gothic environments, ritual aesthetics, and cinematic prompt generation. Each world expands the Dark Tales identity with consistent PFN architecture and enhanced thematic depth.
traumakom Prompt Generator – ComfyUI Node
A powerful custom node for ComfyUI that generates rich, dynamic prompts based on modular JSON worlds — with color realm control (RGB / CMYK), LoRA triggers, optional AI-based prompt enhancement, and a modular Identity Mixer to build consistent characters from reusable traits.
Created with passion by traumakom
Powered by Dante 🐈⬛, Helly 🐺, and Lily 💻
Main Nodes
- Prompt Generator (main Node)
- Identity Mixer
- Connection Example
🌟 Features
PromptCreator Core
- 🔮 Dynamic prompt generation from modular JSON worlds
- 🎨
COLOR_REALMsupport for RGB / CMYK palette-driven aesthetics - 🧩 LoRA trigger integration (e.g.,
Realistic,Detailed Hands) - 🧠 Optional AI enhancer (OpenAI / Cohere / Gemini / Ollama / llama.cpp) to rewrite or enrich prompts
- 📁 Reads world data from
/JSON_DATA - 🧪 Debug messages + error handling for smoother workflows
- 🔄 Reload JSON worlds without restarting ComfyUI
✅ Identity Mixer (NEW)
- 🧬 Modular identity generation via reusable traits
- ♻️ Trait library (
TRAITS) + curated presets (PRESETS) - 🎲 Randomized or fixed identity attributes
- 📴 Optional ethnicity exclusion (
None) - 🧷 Identity signature output for dataset consistency
- 🧼 Explicit trait syntax (e.g.
lavender hair,emerald eyes) to avoid semantic bleed
📦 Installation
Using ComfyUI Manager
- Open ComfyUI → Manager
- Install from URL
- Paste the GitHub repository URL
Manual
cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/PromptCreatorNode.git
📁 Folder Structure
ComfyUI/
├── custom_nodes/
│ └── PromptCreatorNode/
│ ├── PromptCreatorNode.py
│ ├── IdentityMixerNode.py
├── JSON_DATA/
│ └── *.json
├── identity.json
├── identities.json
├── api_keys.txt
⚙️ Usage
PromptCreator
- Select a JSON world
- Enable AI enhancer (optional)
- Generate prompt
- Connect to CLIPTextEncode
Identity Mixer
- Select traits or presets
- Use random or fixed values
- Output identity string + signature
- Append to prompt or dataset captions
🌈 identity.json Structure
TRAITS
Reusable identity components:
{
"TRAITS": {
"hair_color": ["lavender hair", "cobalt-blue hair"],
"eyes_color": ["emerald eyes", "icy gray eyes"],
"ethnicity": ["None", "Mediterranean", "East Asian"]
}
}
PRESETS
Optional curated identities:
{
"PRESETS": {
"Kira_Goth": {
"hair_color": ["cobalt-blue hair"],
"expression_base": ["quiet intensity"],
"ethnicity": ["None"]
}
}
}
🧪 AI Enhancement
Supports OpenAI, Cohere, and Gemini.
API keys must be placed in api_keys.txt.
☕ Support
If you enjoy this project, consider supporting it on Ko-Fi.
📜 License
Free to use and remix.
Star the repo if you like it ⭐
Languages
Python
96.6%
JavaScript
3.4%