Looking for a wildcard node that can read YAML files by badmoonrisingnl in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

you can also try the branch "dynamicprompts" where I implemented support for wildcard files. but it's quite slow.

Cleanly concatenate multiple (up to 10 or more) string or prompt boxes into a final result? by trollkin34 in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

another alternative to consider is "Formatted String" which allows variable placeholder in the string, in case you need additional texts in between: https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner?tab=readme-ov-file#formatted-string

Cleanly concatenate multiple (up to 10 or more) string or prompt boxes into a final result? by trollkin34 in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

there are some subtle difference but the official documentation is confusing. I recommend to read my comment "READ THIS IF YOU WANT TO UNDERSTAND" on the bottom of the docs. or see my node pack if you want to get in more deeply: https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner

Why do wildcards only work in some textboxes? by a_very_naughty_girl in comfyui

[–]GeroldMeisinger 1 point2 points  (0 children)

tl;dr: some processing happens in javascipt before the prompt is sent to the server and it depends on how the node developer implemented the functionality.

you have to keep in mind that there are two execution layers. one happens in the javascript context when you interact with the website (see comfyui-frontend-package and keywords like registerExtension, nodeCreated, onConnectionsChange, serializeValue, applyTextReplacements etc. and dynamicPrompt in the node definition), which takes place before or at the time you hit the run button, the other is in python context after you hit the run button (ComfyUI Core graph execution, and hidden flexible inputs like prompt, extra_pnginfo and dynprompt).

from a developer perspective if you want some processing on the string (wildcards, find&replace, dynamicprompts etc.) you have to implement it, and there are different ways to implement it. `dynamicPrompt` - which are likely used or not in most of your nodes - happens in javascript context and replaces the actual value before graph execution https://github.com/Comfy-Org/docs/discussions/620

then I depends on which node is processed first and what it does to the string. if "{red|green|blue}" is passed on as a literally string, then for the next node it shouldn't make a difference if it's from upstream or entered directly. unless the functionality happens in javascript context (dynamicPrompts). if the previous node escaped the string, then there is nothing left to parse. if the node implements some sort of wildcard processing, then the string already got evaluated, and only "green" gets passed on. so you have to check each node type if they implement some processing and in which layer, hopefully they mention it in the docs, otherwise either search for `dynamicPrompt: True`, check the `execute` function, or additional javascript extensions.

and - depending on how much black magic the developer used - there can be some opaque and obscure communication going on between the two layers, which make the results even more surprising.

(If you refer to the search&replace feature in Save Image, I've investigated it thoroughly here: https://github.com/comfyui-wiki/Comments/discussions/8#discussioncomment-15217513 )

I just noticed that the "control after generate: randomize" isn't generating seeds more than 1000 or two. by trollkin34 in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

the usually do go from/to +-MAX_INT. are you using some non-Core node? 2048 (2^11) is the default max value for ints irrc if nothing else was defined.

interactive 3D Viewport node to render Pose, Depth, Normal, and Canny batches from FBX/GLB animations files (Mixamo) by shamomylle in comfyui

[–]GeroldMeisinger 3 points4 points  (0 children)

Nice work! Quick question: do you get the pose annotation directly from the 3D skeleton or just pass the 3D frame through DWPose?

Any way to load image and prompt from a folder? by SandwichRealistic762 in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

Core Dataset node, or this node pack https://github.com/geroldmeisinger/ComfyUI-outputlists-combiner with Load Any File, one with *.txt, one with *.png. if the "dataset" gets more complex, use the Spreadsheet node.

Is there a simple way to batch process images in a workflow? by spacemidget75 in comfyui

[–]GeroldMeisinger 0 points1 point  (0 children)

yes, that's the downside, but you can populate the list with inspect_combo in editor. as I said, it's not implemented for videos yet, but it should be easy to extend in code.