ComfyUI Node
Simswap Masking Helper
A ComfyUI node in Simswap with 18 inputs and 3 outputs.
Simswap Masking Helper
- image
- swapped_image
- mask_optional
- IMAGE
- MASK
- MASK_PREVIEW
◄bbox_model_name▾►
◄bbox_threshold0.50►
◄bbox_dilation10►
◄bbox_crop_factor3.0►
◄bbox_drop_size10►
◄sam_model_name▾►
◄sam_dilation0►
◄sam_threshold0.93►
◄bbox_expansion0►
◄mask_hint_threshold0.70►
◄mask_hint_use_negative▾►
◄morphology_operation▾►
◄morphology_distance0►
◄blur_radius9►
◄sigma_factor1.00►
CategorySimswap
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| swapped_image | IMAGE | — | |
| bbox_model_name | COMBO | 0 options: | |
| bbox_threshold | FLOAT | 0.500–1 | — |
| bbox_dilation | INT | 10-512–512 | — |
| bbox_crop_factor | FLOAT | 3.01–100 | — |
| bbox_drop_size | INT | 101–8192 | — |
| sam_model_name | COMBO | 0 options: | |
| sam_dilation | INT | 0-512–512 | — |
| sam_threshold | FLOAT | 0.930–1 | — |
| bbox_expansion | INT | 00–1000 | — |
| mask_hint_threshold | FLOAT | 0.700–1 | — |
| mask_hint_use_negative | COMBO | 3 options: False, Small, Outter | |
| morphology_operation | COMBO | 4 options: dilate, erode, open, close | |
| morphology_distance | INT | 00–128 | — |
| blur_radius | INT | 90–48 | — |
| sigma_factor | FLOAT | 1.000.01–3 | — |
| mask_optionalopt | MASK | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| MASK_PREVIEW | IMAGE | — |