ComfyUI Node
AP Get RAFT Optical Flow
A ComfyUI node in AP_OpticalFlow with 13 inputs and 2 outputs.
AP Get RAFT Optical Flow
- image_a
- image_b
- flow_visualization
- flow_data
◄model_sizelarge►
◄model_residencyunload_after_use►
◄compute_deviceauto►
◄compute_modesequential►
◄flow_offloadcpu_ram►
◄disk_filename_prefixAP_OpticalFlow/flow_auto►
◄disk_overwritefalse►
◄clear_cached_models_firstfalse►
◄compute_backwardtrue►
◄max_side1024►
◄use_fp16true►
CategoryAP_OpticalFlow
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image_a | IMAGE | — | |
| image_b | IMAGE | — | |
| model_size | COMBO | large | 2 options: small, large |
| model_residency | COMBO | unload_after_use | 3 options: unload_after_use, cache_on_cpu, cache_on_gpu |
| compute_device | COMBO | auto | 3 options: auto, cuda, cpu |
| compute_mode | COMBO | sequential | 2 options: sequential, batched |
| flow_offload | COMBO | cpu_ram | 2 options: cpu_ram, disk_storage |
| disk_filename_prefix | STRING | AP_OpticalFlow/flow_auto | — |
| disk_overwrite | BOOLEAN | false | — |
| clear_cached_models_first | BOOLEAN | false | — |
| compute_backward | BOOLEAN | true | — |
| max_side | INT | 10240–4096 | — |
| use_fp16 | BOOLEAN | true | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| flow_visualization | IMAGE | — |
| flow_data | AP_FLOW | — |