Skip to content

Inpaint at full resolution  #812

@arandomgoodguy

Description

@arandomgoodguy

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

It would be excellent if StableDiffusionInpaintPipeline has the option of inpainting at full resolution since most of the time, if your initial image includes human face, and you want to keep human face unchanged, the output image of the face part is likely to be a lot blurry.

Describe the solution you'd like
The idea is to only resize the masked region, and after processing it is pasted back to the original picture, and I found a good implementation here, but wonder how to add this option to StableDiffusionInpaintPipeline.

https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/429442f4a6aab7301efb89d27bef524fe827e81a/modules/processing.py#L621

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions