lllyasviel / lllyasviel/stable-diffusion-webui-forge
[Feature Request]: Integrate --sd-webui-ar-plusplus
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- 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 ?
### One of the primary elements in image generation is resolution.
**Image models are trained on various sized images, but "bucketing" has them trained on 64px increments, which is why ideal image generation resolutions are also in 64px increments.**
Most people do not understand this, and do not connect popular aspect ratios to values which are rounded to that precision.
Last week, I found myself wanting an extension that provides ideal image resolutions and found that **there are currently none**.
---
**My findings**:
The Aspect Ratio / Resolution extensions in the current list of Available Extensions
https://github.com/xhoxye/sd-webui-ar_xhox
- Makes an enormous panel of user configured static resolutions
https://github.com/bit9labs/sd-ratio-lock
- Lets you select an aspect ratio from a dropdown list and locks the sliders to it.
- Rounds to increment of 2px
https://github.com/thomasasfk/sd-webui-aspect-ratio-helper
- Lets you select an aspect ratio from a dropdown list and locks the sliders to it.
- Rounds to increment of 1px
- Has an extremely verbose configuration
https://github.com/alemelis/sd-webui-ar
- Adds a few aspect ratio buttons and static resolution buttons.
- Built in 4px rounding precision.
- Does not have any toggles.
https://github.com/LEv145/--sd-webui-ar-plus
- Same as above, but improves upon it with:
- Toggle to switch from Width or Height being updated.
- A verbose calculator tool that is not particularly helpful
---
**In my opinion**: [The fork by LEv145](https://github.com/LEv145/--sd-webui-ar-plus) is the best of these, but none of these are satisfactory.
I made [an issue](https://github.com/LEv145/--sd-webui-ar-plus/issues/21) in regards to their calculation method and rounding precision, and they were not bothered to do anything about it.
### I decided I would fork that project and try to resolve the issues I perceived.
## As I was nearing completion, I thought the features of this extension could be useful for everyone. I'm suggesting that you take a look and consider integrating this.
## If you are interested, but do not like one feature or another, please let me know.
---
**Default view**
---
**With Information panel toggled open**
### Proposed workflow
## https://github.com/altoiddealer/--sd-webui-ar-plusplus
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by reviewing the proposed extension at https://github.com/altoiddealer/--sd-webui-ar-plusplus and the listed existing extensions, then clarify the integration scope with maintainers; done means the requested functionality is agreed upon and integrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100