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

[Feature Request]: Separate Inpainting and Outpainting tab

Open aniketgore opened this issue 3 years ago • 8 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

As we have a better inpainting model based on 1.5 SD, it would be great to have different tabs for inpainting and out painting, and a more refined functionality related to it. Like selection of canvas that you want to outpaint. Etc.

Proposed workflow

Different tabs for In Painting and Out Painting with their own functionalities.

Additional information

No response

aniketgore avatar Oct 21 '22 11:10 aniketgore

This could be combined with a canvas styled interface for outpainting.

Ladypoly avatar Oct 21 '22 13:10 Ladypoly

This could be combined with a canvas styled interface for outpainting.

In the context of this UI, based on Gradio, that should be asked in gradio repository IMHO. Then, maybe...

Ehplodor avatar Oct 21 '22 13:10 Ehplodor

This could be combined with a canvas styled interface for outpainting.

There's a project that went that direction indeed (stablediffusion-infinity). But of course as @Ehplodor said, in this case a pure Gradio interface would be preferred.

DarioFT avatar Oct 21 '22 17:10 DarioFT

Actually, at least two potential solutions are actively developed for "DALL-E 2"-like canvas outpainting within the current UI :

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/3507
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/2587

Also, infinite outpainting asked a few times already :

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/1481
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/1014
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/480
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/18
  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/3561

Ehplodor avatar Oct 24 '22 08:10 Ehplodor

I'm pretty close to a working prototype for outpainting (and making another tab for it should be boilerplate level), but the last part really needs someone who knows how to work with the JS here. Edit: Prototype's done, code's still kind of messy but the post has most of the methods documented.

Symbiomatrix avatar Oct 24 '22 14:10 Symbiomatrix

pleease do this

IkariDevGIT avatar Oct 25 '22 16:10 IkariDevGIT

PR is up: #3693 I think Thomas has a much more convenient version, whereas this one should be fairly simple to incorporate into the main branch.

Symbiomatrix avatar Oct 26 '22 09:10 Symbiomatrix

Added an outpainting tab to the PR, see #4134 for latest version.

Symbiomatrix avatar Nov 01 '22 16:11 Symbiomatrix

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions#openoutpaint-extension https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Scripts#alpha-canvas https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/4195 There were many attempts, pretty sure it wont happen in main repo.

mezotaken avatar Jan 13 '23 15:01 mezotaken