Nodes/Mask External Edit/Mask External Edit
ComfyUI Node

Mask External Edit

A ComfyUI node in Mask External Edit/Enhance with 20 inputs and 5 outputs.

By wuhu290·Created 3 months ago·Updated 3 months ago· 0
Mask External Edit
  • image
  • mask
  • image
  • debug_crop
  • edited_crop
  • used_mask
  • status
provideropenai
taskgeneral_fix
promptFix only the masked area. Preserve the original character, pose, style, lighting, and background.
api_endpoint
api_key_envMASK_EXTERNAL_EDIT_API_KEY
padding160
mask_grow12
feather24
crop_max_size1024
threshold16
timeout_seconds120
blend_modecolor_match
api_key
openai_modelgpt-image-2
mask_modeauto
on_errorraise
openwond_resolution1K
openwond_max_side768
CategoryMask External Edit/Enhance

Inputs (20)

NameTypeDefaultDescription
imageIMAGE
maskMASK
providerCOMBOopenai4 options: openai, openwond_draw, custom_http, debug_echo
taskCOMBOgeneral_fix4 options: general_fix, fix_hands, enhance_face, change_expression
promptSTRINGFix only the masked area. Preserve the original character, pose, style, lighting, and background.
api_endpointSTRING
api_key_envSTRINGMASK_EXTERNAL_EDIT_API_KEY
paddingINT1600–1024
mask_growINT120–256
featherINT240–256
crop_max_sizeINT1024256–4096
thresholdINT161–255
timeout_secondsINT12010–600
blend_modeCOMBOcolor_match2 options: normal, color_match
api_keySTRING
openai_modelSTRINGgpt-image-2
mask_modeCOMBOauto3 options: auto, white_edits, black_edits
on_errorCOMBOraise2 options: raise, return_original
openwond_resolutionCOMBO1K3 options: 1K, 2K, 4K
openwond_max_sideINT768256–2048

Outputs (5)

NameTypeDescription
imageIMAGE
debug_cropIMAGE
edited_cropIMAGE
used_maskMASK
statusSTRING