S1Z35 - Custom 2
A second blank preset node, for when one custom list isn't enough
- width
- height
S1Z35 - Custom 2 is the pack's second blank-slate preset node, and it exists for one reason: sometimes one custom list isn't enough. Its sibling Custom 1 holds your formats for one job; this one holds the formats for the other job. Same engine, same CSV, different file.
What it is
A size-preset node from the ComfyUI-S1Z35 pack backed by presets/custom2.csv, which ships with the single placeholder entry "My Format 2 (512x512)". You fill it in. The classic split: Custom 1 for your default generation sizes, Custom 2 for your upscale or detail-pass targets. Or Custom 1 for portrait work and Custom 2 for landscape. However you divide it, both nodes read from their own file, so the lists never collide.
How it works
Identical to every other node in the pack. At node creation it reads presets/custom2.csv, parses each width, height, label line into a dropdown entry, and on selection extracts the numbers back out. No model loading, no dependencies, no GPU work. Your sizes, parsed from your CSV, output as two integers.
Inputs and outputs that matter
- preset - the dropdown built from your CSV.
- swap_dimensions - boolean, off by default. Flips width and height, so one landscape entry covers both orientations.
Outputs are width (INT) and height (INT), wired into EmptyLatentImage or any size input ahead of the sampler.
Installing it
The whole pack installs in one step, and it's a light one - no requirements.txt, no model downloads:
cd ComfyUI/custom_nodes
git clone https://github.com/K3nt3L/ComfyUI-S1Z35
Restart ComfyUI and both custom nodes appear under S1Z35/Resolution. Or use ComfyUI Manager → Install Custom Nodes and search for "S1Z35".
Common issues
- Edits don't show up until you refresh the node. The dropdown builds at node creation - edit the CSV, delete and re-add the node, or restart.
- A bad line vanishes silently. Non-numeric width, missing comma - the parser skips it. Keep the
width, height, labelformat. - "Missing custom2.csv (512x512)" is the safe fallback when the file is gone or empty, so you get a 512×512 latent instead of a crash.
If you only need one custom list, use Custom 1 and skip this node. If you've ever wanted two dropdowns with different jobs on the same canvas, this is the one - identical to its sibling, just with its own file and no reason to fight over entries.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | 1 options: My Format 2 (512x512) | |
| swap_dimensions | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |