How to Transfer a Face From One Image to Another
Last updated
Last updated
You can mix the face from one image with body from another one by following these steps:
1. Generate the image that has the face you would like to use. Save it to the gallery
2. Generate the image that has the body you would like to use. Save it to the gallery
3. Select the Stable Diffusion model you want to use for the final image. It should be one that supports ControlNet.
4. Create a mask image that only has the face with transparent background. You can use the ControlNet preprocessor to do this:
Drag the βfaceβ image from the gallery to the controlNet module.
Select the Segmentation preprocessor (second one from the bottom on the left side of the CN image)
Tap the subject mask button and make sure you have transparent background selected. This should create the mask you need with only the face. Note: If your face image also has a body or other things you need to remove from the mask, click the βSend to Main Windowβ button to the right of the CN image, then activate the "Lasso Eraser / Mask Tool".
5. Select the InPaint CN Model.
6. Restore the βbodyβ image from the gallery with all of its settings, and turn seed shuffle OFF.
7. Drag and drop the βbodyβ image from the gallery to the Guide Image module. Set strength between 50-65%.
8. Zoom and pan the CN face mask image so it is in the correct position relative to the body image.
9. Generate the image
10. With real-time rendering ON, adjust the position of the face mask, steps, guidance, etc. until the image is right.