ComfyUI Node
BD Get Context Path
Fetch a resolved STRING path from a BD_SaveContext. Wire `filename_prefix` into ComfyUI's built-in SaveImage (or any third-party save node that takes a STRING filename). Auto-picks the context if exactly one is registered.
BD Get Context Path
- filename_prefix
- full_path
- directory
- basename
- status
◄context_id►
◄suffix►
◄filename_override►
◄include_extensionfalse►
◄extensionpng►
◄include_incrementfalse►
◄custom_vars►
Category🧠BrainDead/Cache
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| context_idopt | STRING | Match a BD_SaveContext id. Empty + exactly one registered = auto-pick. | |
| suffixopt | STRING | Per-fetch suffix → %suffix% in the template (e.g. '_albedo'). | |
| filename_overrideopt | STRING | If set, overrides %name% / %filename% in the template for THIS fetch only. Useful when the context defines a base template but you want a different leaf for this particular save. | |
| include_extensionopt | BOOLEAN | false | When True: full_path includes the extension (.png). filename_prefix never includes extension regardless. |
| extensionopt | STRING | png | Extension used when include_extension=True. PNG by default. |
| include_incrementopt | BOOLEAN | false | When True: full_path includes auto-increment _NNN suffix. filename_prefix never includes increment (let SaveImage handle it). |
| custom_varsopt | STRING | Per-fetch extra variables, one per line as key=value. Layered ON TOP of the context's custom_vars. Examples: subfolder=PBR materials=metal Become %subfolder%, %materials% in the template. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| filename_prefix | STRING | — |
| full_path | STRING | — |
| directory | STRING | — |
| basename | STRING | — |
| status | STRING | — |