ComfyUI Node
ControlNet Map Cache (ErosDiffusion)
Smart caching node for controlnet maps. Checks for existing maps in the cache directory to skip expensive generation. Supports 'auto' mode to automatically detect map types from connections. Use 'Generate All' to batch process all connected inputs.
ControlNet Map Cache (ErosDiffusion)
- source_browser
- source_original
- source_depth
- source_canny
- source_openpose
- source_lineart
- source_scribble
- source_softedge
- source_normal
- source_seg
- source_shuffle
- source_mediapipe_face
- source_custom
- map
◄cache_path►
◄filename—►
◄map_typeauto►
◄save_if_newtrue►
◄force_generationtrue►
◄generate_allfalse►
◄tags►
CategoryErosDiffusion
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| cache_path | STRING | Root directory for the cache. Leave empty to use the Comfy input/maps folder. | |
| filename | STRING | The unique identifier (base filename) for the map. Use 'Load Image ErosDiffusion' to extract this from a source image. | |
| map_type | COMBO | auto | The type of map to handle. 'browser' is a pure pass-through. |
| save_if_new | BOOLEAN | true | If True, saves the generated map to the cache directory if it wasn't found. |
| force_generation | BOOLEAN | true | If True, ignores existing cache and forces regeneration + overwrite. |
| generate_all | BOOLEAN | false | If True, triggers ALL connected preprocessors and saves their maps (respecting force_generation). |
| tagsopt | STRING | — | |
| source_browseropt | IMAGE | Lazy input. Connect CacheMap Browser here. Passes through the image without saving/modifying. | |
| source_originalopt | IMAGE | Lazy input. Connect the Original Image here. It will be saved to 'original' folder for overlay in browser. | |
| source_depthopt | IMAGE | Lazy input. Connect your depth Preprocessor here. Only runs if cache misses. | |
| source_cannyopt | IMAGE | Lazy input. Connect your canny Preprocessor here. Only runs if cache misses. | |
| source_openposeopt | IMAGE | Lazy input. Connect your openpose Preprocessor here. Only runs if cache misses. | |
| source_lineartopt | IMAGE | Lazy input. Connect your lineart Preprocessor here. Only runs if cache misses. | |
| source_scribbleopt | IMAGE | Lazy input. Connect your scribble Preprocessor here. Only runs if cache misses. | |
| source_softedgeopt | IMAGE | Lazy input. Connect your softedge Preprocessor here. Only runs if cache misses. | |
| source_normalopt | IMAGE | Lazy input. Connect your normal Preprocessor here. Only runs if cache misses. | |
| source_segopt | IMAGE | Lazy input. Connect your seg Preprocessor here. Only runs if cache misses. | |
| source_shuffleopt | IMAGE | Lazy input. Connect your shuffle Preprocessor here. Only runs if cache misses. | |
| source_mediapipe_faceopt | IMAGE | Lazy input. Connect your mediapipe_face Preprocessor here. Only runs if cache misses. | |
| source_customopt | IMAGE | Lazy input. Connect your custom Preprocessor here. Only runs if cache misses. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| map | IMAGE | — |