Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to do iterate a process multiple times with this? #3

Closed
sraney opened this issue Jun 6, 2024 · 2 comments
Closed

Is it possible to do iterate a process multiple times with this? #3

sraney opened this issue Jun 6, 2024 · 2 comments

Comments

@sraney
Copy link

sraney commented Jun 6, 2024

Would it be possible to iterate over a process multiple times using this, something like a loop but under script control?

@christian-byrne
Copy link
Owner

Hello, sorry for the delayed reply. If your task involves iteration or looping over processes, a native solution contained within a workflow might suffice for simple cases. However, for more complex requirements—such as dynamically changing values each iteration, looping a dynamic or large number of times, or iterating over a small sub-process before a larger one—it's best to use an external script to interact with the Comfy process API. I can show you some examples of that if you'd like.

If your task is relatively simple, you might be able to use this node to achieve it. Can you provide more details about what you're trying to do?

@christian-byrne
Copy link
Owner

This is now possible in ComfyUI naturally (see comfyanonymous/ComfyUI#2666)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants