Auto resize while also remaining within optimal SDXL resolutions #263
lamb570
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a shortcode script to automatically resize while also staying at a total pixel height + width of 2048. This means that if you batch up a bunch of images and some are upscaled, photos, or whatever would lead to them not being an ideal SDXL resolution you can still utilize the automatic resize... It will convert something like 4096x4096 down to 1024x1024... This way you'll more likely sweet spot the image generation.
If @ThereforeGames or anyone else sees this, unprompt is awesome, and I would love to get this working in Forge since it's far faster.
I simply replaced my own autoresize python with this one... Happy to make a PR but I'm not sure this repo is active so wanted to share.
Beta Was this translation helpful? Give feedback.
All reactions