Nodes/ComfyUI-Region-Edit-Toolkit/图像分区 · 人脸语义裁块
ComfyUI Node

图像分区 · 人脸语义裁块

A ComfyUI node in Region Edit Toolkit/Face with 16 inputs and 10 outputs.

By Liu-Bot24·Created about a month ago·Updated 20 days ago· 1
图像分区 · 人脸语义裁块
  • image
  • selection
  • final_target_mask
  • protection_mask
  • local_image
  • local_generation_mask
  • full_composite_mask
  • full_composite_alpha
  • x
  • y
  • width
  • height
  • crop_preview
  • report_json
edit_region_mode宽松头部语义区(推荐)
tile_profile大块(高显存)
context_left_right0.65
context_top0.65
context_bottom0.65
generation_grow_ratio0.10
composite_grow_ratio0.06
feather_ratio0.030
minimum_safe_margin64
context_policy源图头部编辑(严格上下文)
writeback_scope_contract_versionphase1-head-upper-neck-v1
generation_target_megapixels0.0
CategoryRegion Edit Toolkit/Face

Inputs (16)

NameTypeDefaultDescription
imageIMAGE
selectionFACE_LOCAL_SELECTION
final_target_maskMASK
protection_maskMASK
edit_region_modeCOMBO宽松头部语义区(推荐)2 options: 宽松头部语义区(推荐), 旧版脸椭圆外扩(兼容)
tile_profileCOMBO大块(高显存)3 options: 标准(单脸), 大块(高显存), 超大块(RTX 4090)
context_left_rightFLOAT0.650.2–1.5
context_topFLOAT0.650.3–1.5
context_bottomFLOAT0.650.3–1.5
generation_grow_ratioFLOAT0.100–0.35
composite_grow_ratioFLOAT0.060–0.25
feather_ratioFLOAT0.0300–0.1
minimum_safe_marginINT6432–512
context_policyoptCOMBO源图头部编辑(严格上下文)3 options: 源图头部编辑(严格上下文), 源图边缘兼容(裁边不中止), 身份参考脸(完整五官优先)
writeback_scope_contract_versionoptSTRINGphase1-head-upper-neck-v1
generation_target_megapixelsoptFLOAT0.00–64

Outputs (10)

NameTypeDescription
local_imageIMAGE
local_generation_maskMASK
full_composite_maskMASK
full_composite_alphaMASK
xINT
yINT
widthINT
heightINT
crop_previewIMAGE
report_jsonSTRING