Preserving the style in replaced face #188
-
Greetings! I use Reactor to make generated images resemble some of the characters. I've been trying to create Harrier from Disco Elysium, and managed to find a decent combination of model, prompt and LORAs to replicate the vibe of Disco Elysium artstyle. For example, Then, I use the Reactor to apply the face via img2img: And the face looses all the style of the original image, looking very realistic instead (which might be coming from the SD checkpoint/base model?) Same thing happens in txt2img. I initially thought that Reactor somehow uses the currently selected model and generates a face using the "reference" image. Seems that it works somewhat differently, since the inpainted face lacks the effects of LORAs/parts of the prompt. Is there any way I can preserve the style in face-swapping? Some of the stuff that I use:
And also, Reactor:
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello! |
Beta Was this translation helpful? Give feedback.
Hello!
It happens because of the face restorers influence in the final result
ReActor uses 128x128 inswapper model to swap the face, that's why we need to restore the face after we make a swap
Nothing can be done with this right now - only one inswapper model is available for users :(
So, CodeFormer tries to make a face as more realistic as it can, restoring a lot of details, try to play with the "CodeFormer Weight" parameter to change its affection to the face
Or try GFPGAN, it's more appropriate for art images
Also you can try to reduce the "Restore Face Visibility" parameter a little