Nodes:RetainFace, FaceFusion, RatioMerge2Image, MaskMerge2Image, ReplaceBoxImg, ExpandMaskBox, FaceSkin, SkinRetouching, PortraitEnhancement, ...
This project is an adaptation of EasyPhoto, which breaks down the process of EasyPhoto and will add a series of operations on human portraits in the future.
English | 简体中文
If you have any questions or suggestions, you can reach us through:
Note: When you start the plugin for the first time, it will download all the models required by EasyPhoto. You can see the download progress in the terminal. Please do not interrupt the download (no hash verification for startup speed). If the download is interrupted, you need to manually delete the files downloaded halfway last time and download them again.
First, install ComfyUI.
After ComfyUI runs successfully, go to the custom_nodes
directory ComfyUI/custom_nodes/
cd custom_nodes
git clone https://github.com/THtianhao/ComfyUI-Portrait-Maker.git
Easyphoto workflow location: ./workflow/easyphoto.json
Click "Load" in the right panel of ComfyUI and select the ./workflow/easyphoto_workflow.json file from the project.
RetainFace PM: Perform matting using models from Model Scope. Link
FaceFusion PM: Merge faces from two images.
RatioMerge2Image PM: Merge two images according to a specified ratio.
MaskMerge2Image PM: Merge images using a mask.
ReplaceBoxImg PM: Replace the image inside a specified box area.
ExpandMaskFaceWidth PM: Proportionally expand the width of the mask.
BoxCropImage PM: Crop an image using a box.
ColorTransfer PM: Perform color transfer on images.
FaceSkin PM: Extract the mask of the facial region from an image.
MaskDilateErode PM: Dilate and erode masks.
Skin Retouching PM: Apply skin retouching using the following model.
Portrait Enhancement PM: Process images using the following model.
ImageResizeTarget PM: Resize images to a target width and height.
ImageScaleShort PM: Reduce the smaller dimension of an image proportionally.
GetImageInfo PM: Extract the width and height of an image.
Face Shape Match PM: Apply a certain level of fusion between the diffused image and the original image to reduce differences around the face.
Makeup Transfer PM: Use a GAN network model to perform makeup transfer.
SuperMakeUpTransfer PM:(Multi-node integration) makeup by merging two pictures
SuperColorTransfer PM:(Multi-node integration) transfer the colors of two pictures
If you find any issues or have suggestions for improvement, feel free to contribute. Follow these steps:
git checkout -b feature/your-feature-name
git commit -m "Add new feature"
git push origin feature/your-feature-name
This project is licensed under the MIT License. See the LICENSE file for more information.
Feel free to join us and contribute to the development of the EasyPhoto ConfyUI Plugin!