ComfyUI Node

Anything Stitch

Composite an edited crop back into the original. Pixels outside the mask are returned bit-identical.

By haroonaslam·Created 3 months ago·Updated a day ago· 10
Anything Stitch
  • stitch
  • swapped
  • mask_override
  • image
  • changed_mask
size_mismatchresize
mask_mode
feather6
color_matchtrue
color_match_methodmkl
color_match_strength1.00
CategoryWorkflowX/Anything Swap

Inputs (9)

NameTypeDefaultDescription
stitchSWAP_STITCHPayload from Anything Crop. Carries the clean original and exact geometry.
swappedIMAGEThe edited crop, straight back from your model or API.
size_mismatchCOMBOresizeWhat to do when the swap model returns a different resolution. resize: rescale, but reject a changed aspect ratio. stretch: rescale regardless, distorting. error: demand an exact match.
mask_modeCOMBO3 options: payload_mask, full_rect, override
featherINT60–256
color_matchBOOLEANtrue
color_match_methodCOMBOmkl3 options: reinhard, mkl, hm
color_match_strengthFLOAT1.000–1
mask_overrideoptMASK

Outputs (2)

NameTypeDescription
imageIMAGEThe full source image with the swapped region composited back in.
changed_maskMASKWhich pixels changed, at source resolution. Feed a refiner pass.