Nodes/SameFace/SameFace Repair
ComfyUI Node

SameFace Repair

Moves the after image's features back to where the before has them, with a smooth warp (a thin-plate spline through the measured points, eased to nothing beyond the face). By default the after keeps its own framing and size and only the face changes. Measure the result against the before, and View that, to see what it left.

By fixed-42·Created 7 days ago·Updated 2 days ago· 8
SameFace Repair
  • drift
  • repaired
  • covered
◄strength1.00►
◄framingafter►
CategorySameFace

Inputs (3)

NameTypeDefaultDescription
driftSAMEFACE_DRIFTFrom SameFace Measure.
strengthFLOAT1.000–1How far along the warp goes: 0 leaves the features where they are, 1 moves every measured point all the way back.
framingCOMBOafterafter: the edit's own framing and size, only the face changed. before: the whole after lined up with the before (moved, scaled and turned), enlarged so its detail is kept; where it does not reach is black.

Outputs (2)

NameTypeDescription
repairedIMAGE—
coveredMASKWhere the after image reaches. All of it with after framing; with before framing, outside it the repair is black.