ComfyUI Node
CMK FaceProcess
A ComfyUI node in CMK/Toolbox/Face with 27 inputs and 7 outputs.
CMK FaceProcess
- image
- face_pipe
- image
- image_proceed
- segs_detected
- segs_processed
- log_pipe
- enabled
- diagnostic
◄boolean_faceprocess_enabletrue►
◄enabletrue►
◄process_modeRestore►
◄refine_modeOff►
◄detect_model▾►
◄detect_bbox_threshold0.50►
◄detect_bbox_dilation0►
◄detect_crop_factor3.0►
◄detect_drop_size10►
◄restore_model▾►
◄restore_facedetection▾►
◄restore_visibility1.00►
◄restore_codeformer_weight0.50►
◄select_face_selectionall►
◄select_sort_byarea►
◄select_reverse_orderfalse►
◄select_take_start0►
◄select_take_count1►
◄detail_guide_size512►
◄detail_guide_size_fortrue►
◄detail_max_size768►
◄detail_denoise80►
◄detail_noise_masktrue►
◄detail_force_inpainttrue►
◄detail_paste_feather20►
CategoryCMK/Toolbox/Face
Inputs (27)
| Name | Type | Default | Description |
|---|---|---|---|
| imageopt | IMAGE | — | |
| face_pipeopt | * | — | |
| boolean_faceprocess_enableopt | BOOLEAN | true | — |
| enableopt | BOOLEAN | true | — |
| process_modeopt | COMBO | Restore | 3 options: Off, Restore, Detailer |
| refine_modeopt | COMBO | Off | 4 options: Off, Detail, Sharpen, Smooth |
| detect_modelopt | COMBO | 1 options: none | |
| detect_bbox_thresholdopt | FLOAT | 0.500–1 | — |
| detect_bbox_dilationopt | INT | 0-512–512 | — |
| detect_crop_factoropt | FLOAT | 3.01–100 | — |
| detect_drop_sizeopt | INT | 101–8192 | — |
| restore_modelopt | COMBO | 1 options: none | |
| restore_facedetectionopt | COMBO | 4 options: retinaface_resnet50, retinaface_mobile0.25, YOLOv5l, YOLOv5n | |
| restore_visibilityopt | FLOAT | 1.000–1 | — |
| restore_codeformer_weightopt | FLOAT | 0.500–1 | — |
| select_face_selectionopt | COMBO | all | 3 options: all, filter, largest |
| select_sort_byopt | COMBO | area | 4 options: area, x_position, y_position, detection_confidence |
| select_reverse_orderopt | BOOLEAN | false | — |
| select_take_startopt | INT | 00–100 | — |
| select_take_countopt | INT | 11–100 | — |
| detail_guide_sizeopt | FLOAT | 51264–8192 | — |
| detail_guide_size_foropt | BOOLEAN | true | — |
| detail_max_sizeopt | FLOAT | 76864–8192 | — |
| detail_denoiseopt | FLOAT | 8050–100 | Sampling entry in percent. Later entry preserves the original face; earlier entry rebuilds it more strongly. |
| detail_noise_maskopt | BOOLEAN | true | — |
| detail_force_inpaintopt | BOOLEAN | true | — |
| detail_paste_featheropt | INT | 200–200 | — |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| image_proceed | IMAGE | — |
| segs_detected | SEGS | — |
| segs_processed | SEGS | — |
| log_pipe | STRING | — |
| enabled | BOOLEAN | — |
| diagnostic | CMK_DIAGNOSTIC | — |