invoke-ai / invoke-ai/InvokeAI

[enhancement]: Generate Forever or Infinite Iterations feature

Open
#6,970 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Contact Details

_No response_

### What should this feature add?

Provide a "generate forever" functionality like in Auto1111/Forge, or maybe call it "infinite iterations." In Auto1111/Forge you can right-click the generate button and choose "generate forever," and it will continue to generate new images (random seed each time, which also changes the dynamic prompt used) until the generate forever process is cancelled by right-clicking the button again and choosing cancel. Something similar in Invoke would be great, which is useful to set it to generate a few hundred/thousand images overnight, for example.

### Alternatives

Invoke does have Dynamic Prompting, but that will only output up to the Max Prompts setting per iteration.

And if you're not using dynamic prompting, then you just have the iterations number to work with, which looks like it maxes out at 999?

It would be nice if there was a way to simply set it to continue invoking until the user stops it or cancels it, without setting a specific number of iterations, maybe add an infinity button ♾️ next to the number of iterations, basically making the iterations infinite. Or the infinity button ♾️ could be added above the up button, stacking the three 🔽🔼 ♾️ buttons, making the UI a little less cluttered keeping the empty negative space between the number of iterations and the send to gallery button, which is nice from a UI design standpoint.

As far as queuing these jobs, perhaps it just auto-adds another invokation to the queue once the current one is finished? The cancel button could stop the current generation and the auto-adding of new jobs, or the infinity button ♾️ could change to a cancel button ❌ after clicking it to start generating, so clicking again would stop the auto-adding feature but not cancel the current generation, and the cancel button functionality would remain the same (cancel the current item).

### Additional Content

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.