SeeThrough Load Source
LoadImage, plus the filename your PSD was waiting for
- image
- mask
- source_filename
This node looks like a drop-in replacement for ComfyUI's stock LoadImage, because it is one - with one extra output that makes the whole difference. SeeThrough Load Source loads an image, gives you the usual image and mask, and then hands you source_filename, the original filename of whatever you picked. That tiny addition is what lets the pack's Save PSD node name its output after your source file and bake the original image in as a visible base layer.
It was added in v1.2.8 of the tk_seethrough fork specifically to fix the "which file did this PSD come from" problem: without it, Save PSD defaulted to timestamps, and matching a PSD back to its source across a batch was guesswork.
How it works
Same as LoadImage under the hood - it lists files from your ComfyUI input/ directory in the dropdown (with the upload button for anything not already there), reads the image, EXIF-transposes it, and converts to a tensor. Two small differences worth knowing:
- The
maskoutput is built from the image's alpha channel (inverted, so transparent = 1), or a zero mask if the file has no alpha. Handy for compositing later. source_filenameis the basename without the extension, sanitized - characters that would wreck a filename get replaced, so your PSD name survives even if the source doesn't.
Where it wires in
The intended chain is: SeeThrough Load Source → image into SeeThrough Generate Layers (Custom), and the same node's source_filename (plus its image, as original_image) into SeeThrough Save PSD. Do that and the generated PSD opens on top of the original image as a visible base layer, with groups for Parts and Runs you can toggle - and the file is named after your source instead of a timestamp. If you don't care about any of that, it's still a perfectly good LoadImage.
Installation
Ships with the tk_seethrough pack - ComfyUI Manager, search "See Through," or:
cd ComfyUI/custom_nodes
git clone https://github.com/tackcrypto1031/tk_seethrough.git
cd tk_seethrough
pip install -r requirements.txt
Restart ComfyUI; the node appears under the SeeThrough category alongside the rest of the pack. It needs no models and no extra dependencies beyond what the pack already installs - this is the cheapest node in the whole workflow to add.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | 1 options: example.png |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| source_filename | STRING | — |