ComfyUI Extension: comfyui-face-beauty

Authored by FeiJiu518

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

ComfyUI plugin for face detection, square cropping with dilation, and paste-back with feathered edges for smooth blending.

Looking for a different extension?

Custom Nodes (0)

    README

    Face Beauty - ComfyUI Custom Nodes

    A ComfyUI plugin for face detection, square cropping, and paste-back with feathering.

    Nodes

    Face Crop Square

    Detects faces from SEGS input, crops each face as a square with dilation, and outputs individual face images ready for processing.

    • preview: Original image with detection boxes drawn (red = detected bbox, green = expanded crop area)
    • face_crops: List of cropped face images, each clamped to [1024, 2048]
    • crop_data: Coordinate data used by Face Paste Back

    Parameters: | Parameter | Description | |-----------|-------------| | dilation | Pixels to expand the square crop outward |

    Face Paste Back

    Pastes processed face images back onto the original image with feathered edges.

    Parameters: | Parameter | Description | |-----------|-------------| | feather | Edge feather width in pixels for smooth blending |

    Workflow

    UltralyticsDetectorProvider
            +
      BboxDetectorSEGS
            ↓ SEGS
      Face Crop Square
            ↓ face_crops (list)
      [Your beautification workflow]
            ↓
      Face Paste Back ← crop_data, feather
            ↓
      Save Image
    

    Requirements

    Installation

    1. Clone or download this repository into your ComfyUI/custom_nodes/ folder
    2. Restart ComfyUI
    3. The nodes will appear under the FaceBeauty category

    Run ComfyUI workflows without the setup

    No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

    Learn more