ComfyUI Node
Fit to Plate
Prepares generated frames for compositing: resizes them to the plate, aligns them to it, matches colour and grain at the edge of the edit, and returns the edit mask at plate size, grown, softened and steady from frame to frame. Feed both outputs to Image Composite Masked.
Fit to Plate
- plate
- image
- mask
- image
- mask
◄aligntrue►
◄max_shift8.0►
◄match_colortrue►
◄grain1.00►
◄grow8►
◄feather12►
◄steady2►
CategoryAInVFX/Paint a plate
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| plate | IMAGE | The plate, in the same colour space as 'image'. | |
| image | IMAGE | Generated frames, any size. | |
| align | BOOLEAN | true | Measure a small shift per frame, smooth it over time, remove it. |
| max_shift | FLOAT | 8.00–64 | Largest shift in pixels treated as misalignment. |
| match_color | BOOLEAN | true | Match colour and exposure to the plate at the edge of the edit, spread smoothly inside it. |
| grain | FLOAT | 1.000–2 | Add grain up to the plate's level. 0 adds none. |
| grow | INT | 80–256 | Grow the mask, in plate pixels. |
| feather | INT | 120–256 | Soften the mask edge, in plate pixels. |
| maskopt | MASK | The edited area, any size. Empty means no edit. | |
| steadyopt | INT | 20–12 | Frames on each side over which the mask edge, the shift and the colour match are smoothed. 0 treats every frame on its own. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |