The process in AbdullahAlfraj’s plug-in is much more fluid than manually resizing it. ![]() If you don’t resize, you could end up with images that are far too large for SD to process on most graphics cards. From what I can tell, your plug-in is instead opting to use the selection tool to create a mask and then inputting the entire canvas into Stable Diffusion with the selected area as the “inpaint area.” This seems like it would only work if you have some sort of automatic resizing baked into the script to shrink -> send to SD -> inpaint -> send back to photoshop -> fit to selection. Inpainting is accomplished by effectively just adding a blank layer on top and painting the areas you want inpainted with white. A preview is then shown within the plug-in window. Best practice is to use a 1:1 or a 2:3 aspect ratio for the marquee selection in photoshop and to have your dimensions in the plug-in match the aspect ratio you select. Then, you make your selection using the marquee tool and that selection is then resized to fit those pre-selected dimensions (this is similar to how Automatic’s GUI operates within img2img when you select “Just Resize”). Overall, currently Abdullah's plugin is much further along and allows for much more customizability, but I think that what /u/isekaidev has here is a great start and opens the door to a much more fluid user experience.įirst off, great job on the plug-in, it’s a very smooth process to get it up and running and works really really well for v.01įor shrinking down - essentially you can select (as you can see in my image) the height and width of the image that will be sent to the model. I do love that there are multiple plugins being developed though, and the ease of making this new plugin work is a very nice step forward in terms of development. I think that is pretty much a must-have for any photoshop plugin, so until then I don't think I'll be able to use this outside of smaller images. Here's a comparison between the two for img2img, left is this plugin and right is AbdullahAlfaraj's. ![]() One issue, and maybe /u/isekaidev can help with this, is that when I select an image for img2img that is extremely large (say 5400x7200) the plugin just crashes because it isn't resizing the selection and shrinking it down so that the model can process it.ĪbdullahAlfraj's plugin on the other hand gives you the option to select the size that the model will process (as well as enabling other features like "inpaint at full resolution" and "Hi Res Fix." The drawback here is that you basically have to inpaint within a selection with a 1:1 aspect ration, but you get around this by utilizing the mask feature as demonstrated here: However, this one is certainly easier to install and run. Having used AbdullahAlfraj's plugin frequently, I believe that his is further along due to outpainting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |