Guys, help me out on this.
Is there any good tutorial on fixing the hands on SD1.5 for both the manual way using photoshop and using the inpainting tools for from the sd webui.[For Anime images only]
The genre doesn't matter, hands and toes are a constant issue with SD among other things.
There have been attempts to fix it with varying results. There isn't any perfect solution that works 100 percent of the time unfortunately. However, there are of course ways to improve the result and get something that doesn't look like a mutant.
Best practice is to try avoid bad hands to begin with.
Use a good resolution ratio.
Since you are using SD1.5 this means you need to keep the resolution under 1024 for the sample image otherwise you will likely get 2 merged images, resulting in mutants and aberrations. I would suggest using 512x768 (2:3 ratio) alternatively 576x768 (3:4 ratio), 640x960 (2:3 ratio) alternatively 720x960 (3:4 ratio) if you want a bigger image.
In my experience you get better results with a portrait ratio (2:3 or 3:4) rather than letterbox ratio (square 1:1), this might depend on how the checkpoint has been trained though.
Don't use too many loras or embedding at once.
When a lora or embedding is being trained, the entire subject is always being trained. This means that there is no such thing as only an outfit lora for example even though people claim this. So when you use many loras and/or embeddings you are more likely to have clashes that will result in mutants.
if you are using openpose, take the time to refine the pose in the editor especially the hands and fingers. The preprocessors are not even close to being perfect in it's detection.
Don't keep banging your head against the wall and trying to make a checkpoint model do something it has not been trained for or simply can't. If you keep getting bad results try several different checkpoints and see which gives the best result. For this purpose xyz plot script is great.
Go through the prompt and simplify it, remove any clashing words.
Most of the time I avoid using inpainting and simply generate more images until I get something good, but sometimes it can't be helped. After detailer has a hands model the will do inpainting for you on the fly, this doesn't work flawlessly but it can improve the result significantly when it works. I highly recommend getting adetailer and learning how to use it.
I have made tutorials exploring hands issues with inpainting manuallly. It's not perfect but it will at least point you in the right direction.
Other option is using the inpainting type plugin for the free image editor krita. I will link to this as well.
XYZ Plot Script Tutorial: https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-12816116
Fixing Hands with inpainting: https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-12545892
Krita Tutorial: https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-12643242