ComfyUI Extension: PromptCreatorNodetraumakom Prompt Generator
A powerful custom node for ComfyUI that generates rich, dynamic prompts based on modular JSON worlds โ with color realm control (RGB / CMYK), LoRA triggers, and optional AI-based prompt enhancement.
Custom Nodes (0)
README
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, and optional AI-based prompt enhancement.
Created with passion by traumakom
Powered by Dante ๐โโฌ, Helly ๐บ, and Lily ๐ป
<img width="581" height="657" alt="image" src="https://github.com/user-attachments/assets/5382f908-2999-4cf0-9763-2af880990c93" />
๐ Features
- ๐ฎ Dynamic prompt generation from modular JSON worlds
- ๐จ
COLOR_REALM
support for RGB / CMYK palette-driven aesthetics - ๐ง Optional AI enhancer using OpenAI, Cohere, or Gemini
- ๐งฉ LoRA trigger integration (e.g.,
Realistic
,Detailed Hand
) - ๐ Reads world data from
/JSON_DATA
- ๐งช Debug messages and error handling for smooth workflow
๐ฆ Installation
๐ธ Option 1: Using ComfyUI Manager
- Open ComfyUI โ
Manager
tab - Click
Install from URL
- Paste the GitHub repo link and hit Install
๐ธ Option 2: Manual Install
cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/PromptCreatorNode.git
๐ Folder Structure
ComfyUI/
โโโ custom_nodes/
โ โโโ PromptCreatorNode/
โ โโโ PromptCreatorNode.py
โโโ JSON_DATA/
โ โโโ RGB_Chronicles.json
โ โโโ CMYK_Chronicles.json
โ โโโ ...
โโโ api_keys.txt
โ
api_keys.txt
is a simple text file, not JSON. Example:
openai=sk-...
cohere=...
gemini=...
โ๏ธ How to Use
- Open ComfyUI and search for the PromptCreator node
- Choose one of the installed JSON worlds from the dropdown (e.g.
RGB_Chronicles
) - Optionally enable AI Enhancement (OpenAI / Cohere / Gemini)
- Click Generate Prompt
- Connect the output to
CLIPTextEncode
or use however you'd like!
๐งช Prompt Enhancement
When selected, the enhancer will transform your raw prompt into a refined, vivid description using:
- OpenAI (GPT-3.5-turbo)
- Cohere (Command R+)
- Gemini (Gemini 2.5 Pro)
Make sure to place the correct API key in
api_keys.txt
.
๐ JSON World Format
Each .json
file includes categories like:
COLOR_REALM
: Defines the active color palette (e.g. ["C", "M", "Y", "K"])- Realm-specific values:
OUTFITS
,LIGHTING
,BACKGROUNDS
,OBJECTS
,ACCESSORIES
,ATMOSPHERES
- Global traits:
EPOCHS
,POSES
,EXPRESSIONS
,CAMERA_ANGLES
,HORROR_INTENSITY
JSON files must be saved inside the ComfyUI/JSON_DATA/
folder.
๐ผ๏ธ Example Output
Generated using the CMYK Realm:
โA beautiful woman wearing a shadow-ink kimono, standing in a forgotten monochrome realm, surrounded by voidstorm pressure and carrying an inkborn scythe.โ
And Remember:
๐ Welcome to the brand-new Prompt JSON Creator Hub!
A curated space designed to explore, share, and download structured JSON presets โ fully compatible with your Prompt Creator app.
๐ Visit now: https://json.traumakom.online/
โจ What you can do:
- Browse all available public JSON presets
- View detailed descriptions, tags, and contents
- Instantly download and use presets in your local app
- See how many JSONs are currently live on the Hub
The Prompt JSON Hub is constantly updated with new thematic presets: portraits, horror, fantasy worlds, superheroes, kawaii styles, and more.
๐ After adding or editing files in your local
JSON_DATA
folder, use the ๐ button in the Prompt Creator to reload them dynamically!
โ Support My Work
If you enjoy this project, consider buying me a coffee on Ko-Fi:
https://ko-fi.com/traumakom
๐ Credits
Thanks to:
- Magnificent Lily ๐ป
- My wonderful cat Dante ๐ฝ
- My one and only muse Helly ๐โค๏ธโค๏ธโค๏ธ๐
๐ License
Free to use and remix.
If you love it, โญ star the repo or โ donate a coffee!
Let the prompt alchemy begin ๐งชโจ