sd-dynamic-prompts icon indicating copy to clipboard operation
sd-dynamic-prompts copied to clipboard

[Feature Request] Dynamic Resolutions

Open VL4DST3R opened this issue 1 year ago • 4 comments

Would it be possible to provide (via prompt or otherwise) a set list of image sizes for the extension to cycle through, e.g. { 512x768 | 768x512 | 640x768 } so we can get the same variation derived from prompts like we can get from various canvas sizes? (i.e. image composition and subjects can vary wildly between say, landscape and portrait, at the same size)

It would be a huge QOL improvement for people like me who set up complex lists and rules and then let it churn out images while doing something else.

VL4DST3R avatar Mar 22 '24 08:03 VL4DST3R

There is no provision to control anything else but prompt right now. This would be more of a thing for the X/Y/Z grid script that sd-webui has, but apparently (and bafflingly) it doesn't have a "Size" option.

akx avatar Mar 22 '24 09:03 akx

apparently (and bafflingly) it doesn't have a "Size" option.

I know right? I've considered trying to use that as well a while back but gave up. Ideally given this extension's scope I felt it was best to be included here.

Maybe as a drop-down option like prompt magic? I imagine there is a way to change it programatically, and I'm pretty sure I've seen scripts do funny stuff with outpainting and such which I imagine have to change the image size to do their magic.

VL4DST3R avatar Mar 22 '24 09:03 VL4DST3R

Well: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15354

akx avatar Mar 22 '24 09:03 akx

LMAO awesome XD.

But isn't this a bit of a sidestep? As you don't necessarily want to create a X/Y/Z plot for a particular prompt - you just want to cycle through resolutions randomly.

VL4DST3R avatar Mar 22 '24 09:03 VL4DST3R