ComfyUI Node
图像分区 · 人脸语义裁块
A ComfyUI node in Region Edit Toolkit/Face with 16 inputs and 10 outputs.
图像分区 · 人脸语义裁块
- 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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| selection | FACE_LOCAL_SELECTION | — | |
| final_target_mask | MASK | — | |
| protection_mask | MASK | — | |
| edit_region_mode | COMBO | 宽松头部语义区(推荐) | 2 options: 宽松头部语义区(推荐), 旧版脸椭圆外扩(兼容) |
| tile_profile | COMBO | 大块(高显存) | 3 options: 标准(单脸), 大块(高显存), 超大块(RTX 4090) |
| context_left_right | FLOAT | 0.650.2–1.5 | — |
| context_top | FLOAT | 0.650.3–1.5 | — |
| context_bottom | FLOAT | 0.650.3–1.5 | — |
| generation_grow_ratio | FLOAT | 0.100–0.35 | — |
| composite_grow_ratio | FLOAT | 0.060–0.25 | — |
| feather_ratio | FLOAT | 0.0300–0.1 | — |
| minimum_safe_margin | INT | 6432–512 | — |
| context_policyopt | COMBO | 源图头部编辑(严格上下文) | 3 options: 源图头部编辑(严格上下文), 源图边缘兼容(裁边不中止), 身份参考脸(完整五官优先) |
| writeback_scope_contract_versionopt | STRING | phase1-head-upper-neck-v1 | — |
| generation_target_megapixelsopt | FLOAT | 0.00–64 | — |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| local_image | IMAGE | — |
| local_generation_mask | MASK | — |
| full_composite_mask | MASK | — |
| full_composite_alpha | MASK | — |
| x | INT | — |
| y | INT | — |
| width | INT | — |
| height | INT | — |
| crop_preview | IMAGE | — |
| report_json | STRING | — |