ComfyUI Node
AP Warp Image + Mask by RAFT Flow
A ComfyUI node in AP_OpticalFlow with 13 inputs and 3 outputs.
AP Warp Image + Mask by RAFT Flow
- images
- mask
- flow_data
- warped_image
- warped_mask
- valid_mask
◄flow_directionab►
◄batch_modeauto►
◄flow_skip0►
◄frames_skip0►
◄strength1.00►
◄invert_flowfalse►
◄mask_threshold0.00►
◄interpolationbilinear►
◄padding_modeborder►
◄current_frame_index0►
CategoryAP_OpticalFlow
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| mask | MASK | — | |
| flow_data | AP_FLOW | — | |
| flow_direction | COMBO | ab | 2 options: ab, ba |
| batch_mode | COMBO | auto | 3 options: auto, by_index, repeat_image |
| flow_skip | INT | 00–2147483647 | — |
| frames_skip | INT | 00–2147483647 | — |
| strength | FLOAT | 1.00-4–4 | — |
| invert_flow | BOOLEAN | false | — |
| mask_threshold | FLOAT | 0.000–1 | — |
| interpolation | COMBO | bilinear | 3 options: bilinear, nearest, bicubic |
| padding_mode | COMBO | border | 3 options: border, zeros, reflection |
| current_frame_indexopt | INT | 00–2147483647 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| warped_image | IMAGE | — |
| warped_mask | MASK | — |
| valid_mask | MASK | — |