ComfyUI Node
Image math
A ComfyUI node in More math with 7 inputs and 2 outputs.
Image math
- V
- F
- Expression
- stack
- IMAGE
- STACK
◄length_mismatcherror►
◄batching0►
◄remember_stackfalse►
CategoryMore math
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| V | COMFY_AUTOGROW_V3 | — | |
| F | COMFY_AUTOGROW_V3 | — | |
| Expression | STRING,SYNTAX_TREE | I0*(1-F0)+I1*F0 | Expression to apply on input images |
| length_mismatch | COMBO | error | How to handle mismatched image batch sizes. tile: repeat shorter inputs; error: raise error on mismatch; pad: treat missing frames as zero. |
| batching | INT | 0 | — |
| remember_stack | BOOLEAN | false | If enabled, stack is copied at output leading to changes being remembered during batch operations (node runs multiple times in sucession). If disabled each batch gets it's own copy of the stack. |
| stackopt | STACK | Access stack between nodes |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| STACK | STACK | — |