You can now set image size automatically with Unprompted (+other new features!) #5772
Replies: 3 comments 1 reply
-
it's great to see the features from your custom scripts ported to extensions. Added a note for it in the description! |
Beta Was this translation helpful? Give feedback.
-
really great. have you thought about removing the ad so it's not default blocked in webui extension list? I'm sure more people would use it then. |
Beta Was this translation helpful? Give feedback.
-
The automatic image resizing for img2img is certainly appealing. Can't tell you the number of times I've forgotten to resize them myself. Though I will say that I'm pretty reticent to get an extension featuring ads. Yeah, I get the reasoning behind it in this case, but us internet-goers have been in an unending arms race against the ads since nearly its inception. A topic for another time and place no doubt... Anyway, taking a cursory run-through of the GitHub page for Unprompted, I guess I don't fully grasp the utility of this extension either so... 6o.o;; |
Beta Was this translation helpful? Give feedback.
-
Hi!
I have recently implemented some unique features to Unprompted that may improve your Stable Diffusion workflow.
For starters, there's a new shortcode that lets A1111 automatically determine the width and height settings for img2img. Did you know that these settings will impact your result even in full resolution mode? If the values do not closely match your initial image, your output will often suffer.
By adding
[img2img_autosize]
to your prompt, the Unprompted extension will calculate the closest possible aspect ratio within Stable Diffusion's limitations (i.e. a size divisible by 64px.) No more fiddling around with the sliders.You can even add the shortcode to your config file if you'd like to auto-enable it for every run:
Next up, there's the
[init_image]
shortcode which lets you load an image programmatically. You can give it a folder and it will pick a file there at random, e.g.[init_image "c:/pictures/*"]
. The shortcode also accepts secondary tags so you can do stuff like this:[init_image "{choose}picture_one.png|picture_two.png{/choose}"]
. It is quite useful for automating your img2img tasks.I have also ported my txt2mask script to Unprompted. Now you can combine it with other shortcodes and create many unique masks during a batch operation.
Finally, there is a new
[after]
shortcode that lets you append more Stable Diffusion tasks to your prompt. You can perform txt2img -> img2img (aka txt2img2img) with the press of a button:That's all for now! Happy to answer any questions you might have.
Going forward, I plan to introduce more SD-focused features, such as the ability to change your model via shortcode. Let me know if there's anything else you would be excited to see in Unprompted.
Repo link: https://github.com/ThereforeGames/unprompted
Beta Was this translation helpful? Give feedback.
All reactions