stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Request] Finally, Outpainting (like Dally) for SD!

Open ZeroCool22 opened this issue 3 years ago • 22 comments
trafficstars

https://github.com/lkwq007/stablediffusion-infinity

Could you include it in your UI?

https://user-images.githubusercontent.com/13344308/198017867-ff2a65cd-8406-4910-8d5f-0d8272b7e841.mp4

197257616-82c1e58f-7463-4896-8345-6750a828c844

ZeroCool22 avatar Sep 14 '22 23:09 ZeroCool22

this looks awesome.

aniketgore avatar Sep 15 '22 10:09 aniketgore

Please ! <3 Automatic are so wounderfull man for all you already did for us, pls add this its very cool

dingir8 avatar Sep 15 '22 11:09 dingir8

+1 for this I'm tired of having setup 5 containers for each web ui :D

kodxana avatar Sep 15 '22 11:09 kodxana

Im gonna be nitpicky and say it does not convey a styule of the painting , maybe you need to lead with prompt... but yeah it does look good but i think this is using such different UI it would require major rewrite to this one to be able to move rectangle like this

1blackbar avatar Sep 15 '22 14:09 1blackbar

Im gonna be nitpicky and say it does not convey a styule of the painting , maybe you need to lead with prompt... but yeah it does look good but i think this is using such different UI it would require major rewrite to this one to be able to move rectangle like this

You could add a new empty tab in the UI for this

EDIT: I would make the whole canvas and interaction on the client-side

marquilio7 avatar Sep 15 '22 14:09 marquilio7

This would be brilliant! Thanks for everything, Automatic.

randecse avatar Sep 15 '22 21:09 randecse

yes please!

johneliot1978 avatar Sep 23 '22 12:09 johneliot1978

i second this

it will help a lot

gamerey43 avatar Oct 15 '22 19:10 gamerey43

this would actually simplify the code for outpainting

Automatic this is literally a good idea and it's good the community views your version as the defacto for the most part :)

gamerey43 avatar Oct 15 '22 19:10 gamerey43

Yeah I would die for this ngl. Would make it easy as heck to outpaint.

MrFelt avatar Oct 19 '22 13:10 MrFelt

pleeeeeease

IkariDevGIT avatar Oct 20 '22 19:10 IkariDevGIT

What about a collab with author of sd infinity?

nulqwy avatar Oct 25 '22 17:10 nulqwy

please please please please please :)

IIIIIIIllllllllIIIII avatar Oct 26 '22 09:10 IIIIIIIllllllllIIIII

This would be a great addition to me.

Mikerhinos avatar Oct 26 '22 11:10 Mikerhinos

I work with very wide images (5:1) and SD does not handle this width well for the most part. With Infinity as part of the webui I could create better images and outpaint the extra width and have a more coherent subject. That would be awesome! Thanks for all that we have so far it has been GREAT.

mbloflin avatar Oct 27 '22 04:10 mbloflin

try the script basic outpainting canvas test or the PR #3693

ClashSAN avatar Oct 28 '22 03:10 ClashSAN

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions#openoutpaint-extension Reopen if that's not the feature you were requesting for, or it doesn't work as stated.

mezotaken avatar Jan 05 '23 17:01 mezotaken

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions#openoutpaint-extension this is something different! ;-)

Frief84 avatar Jan 06 '23 19:01 Frief84

@Frief84 Can you elaborate a bit? I can see its missing eraser, and it is obviously different UI, but everything else is in place? Regional outpainting on infinite canvas using local webui installation. It's no problem to reopen the issue, but we need to point out a difference so that someone else who sees the issue could understand this difference and implement it.

mezotaken avatar Jan 06 '23 21:01 mezotaken

@Frief84 Can you elaborate a bit? I can see its missing eraser, and it is obviously different UI, but everything else is in place? Regional outpainting on infinite canvas using local webui installation. It's no problem to reopen the issue, but we need to point out a difference so that someone else who sees the issue could understand this difference and implement it.

oh yes of course sorry An eraser is only present...but just on different place

So the first difference I found is the infinite canvas, in the implemented openoutpaint extension it is limited, which means you can create larger resolutions in this one

The second is that they seem to be trying to keep the style of the first picture without having to mention it in the prompt

transparency is perceived as a mask if selected

those are the two things that struck me as a newbee

Frief84 avatar Jan 06 '23 21:01 Frief84

I see.

  1. Infinite canvas is not infinite in openoutpaint
  2. SDInfinity use interrogation to ensure the same style.

Transparency as a mask is purely inside-job from local inpainting implementation, probably worth a separate issue, this is not connected to openoutpaint.

  1. How long ago it was not infinite? looks like they implemented it about 3 weeks ago:

image https://github.com/zero01101/openOutpaint/pull/108

  1. About keeping style: which model are you using?

mezotaken avatar Jan 06 '23 21:01 mezotaken

sd-v1-5-inpainting.ckpt ... I find stablediffusion-infinityis a bit more user friendly at least for me

Frief84 avatar Jan 06 '23 22:01 Frief84

This is fulfilled by openoutpaint extension and blinkdl's (painthua ?)

ClashSAN avatar May 01 '23 19:05 ClashSAN

Am I missing something but isn't this simply better UI for inpainting? Basically the UI should display to be rendered tile area (512x512 for low VRAM people) which you can position partially overlapping the existing image and then write a prompt to tell what the area should contain. Then the missing part is automatically masked, the whole to-be-rendered tile area is used as input for img2img and ControlNet with canny/canny model + "pixel perfect" option and position the output when ready.

mikkorantalainen avatar May 27 '23 09:05 mikkorantalainen