AK Project Settings Out
Bring your project panel's values into the graph
- output_filename
- output_subfolder
- width
- height
- do_resize
- image
- image_filename
- image_filepath
If you work img2img, you know the pain this node exists to kill: load an image in one corner of a big workflow, set the output size somewhere else, and spend half your session scrolling between them to change a number. The AK Pack's answer is a Project Settings panel in ComfyUI's left toolbar where you set all of it in one place. This node is the other half - it hands those panel values to your graph wherever you need them.
The official description is exact: it "outputs the values of fields defined in the Project Settings panel," and can also resolve the file path of images sitting anywhere in ComfyUI's input directory, including nested subfolders.
How it works
The panel stores everything you type into the workflow graph itself, which is why a shared workflow carries your project settings along with it. The single exception is the image: the panel copies your selected image into ComfyUI/input/garbage/ so it's available for loading. Nothing else is stored outside the graph.
The node has exactly one input, ak_project_settings_json, and here's the part that surprises people: you don't type it. The panel's JavaScript keeps that widget in sync with whatever is in the panel, so the JSON is populated for you automatically. Place the node, and it reflects the panel's current state. Don't hand-edit that JSON unless you know what you're doing - the panel will just overwrite it.
From that JSON the node unpacks everything you set in the panel:
- output_filename and output_subfolder - where your final save should write.
- width and height - target dimensions.
- do_resize - a boolean flag for whether resizing is enabled. It's meant to feed nodes like the AK Pack's
AKResizeOnBoolean, which resizes an image and optional mask on exactly that flag. - image - the panel's image, loaded as a tensor, ready to wire into a Load Image-style input.
- image_filename - just the base name (extension stripped).
- image_filepath - the absolute folder path where that filename was found under your input directory. The resolution walks nested subfolders on purpose, and deliberately skips the
input/garbage/area.
When you'd actually use it
The workflow pattern is: fill in the panel once, then drop AKProjectSettingsOut nodes wherever a stage needs those values - one near your img2img start for the image and dimensions, another near your save node for the filename. Change the panel, re-run, done. It's the AK Pack's take on "project variables," and it plays well with the pack's AK Resize On Boolean and the AK Base comparison node.
Install
Same as every AK Pack node. ComfyUI Manager → search "AK Pack" → install → restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/akawana/ComfyUI-AK-Pack
No dependencies beyond the pack itself, no model files.
Where people get burned
- The image lives in
input/garbage/, and it's disposable. Delete that folder and nothing breaks - you just have to re-select the image in the panel. Don't panic if a cleanup script wipes it. - Only images inside your input directory resolve. The path lookup searches subfolders of
ComfyUI/input/; images outside it won't produce a filepath or load. - The panel is a frontend extension, which makes it a casualty candidate when ComfyUI changes its frontend - the Nodes 2.0-era breakage that hit JS-driven AK nodes applies here too. If the node's JSON stops updating, the panel's sync is the thing to check, and the legacy canvas is the reliable fallback.
- If you share a workflow, the settings travel in the graph but the image doesn't - expect the recipient to re-pick their own image.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| ak_project_settings_json | STRING | — |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| output_filename | STRING | — |
| output_subfolder | STRING | — |
| width | INT | — |
| height | INT | — |
| do_resize | BOOLEAN | — |
| image | IMAGE | — |
| image_filename | STRING | — |
| image_filepath | STRING | — |