ComfyUI Node
Frame Replacer ✂️
Precisely replaces frames in video sequences with advanced targeting and blending
Frame Replacer ✂️
- source_video
- replacement_frames
- modified_video
◄target_frame0►
◄replace_count1►
◄width512►
◄height512►
◄interpolationbilinear►
◄methodkeep proportion►
◄conditionalways►
◄multiple_of0►
◄blend_edgesfalse►
◄blend_strength0.5►
◄loop_replacementtrue►
◄preserve_lengthtrue►
◄memory_efficienttrue►
Categoryimage/video
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| source_video | IMAGE | Source video sequence to modify (IMAGE tensor format) | |
| replacement_frames | IMAGE | Frames to use as replacements | |
| target_frame | INT | 00–10000 | Starting frame index for replacement (0-based) |
| replace_count | INT | 11–1000 | Number of frames to replace |
| width | INT | 51264–8192 | Target width for frame resizing |
| height | INT | 51264–8192 | Target height for frame resizing |
| interpolation | COMBO | bilinear | Interpolation method for resizing |
| method | COMBO | keep proportion | Resizing method |
| condition | COMBO | always | When to apply resizing |
| multiple_of | INT | 00–512 | Round dimensions to multiple of this value (0 = disabled) |
| blend_edgesopt | BOOLEAN | false | Smooth blend at replacement boundaries |
| blend_strengthopt | FLOAT | 0.50–1 | Strength of edge blending (0.0 = no blend, 1.0 = full blend) |
| loop_replacementopt | BOOLEAN | true | Loop replacement frames if fewer than replace_count |
| preserve_lengthopt | BOOLEAN | true | Maintain original video length |
| memory_efficientopt | BOOLEAN | true | Process in chunks to save memory |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| modified_video | IMAGE | — |