ComfyUI Node
JLC Conditional Save Image
A ComfyUI node in Flux2 Latents Cache/utils with 7 inputs and 2 outputs.
JLC Conditional Save Image
- image_on_true
- image_on_false
- selected_image
- image_save_path
◄switchfalse►
◄save_whenFALSE►
◄filename_prefixComfyUI►
◄output_folderoutput►
◄compress_level4►
CategoryFlux2 Latents Cache/utils
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image_on_true | IMAGE | Lazy IMAGE used when switch is TRUE. In Flux2 cache workflows, this is commonly the cache-prep or proof branch. | |
| image_on_false | IMAGE | Lazy IMAGE used when switch is FALSE. In Flux2 cache workflows, this is commonly the final inference image branch. | |
| switch | BOOLEAN | false | Shared branch selector. Companion to the JLC Flux2 cache-prep nodes: TRUE usually selects cache prep; FALSE usually selects normal inference. |
| save_when | COMBO | FALSE | Which switch states write a PNG. The selected branch is still executed either way, which makes this node a cache-prep companion. |
| filename_prefix | STRING | ComfyUI | Filename prefix. Standard ComfyUI formatting tokens and %batch_num% are supported. |
| output_folder | STRING | output | Use 'output', a relative subfolder inside the ComfyUI output directory, or an absolute destination path. |
| compress_level | INT | 40–9 | PNG lossless compression: 0 = none/fastest/largest, 9 = strongest/slower/smallest. Does not affect metadata. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| selected_image | IMAGE | — |
| image_save_path | STRING | — |