ComfyUI Node
CMK FaceSwap Image
A ComfyUI node in CMK/Toolbox/Face with 15 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| target_image | IMAGE | — | |
| source_image | IMAGE | — | |
| enabled | BOOLEAN | true | — |
| swap_model | COMBO | 1 options: inswapper_128.onnx | |
| detector_model | COMBO | 1 options: buffalo_l | |
| face_enhancer | COMBO | Off | 2 options: Off, GPEN |
| target_selection | COMBO | Largest | 6 options: Largest, Leftmost, Rightmost, Topmost, Bottommost, Center |
| source_selection | COMBO | Largest | 6 options: Largest, Leftmost, Rightmost, Topmost, Bottommost, Center |
| blend | FLOAT | 1.000–1 | — |
| bbox_dilation | INT | 0-512–512 | — |
| crop_factor | FLOAT | 1.51–3 | — |
| drop_size | INT | 101–8192 | — |
| feather | INT | 00–100 | — |
| opt_selected_target_faceopt | CMK_SELECTED_FACE | — | |
| opt_selected_source_faceopt | CMK_SELECTED_FACE | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| diagnostic | CMK_DIAGNOSTIC | — |