deforum / deforum/sd-webui-deforum

[Feature Request]: Add generate forever/cancel generate forever options when right-clicking generate button in deforum

Open
#966 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2.9k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

If possible could the "generate forever/cancel generate forever" options found in txt2img of webui when right-clicking the generate button be added to the deforum generate button to allow for automatic continuous generations?

### Proposed workflow

1. Right-click the generate button to have pop-up box show the generate forever/cancel generate forever options
2. Selecting "generate forever" will continuously generate animations automatically one after the other until cancelled without need to manually hit generate each time
3. Selecting "cancel generate forever" would stop the automatic continuous generation and go back to manual mode

### Additional information

![Screenshot 2024-04-15 152244](https://github.com/deforum-art/sd-webui-deforum/assets/163383426/c79d1375-98eb-48ee-a1be-419407472390)

### Are you going to help adding it?

Did what I could, see my modified webui javascript>contextMenus.js code below to add generate forever/cancel generate forever functionality to deforum

Contributor guide

Open the contributing guide

Research direction

Start with the modified webui JavaScript contextMenus.js code mentioned in the issue and trace how the Deforum generate button is wired. Compare its behavior with the existing txt2img generate-forever menu; done means right-clicking Deforum's button exposes generate-forever and cancel options, continuously runs animations until cancelled, and preserves manual generation afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.