Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Allow users to generate into a selection, rather then in-paint #1626

Open
it-s opened this issue Feb 23, 2025 · 3 comments
Open

Comments

@it-s
Copy link

it-s commented Feb 23, 2025

Currently using selection in Krita automatically puts the extension into inpaint mode, applies feather to the selection and loads inpaint IPadatper.
It would be nice if the extension had an option to just generate a new image the size of selection and return it.
Why is this useful?
Krita has a few presets for comics that create a setup with comics pages complete with panels. Right now, when user does this, they have to use inpaint workflow to fill the panels which picks up panel outlines and background and results in model trying to outpaint those.
If selection size generations were possible user could just select the panel region and genereate a fresh image into it, resulting in cleaner output.

@it-s it-s changed the title Allow users to generate into a selection, rather then in-paint Enhancement: Allow users to generate into a selection, rather then in-paint Feb 23, 2025
@Acly
Copy link
Owner

Acly commented Feb 23, 2025

This is possible: use Generate (Custom), Semless off, Neutral fill, Context set to selection only.
https://docs.interstice.cloud/selections/#custom-generation

@it-s
Copy link
Author

it-s commented Feb 24, 2025

@Acly thanks for your response, but even with all those properties selected the plugin is still picking up the context from the existing image, adds feather and tries to inpaint it. I can see the border artifacts for SDXL and SD1.5 models, and FLUX doesn't work with inpaiting at all (that might be just my setup)
Setting:
Image
Before:
Image
Result SDXL:
Image
Result Flux:
Image

@Acly
Copy link
Owner

Acly commented Feb 24, 2025

You can disable grow/feather in Diffusion Settings. I'm not sure those images are proof it picked anything up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants