ComfyUI Node
JLC Flux2 Conditioning Cache Prep
Pre-warms reference, ControlNet hint, and/or hard-mask inpaint caches. Physically wired sockets may be muted/pruned and therefore absent at runtime; genuinely missing selected wires remain errors. With no active conditioning inputs, the node completes successfully as no_cache_required. Otherwise, the first output becomes available only after all active selected entries are cache hits or successful inserts.
JLC Flux2 Conditioning Cache Prep
- vae
- empty_flux2_latent
- reference_image_1
- reference_image_2
- reference_image_3
- reference_image_4
- reference_image_5
- reference_image_6
- reference_image_7
- reference_image_8
- reference_image_9
- reference_image_10
- control_image_1
- control_image_2
- control_image_3
- control_image_4
- inpaint_image
- inpaint_mask
- cache_ready_image
- cache_set
- cache_report
◄reference_count0►
◄control_count0►
◄use_inpaintfalse►
◄clear_before_preparefalse►
◄diagnosticstrue►
◄input_connection_contract{}►
CategoryFlux2 Latents Cache/utils
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| vae | VAE | — | |
| reference_count | INT | 00–10 | Number of reference-image cache inputs exposed by the layout button. |
| control_count | INT | 00–4 | Number of ControlNet hint cache inputs exposed by the layout button. |
| use_inpaint | BOOLEAN | false | Expose one inpaint IMAGE/MASK pair. If both connected inputs resolve to None at execution time, inpaint is treated as intentionally inactive and skipped. |
| clear_before_prepare | BOOLEAN | false | Clear only the active cache domains before preparing them. |
| diagnostics | BOOLEAN | true | — |
| input_connection_contract | STRING | {} | Hidden frontend-generated record of which dynamic input sockets are physically wired. Do not edit manually. |
| empty_flux2_latentopt | LATENT | Connect the same Empty Flux2 Latent used by the sampler. Do not connect the sampler output or any sampled latent. This is required only when an active ControlNet hint or active inpaint pair is present. | |
| reference_image_1opt | IMAGE | — | |
| reference_image_2opt | IMAGE | — | |
| reference_image_3opt | IMAGE | — | |
| reference_image_4opt | IMAGE | — | |
| reference_image_5opt | IMAGE | — | |
| reference_image_6opt | IMAGE | — | |
| reference_image_7opt | IMAGE | — | |
| reference_image_8opt | IMAGE | — | |
| reference_image_9opt | IMAGE | — | |
| reference_image_10opt | IMAGE | — | |
| control_image_1opt | IMAGE | — | |
| control_image_2opt | IMAGE | — | |
| control_image_3opt | IMAGE | — | |
| control_image_4opt | IMAGE | — | |
| inpaint_imageopt | IMAGE | — | |
| inpaint_maskopt | MASK | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| cache_ready_image | IMAGE | — |
| cache_set | BOOLEAN | — |
| cache_report | STRING | — |