krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

cant figuire out how to properly use remove content

Open bsl3 opened this issue 1 month ago • 4 comments

cant figure out how to properly use remove content, I want to remove a character from a scene, and just fill that removed area. I'm having trouble with this, help would be appreciated. This is my first time using an AI tool like this, and krita. I did whole setup just to remove objects in scenes. Thank you settings: Image

Image Orignal: Image Result: Image

bsl3 avatar Nov 25 '25 20:11 bsl3

A few issues in what I see in your screenshots:

  1. if you want to use a genarlist/realistic checkpoint like Juggernaut (which is a right choice), don't select it within Anime / Illustrious style, they are different things altoigether; use Cinematic style or Digital art. Juggernaut v6 is a very old version by now, download the latest, Ragnarok one, from CivitAI
  2. Your selection is too large against the image size, the model will struggle to fill up the removal area meaningfully (although it might work, if you try many more times)
  3. Don't user any remove commands in the prompt, that's for latest generation of Edit models like Flux Kontext - NOT for SDXL or illustrious. Leave the prompot field empty or at least use something neutral/appropriate for the area content (like "clouds") that won't trigger model's desire to fill the area with an object from your prompt
  4. Oftentimes, Generate (Custom) with Seamless on works better for object removal than Remove Content; for Remove, you'll typically have to adjust Grow and Feather values in the plugin's Diffusion / Selection dialogue box
  5. Even when all settings are right, clean removal is never guranateed, you will often have to do additional manual retouching with the Erase or Clone brush along the selection edges, for the removal to be completely seamless.

There are more considerations for the object removal business, but I think you've already got enough info to chew on :-)

minsky91 avatar Nov 25 '25 21:11 minsky91

Thank you so much for the detailed reply, I update all the settings, but then do you suggest selecting things in chunks instead, like do the arm, then head, sword, ec.

bsl3 avatar Nov 26 '25 00:11 bsl3

I tried to do it in chunks even with all the suggestions you gave, I updated juggernaut, and used a different model, I tried all 3, flux, cinematic, and digital, as well as trying to use custom and seamless, same issue with everything, it does not remove the object, just replaces it

bsl3 avatar Nov 26 '25 01:11 bsl3

Doing that in chunks will not address the issue of the total object removal area remaining disproportionately large against the image itself, you will just make your work more laborious by creating more of conspicous fragments that need to be cleaned up. A more natural solution would be to completely regenerate the image, but make sure to prompt the model to fill it with the background only this time. My set of steps was mostly for the more general case of an object to be removed being small - like, no bigger than 1/4 of the total pixel size of the picture.

That said, I believe even objects as large as in your test case can be removed without much trace. Would you share a set of screenshots for your latest trial? I could see then what can still be done better. Also, if nothing helps, I could try doing that myself, but I'd need the image from you shared in its actual size here.

minsky91 avatar Nov 26 '25 10:11 minsky91

Generate (Custom) with Seamless

Wrong name btw. There are always seams anyway.

fukc-gihtub avatar Dec 01 '25 16:12 fukc-gihtub