ComfyUI > Nodes > MW-ComfyUI_PortraitTools

ComfyUI Extension: MW-ComfyUI_PortraitTools

Repo Name

ComfyUI_PortraitTools

Author
mw (Account age: 2475 days)
Nodes
View all nodes(6)
Latest Updated
2025-06-15
Github Stars
0.02K

How to Install MW-ComfyUI_PortraitTools

Install this extension via the ComfyUI Manager by searching for MW-ComfyUI_PortraitTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MW-ComfyUI_PortraitTools in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MW-ComfyUI_PortraitTools Description

MW-ComfyUI_PortraitTools offers features like facial detection, cropping, alignment, and ID photo creation, enhancing portrait editing capabilities within ComfyUI.

ComfyUI_PortraitTools Introduction

ComfyUI_PortraitTools is an extension designed to enhance portrait processing capabilities within the ComfyUI framework. This toolset is particularly beneficial for AI artists who wish to streamline their workflow when dealing with portrait images. The extension offers a variety of features that simplify tasks such as image loading, watermarking, face alignment, and photo enhancement. By automating these processes, ComfyUI_PortraitTools helps artists focus more on creativity and less on technical details, solving common problems like manual image adjustments and repetitive editing tasks.

How ComfyUI_PortraitTools Works

At its core, ComfyUI_PortraitTools operates by integrating several nodes into the ComfyUI environment, each designed to perform specific tasks related to portrait processing. Think of these nodes as individual tools in a digital toolbox, each with a unique function. For instance, one node might handle the automatic alignment of faces in an image, ensuring that all faces are oriented correctly, while another node might apply watermarks to images or videos to protect your work. By connecting these nodes in a workflow, you can automate complex processes, making it easier to manage and edit portrait images efficiently.

ComfyUI_PortraitTools Features

  • Image Loading: This feature allows you to load images from customizable paths, including subdirectories. It simplifies the process of organizing and accessing your image files.
  • Automatic Watermarking: Automatically apply watermarks to both images and videos, ensuring your work is protected from unauthorized use.
  • Face Alignment: Automatically aligns faces in images to a frontal position, which is particularly useful for creating uniform portrait collections.
  • Face Detection and Cropping: Detects faces in images and crops them with optional alignment. You can adjust the crop area size and angle to suit your needs.
  • Passport Photo Generation: With a single click, generate various passport photo formats, saving time and ensuring compliance with different standards.
  • Photo Enhancement: Enhance your photos by adjusting brightness, saturation, sharpening, and smoothing skin textures, all within the same workflow.

ComfyUI_PortraitTools Models

ComfyUI_PortraitTools utilizes specific models for face detection and restoration. If you are using nodes like ComfyUI-ReActor or ComfyUI-RMBG, the models are shared, and you do not need to download them separately. However, if you are not using these nodes, you will need to download the detection model, such as detection_Resnet50_Final.pth, and place it in the appropriate directory.

What's New with ComfyUI_PortraitTools

  • 2025-04-28: Introduced image loading with customizable paths, including subdirectory support.
  • 2025-04-24: Added automatic video watermarking, expanding the protection of your digital content.
  • 2025-04-14: Implemented automatic image watermarking, ensuring your images are safeguarded against unauthorized use.
  • 2025-04-11: Released version v1.0.0, marking the initial launch of the extension with core features.

Troubleshooting ComfyUI_PortraitTools

If you encounter issues while using ComfyUI_PortraitTools, here are some common problems and solutions:

  • Images Not Loading: Ensure that the file path is correctly set in the extra_help_file.yaml file. Remove any annotations and specify the correct directory.
  • Watermark Not Applying: Check that the watermarking node is correctly connected in your workflow and that the watermark file is accessible.
  • Face Detection Errors: Verify that the face detection model is correctly installed in the ComfyUI\models\facedetection directory.

Learn More about ComfyUI_PortraitTools

To further explore the capabilities of ComfyUI_PortraitTools, consider visiting the following resources:

  • ComfyUI-RMBG: For advanced background removal and segmentation.
  • Facerestore CF: For face restoration using CodeFormer Fidelity.
  • Community forums and tutorials on platforms like GitHub and Hugging Face, where you can ask questions and share experiences with other AI artists. By leveraging these resources, you can enhance your understanding and usage of ComfyUI_PortraitTools, making your portrait processing tasks more efficient and creative.

MW-ComfyUI_PortraitTools Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.