Nodes/ComfyUI-S1Z35/S1Z35 - Custom 1
ComfyUI Node

S1Z35 - Custom 1

Your formats, your CSV, no presets to fight

By K3nt3L·Created 7 months ago·Updated 3 days ago· 0
S1Z35 - Custom 1
    • width
    • height
    preset
    swap_dimensionsfalse

    Every other node in the ComfyUI-S1Z35 pack ships with a model's presets pre-loaded. S1Z35 - Custom 1 ships with exactly one entry: "My Format 1 (512x512)". That's not a bug - it's the whole point. This is the blank-slate node, and you own the CSV.

    What it is

    A size-preset node from the S1Z35 pack with no baked-in model loyalty. Instead of a dropdown full of someone else's favorite buckets, you get one placeholder entry backed by presets/custom1.csv. Open that file, write your own sizes, and the node becomes your personal resolution menu. Use it for anything the model-specific nodes don't cover: a LoRA's trained resolution, a fixed upscale target, a size you keep typing into every workflow and are finally done typing.

    The format is dead simple, one preset per line:

    768, 1024, Poster Tall
    1536, 1024, My Upscale Target
    

    width, height, label. That's the whole API.

    How it works

    Identical engine to the rest of the pack. At node creation it reads presets/custom1.csv, parses each line into a dropdown entry like Poster Tall (768x1024), and on selection extracts the numbers back out. No model loading, no dependencies, no GPU work - the node is only ever as heavy as the CSV you give it.

    Inputs and outputs that matter

    • preset - your dropdown, built from your CSV.
    • swap_dimensions - boolean, off by default. Flips width and height, so you only need to write each ratio once in landscape.

    Outputs are width (INT) and height (INT), wired into EmptyLatentImage or any size input.

    Installing it

    The pack installs light - no requirements.txt, no model files:

    cd ComfyUI/custom_nodes
    git clone https://github.com/K3nt3L/ComfyUI-S1Z35
    

    Restart ComfyUI and it appears under S1Z35/Resolution. Or use ComfyUI Manager → Install Custom Nodes and search for "S1Z35".

    Common issues

    • Edits don't appear immediately. The dropdown is built at node creation. Edit the CSV, delete the node, re-add it (or restart).
    • A malformed line silently disappears. Missing comma, non-numeric width - the parser skips it. Keep the width, height, label shape and it works.
    • "Missing custom1.csv (512x512)" means the file is gone or empty - the node degrades to 512×512 rather than crashing.

    It's the least glamorous node in the pack and the one that's actually yours. Worth a minute of setup, then it just sits there doing exactly what you told it.

    CategoryS1Z35/Resolution

    Inputs (2)

    NameTypeDefaultDescription
    presetCOMBO1 options: My Format 1 (512x512)
    swap_dimensionsBOOLEANfalse

    Outputs (2)

    NameTypeDescription
    widthINT
    heightINT