Nodes/cmk_nodes/CMK FaceSwap Image
ComfyUI Node

CMK FaceSwap Image

A ComfyUI node in CMK/Toolbox/Face with 15 inputs and 2 outputs.

By CMKFlow·Created 3 months ago·Updated about 12 hours ago· 6
CMK FaceSwap Image
  • target_image
  • source_image
  • opt_selected_target_face
  • opt_selected_source_face
  • image
  • diagnostic
◄enabledtrue►
◄swap_model▾►
◄detector_model▾►
◄face_enhancerOff►
◄target_selectionLargest►
◄source_selectionLargest►
◄blend1.00►
◄bbox_dilation0►
◄crop_factor1.5►
◄drop_size10►
◄feather0►
CategoryCMK/Toolbox/Face

Inputs (15)

NameTypeDefaultDescription
target_imageIMAGE—
source_imageIMAGE—
enabledBOOLEANtrue—
swap_modelCOMBO1 options: inswapper_128.onnx
detector_modelCOMBO1 options: buffalo_l
face_enhancerCOMBOOff2 options: Off, GPEN
target_selectionCOMBOLargest6 options: Largest, Leftmost, Rightmost, Topmost, Bottommost, Center
source_selectionCOMBOLargest6 options: Largest, Leftmost, Rightmost, Topmost, Bottommost, Center
blendFLOAT1.000–1—
bbox_dilationINT0-512–512—
crop_factorFLOAT1.51–3—
drop_sizeINT101–8192—
featherINT00–100—
opt_selected_target_faceoptCMK_SELECTED_FACE—
opt_selected_source_faceoptCMK_SELECTED_FACE—

Outputs (2)

NameTypeDescription
imageIMAGE—
diagnosticCMK_DIAGNOSTIC—