zero01101 / openOutpaint

local offline javascript and html canvas outpainting gizmo for stable diffusion webUI API 🐠
MIT License
499 stars 43 forks source link

[Feature Request]: Symmetrical Outpainting #184

Closed CJohnDesign closed 1 year ago

CJohnDesign commented 1 year ago

Is your feature request related to a problem? Please describe.

Images of the problem I'm running into: https://www.reddit.com/r/StableDiffusion/comments/10jprya/how_do_i_get_symmetrical_outpainting/

Describe the solution you'd like

A checkbox that allows the outpainted area to be symmetrical.

Proposed workflow

Describe alternatives you've considered

Currently, I'd have to photoshop one side onto another.

Additional context

Also posted here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7147

zero01101 commented 1 year ago

hey, so i don't want to immediately crush anyone's hopes or anything but this seems like an incredibly niche desire, like genuinely something i've literally never heard anyone even mention doing before, and seems to be only applicable to extremely limited use cases with very specifically chosen input images... like unless both edges are essentially 10-15% of the image's width of a flat single color, there's no possible way this could ever produce coherent output without manual intervention in the first place.

it really sounds like photoshop is a far more appropriate tool for the job, or possibly just an A1111 script?

[edit] ok wow so i just re-read your request and unfortunately i have to doubly drop some bad news- i don't know of anything in A1111 webUI that supports pausing/resuming image diffusion from latent noise in the first place, much less doing something inbetween the pause/resume, so there'd be nothing we'd even be able to do here in the first place

zero01101 commented 1 year ago

i think this is exactly what you're looking for as far as mid-diffusion processing? https://github.com/comfyanonymous/ComfyUI/commit/69df7eba94edd8eee430374a380de15e54ab1f2c ... https://github.com/comfyanonymous/ComfyUI/commit/3fa009f4cc6794e432914ec6df6e8c0b42f32e16 too maybe to flip the latent?