ComfyUI Node
Match Subject to Reference Image ⚡
A ComfyUI node in Texture Alchemist/Inpainting with 7 inputs and 4 outputs.
Match Subject to Reference Image ⚡
- image
- mask
- reference_image
- reference_mask
- image
- mask
- bbox_data
- info
◄match_modelarger_side►
◄padding0►
◄invert_maskfalse►
CategoryTexture Alchemist/Inpainting
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | MASK | — | |
| reference_image | IMAGE | — | |
| reference_mask | MASK | — | |
| match_mode | COMBO | larger_side | How to pick S from ref vs current subject bbox (same as Scale Image to Reference Bbox). larger_side: grow subject to match ref (typical after edit shrinks it) |
| padding | INT | 00–500 | Padding around mask bbox on both images (pixels) |
| invert_mask | BOOLEAN | false | Invert both masks before bbox detection |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| bbox_data | BBOX_DATA | — |
| info | STRING | — |