Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate detailed facial masks from cropped images using advanced face-parsing techniques for AI artists to isolate and manipulate specific facial features with precise control.
The JonathandinuMask node is designed to generate detailed facial masks from cropped images, leveraging advanced face-parsing techniques. This node is particularly useful for AI artists who need to isolate specific facial features for further processing or artistic manipulation. By utilizing a pre-trained model, the JonathandinuMask can accurately segment various facial components such as skin, nose, eyes, eyebrows, ears, mouth, lips, hair, and more. This segmentation allows for precise control over individual facial elements, enabling more refined and targeted edits. The primary goal of the JonathandinuMask node is to provide high-quality, feature-specific masks that can be used in a variety of creative and technical applications, enhancing the overall workflow for AI-driven art projects.
The crop
parameter represents the cropped image of the face that you want to process. This image serves as the input for the face-parsing model to generate the masks. The quality and resolution of the crop can impact the accuracy of the resulting masks.
The skin
parameter is a boolean flag that, when set to True
, includes the skin region in the generated mask. This allows you to isolate and manipulate the skin area separately. The default value is True
.
The nose
parameter is a boolean flag that, when set to True
, includes the nose region in the generated mask. This enables specific edits to the nose area. The default value is True
.
The eye_g
parameter is a boolean flag that, when set to True
, includes the eyeglasses region in the generated mask. This is useful for isolating and editing eyeglasses. The default value is True
.
The l_eye
parameter is a boolean flag that, when set to True
, includes the left eye region in the generated mask. This allows for targeted edits to the left eye. The default value is True
.
The r_eye
parameter is a boolean flag that, when set to True
, includes the right eye region in the generated mask. This allows for targeted edits to the right eye. The default value is True
.
The l_brow
parameter is a boolean flag that, when set to True
, includes the left eyebrow region in the generated mask. This enables specific edits to the left eyebrow. The default value is True
.
The r_brow
parameter is a boolean flag that, when set to True
, includes the right eyebrow region in the generated mask. This enables specific edits to the right eyebrow. The default value is True
.
The l_ear
parameter is a boolean flag that, when set to True
, includes the left ear region in the generated mask. This allows for targeted edits to the left ear. The default value is True
.
The r_ear
parameter is a boolean flag that, when set to True
, includes the right ear region in the generated mask. This allows for targeted edits to the right ear. The default value is True
.
The mouth
parameter is a boolean flag that, when set to True
, includes the mouth region in the generated mask. This enables specific edits to the mouth area. The default value is True
.
The u_lip
parameter is a boolean flag that, when set to True
, includes the upper lip region in the generated mask. This allows for targeted edits to the upper lip. The default value is True
.
The l_lip
parameter is a boolean flag that, when set to True
, includes the lower lip region in the generated mask. This allows for targeted edits to the lower lip. The default value is True
.
The hair
parameter is a boolean flag that, when set to True
, includes the hair region in the generated mask. This enables specific edits to the hair area. The default value is False
.
The hat
parameter is a boolean flag that, when set to True
, includes the hat region in the generated mask. This is useful for isolating and editing hats. The default value is False
.
The ear_r
parameter is a boolean flag that, when set to True
, includes the earring region in the generated mask. This allows for targeted edits to earrings. The default value is False
.
The neck_l
parameter is a boolean flag that, when set to True
, includes the neck (left side) region in the generated mask. This enables specific edits to the left side of the neck. The default value is False
.
The neck
parameter is a boolean flag that, when set to True
, includes the neck region in the generated mask. This allows for targeted edits to the neck area. The default value is False
.
The cloth
parameter is a boolean flag that, when set to True
, includes the clothing region in the generated mask. This enables specific edits to the clothing area. The default value is False
.
The masks
output parameter is a tuple containing the generated masks for the specified facial features. Each mask corresponds to a different facial component, allowing for precise and targeted edits. The masks are returned in the same order as the input parameters, providing a comprehensive set of segmented facial regions for further processing.
crop
) is of high quality and resolution to achieve more accurate mask generation.simple_square
, convex_hull
, BiSeNet
, or jonathandinu
.© Copyright 2024 RunComfy. All Rights Reserved.