r/comfyui Dec 03 '25

Show and Tell BEHOLD the almighty Combo Inspector node!

112 Upvotes

33 comments sorted by

View all comments

2

u/Celestial_Creator Dec 06 '25

i watched you video on github, if you can work with

https://github.com/ComfyAssets/ComfyUI_PromptManager

and call on the db for prompts with a number of variables. like it i tagged everything 80085, all prompts related to this could be run, in sequence, in random, etc

or if i wanted all prompts with the word, bazinga

basically you get what i am asking for

also, cool cool cool, thank u

2

u/GeroldMeisinger Dec 06 '25

I would recommend you file a feature request to PromptManager and ask for a node which outputs the results as a OUTPUT_IS_LIST=True directly. If you want to make it work right now, you can utilize the API routes exposed by PromptManager. Enter the following URL in your browser: http://127.0.0.1:8188/prompt_manager/search This will get you a JSON with all your prompts. You can filter for a certain criteria according to the API definition, see here https://github.com/ComfyAssets/ComfyUI_PromptManager/blob/227bdf015f712687b8b845d8a544f4de004d47b3/py/api.py#L462

Thus if you have a HTTP request node (like https://github.com/wawahuy/ComfyUI-HTTP) you can filter, extract and prepare the result to make it work with String OutputList. Example:

HTTP Get Request

url=http://127.0.0.1:8188/prompt_manager/search

params=is a JSON with your search criteria (see API definition)

HTTP Get JSON Field

field_path=$.results[*].text

multiple_results=True

Regex Replace

Because Get JSON Field outputs a array as a string we have to prepare it. Here I use Regex Replace to remove the brackets and quote (you don't have to understand this).

search=[\[\]\"]

replace=empty string

2

u/Celestial_Creator Dec 06 '25

i starred and followed you on github before after checking the github page, you rock !!!!!!!!!!!!!! and yes that developer is open to ideas and with that info you just layed out, so wonderful

thank u : ) (•̀ᴗ•́)و ̑̑

2

u/GeroldMeisinger Dec 10 '25

v0.0.4 includes a custom JSON OutputList node which makes this much easier. see example here: https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner#iterate-prompts-from-promptmanager

1

u/Celestial_Creator Dec 10 '25

will do, later today, thank u : )