r/StableDiffusion • u/Ryukra • Oct 20 '22
There is a new model that brings SD inpainting/outpainting onto the level of Dall-E2. Thanks for Runway to make it open for everyone.
827
Upvotes
r/StableDiffusion • u/Ryukra • Oct 20 '22
23
u/Ryukra Oct 20 '22
I added it early to my repo thats used with my photoshop plugin. But it should come to a lot of SD repos soon!
15
u/Ryukra Oct 20 '22
You can already use it with my repo and if you have photoshop, I integrated into it aswell. If you can't wait.
https://github.com/ryukra/stable-diffusion-webui
https://twitter.com/AestusAi
20
u/filoni Oct 20 '22
So awesome when major players in the industry share code with eachother, for the greater cause!
97
u/Phelps1024 Oct 20 '22
I wonder if this is going to come to Automatic 1111 ui in a future update, because the defaut SD outpainting feature is pretty weak, like, super weak
6
u/Ihatemosquitoes03 Oct 20 '22
I hope it works well, inpainting is the only thing I still use DALLE for
4
u/blackrack Oct 20 '22
What exactly does this model change? How exactly is it finetuned for in/outpainting?
2
u/ksmtk Oct 20 '22
could please anyone post a link to the model?
75
u/RayHell666 Oct 20 '22
This guy did an implementation in his repo
https://github.com/AmericanPresidentJimmyCarter/stable-diffusion
45
u/man-teiv Oct 20 '22
Take that "open"AI. This is what true openness means, faster advancement and collaboration.
12
u/Gilgames_ Oct 20 '22
Just FYI guys if you ever wanna try out locally the changes a pull request is adding before it gets merged, you can do
git fetch origin pull/ID/head:LOCAL_BRANCH_NAMEto create a local branch that tracks the pull request and thengit checkout LOCAL_BRANCH_NAMEto switch to it.Note that ID is the id of the pull request (3192 in this case, on automatic's repo) and LOCAL_BRANCH_NAME is whatever name you wanna give to your local branch that tracks such pull request.
6
u/ethereal_intellect Oct 20 '22
Damn i was getting close to this with img2img alt https://imgur.com/a/hMrJOe1 but looks like i got scooped :D theirs is way better
The idea was having an empty prompt generate an unconditional image, (promptless txt2img,they usually look like "stuff") put the original as small in the middle, reverse it into an init latent and reconstruct. The uncond edge usually gets nicely destroyed and rebuilt into the prompt proper, but i had issues with cfg blowing out the colours, the middle image getting slightly changed in the reconstruction, negative prompts changing the image reconstruction too much etc. Also takes like 4x as long because of the forward noise+backwards+forwards all going full instead of just one lower step forward construction (this took like half an hour). I might post a guide later - or if someone requests it
https://imgur.com/a/hMrJOe1
4
u/mudman13 Oct 20 '22
If only I had an imagination to use it with.
3
u/Poildek Oct 20 '22
Tested in automatic1111 webui, works great ! real improvment wihtout doing anything on the image (sample below, same seed, Euler A, 80)
https://imgur.com/a/cfhzqev
6
u/[deleted] Oct 20 '22
Is there a repo I can use to try it in my laptop?
2
u/MeiBanFa Oct 20 '22
Newbie question: is the end result still limited to 512x512 pixels?
2
u/Jujarmazak Oct 20 '22
But their Github page only mentions the inpainting, is the outpainting in a different page or what?
I have been looking for something similar to Dall-E2 outpainting but most of my attempts ended in failure or huge disappointment after trying it out.
2
u/JakeQwayk Oct 20 '22
Hope this gets added to the photoshop Alpaca plugin
2
u/[deleted] Oct 21 '22
Poor openAI, at this rate they'll be irrelevant (more than they are today) by the year's end lol
1
u/Shaz0r94 Oct 20 '22
Will this be a good solution to expand generated images past the 512 x 512 resolution like outpainting a 512 x 512 image to be bigger? For now my only process is the upscaling but with a times 4 upscale its quite a quality loss.
1
u/TheXade Oct 20 '22
Can't wait to find it on any fork with an easy gui, I'm in love with this feature!