Trung0246 / ComfyUI-0246

Random nodes for ComfyUI
MIT License
113 stars 11 forks source link

Tutorials for the cloud node please :) #24

Open stephantual opened 10 months ago

stephantual commented 10 months ago

With all the good will in the word (and you know I love your work) - i can' wrap my head around 'hub' and now the new 'cloud' node. ANY tutorial, even a video on YT without sound with a simple worfklow woud be useful at this point.

Thank you for your undertanding!

Trung0246 commented 9 months ago

Technically I did have a example workflow in the README ;)

But honestly the feature set for the "Cloud" node is kinda poor right now with only a couple of basic prompt manipulation functionality and currently mainly deal with raw text/prompt. It basically a personal node that made public since I don't like typing. Conveniently it support other stuff like randomize/sequencing words and merging other cloud nodes.

So here's some very bare bone docs 😅


In the workflow you can pick a "cloud object" by clicking on it then hold Shift to drag it to desired location.

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/7badb3df-7f45-4191-9a32-9525db388715

Clicking in a cloud object will reveal related widgets which can be changed OR convert to a input just a typical comfy widget.

Hold left click to empty space of the main widget then drag mouse over will reveal the group id that are associated with each "cloud object".

All cloud nodes should be paired with "0246.Stringify" to convert then to the final prompt.

Right clicking on the node itself will reveal more stuff:

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/5620a011-2187-4dc1-831e-514702283744


So there's current 5 different type of "cloud object":

image

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/260ffa44-89d1-4b9d-8a80-7fda3db449b7

Notice that a cloud object can have multiple group id and make things like only apply weight to exact text object like dfg and therefore cloud object order is important (since it is topologically sorted).

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/5e44b63b-dfc0-4300-ae97-f63e93c4eaa1

Even better cycle and rand can be associated with weight or merge for that "nested" effect.

image

image

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/99a9dfff-9e96-4739-bd66-c3f2fa8d82a4

Bonus stuff that related to widget inputs. Currently the type must be converted to *. Did not test how CastReroute would handle this by picking * so there's that.

https://github.com/Trung0246/ComfyUI-0246/assets/11626920/72e6e50d-be96-40a6-a133-b9d5bb1f6339


Since this node technically still in beta I may change the cloud object names to something else and could cause breakage but I could theoretically migrate automatically with JS stuff.

With the future topological execution pull, rand and cycle could execute multiple times within a single loop with a single prompt queue.


Planned features:

stephantual commented 9 months ago

Thank you so much, this is great!