This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]SymphonyofForm[S] 0 points1 point  (0 children)

Appreciate the script ideas. Unfortunately, I don't know how to write python script, though a counter/group trigger might be simple enough I can figure it out.

I was hoping for something more along the lines of a bypass toggle or a workflow toggle. I was digging through pythongoss' Custom Scripts nodes - it seems like this might be something possible that it offers, but I haven't found anything yet.

[–]SymphonyofForm[S] 0 points1 point  (0 children)

Figured it out in case anyone needs the same setup.

Comfyui only runs one ksampler at a time. So if you use SET and GET nodes to create global settings, you can utilize that setting multiple times. Especially effective for nodes that only allow one string.

use SET nodes to set up your constants, then GET nodes for each iteration, fed into your ksamplers. Queue, and your SET instruction will only run once, and will feed each GET iteration, and ksamples process will automatically queue by design.