Nodes/ComfyUI-Arrssenne/Empty Latent presets (Arrssenne)
ComfyUI Node

Empty Latent presets (Arrssenne)

An Empty Latent node that remembers the sizes you actually use

By arrssenne·Created 3 months ago·Updated about a month ago· 0
Empty Latent presets (Arrssenne)
    • LATENT
    preset896x1152 — Portrait 3:4
    custom_width896
    custom_height1152
    batch_size1

    If you've ever typed 896×1152 from memory and squinted at a warped face, you know why preset nodes exist. This one is a reskinned Empty Latent Image with a dropdown of three resolutions you'll actually recognise, plus a custom option. Select a preset, get a LATENT, move on.

    What's in the menu

    • 896x1152 - Portrait 3:4
    • 1216x832 - Paysage 3:2
    • 1024x1024 - Carré 1:1
    • Personnalisé (custom, uses the width/height widgets)

    Yes, the labels are French - the pack is by a French author and the whole pack is French-facing. Portrait / Landscape / Square, easy enough to read even if you don't speak the language.

    The dimensions are parsed straight out of the label itself: the node regexes the leading WxH off the preset name, so the label list is the single source of truth. It then delegates latent creation to the builtin Empty Latent Image - no reimplementation, no weird latent-space surprises. batch_size always applies.

    Inputs that matter

    • preset - the dropdown. This is the one you set.
    • custom_width / custom_height - only read when preset is Personnalisé.
    • batch_size - how many latents to generate in one go; the width/height presets don't touch it.

    Output is a single LATENT, wired to your sampler's latent_image like any other Empty Latent.

    The trap, stated plainly

    custom_width and custom_height are ignored unless the preset is set to Personnalisé. People change the number boxes, rerun, see no change, and blame the node. Check the dropdown first. Those two widgets stay visible no matter what, which is exactly what makes them a trap - if a preset is selected they're decorative.

    Second thing to know: the three presets are SDXL-scale resolutions (SDXL's sweet spots sit around 1024, and its portrait/landscape crops are exactly these). If you're on SD1.5, which wants ~512–768, don't fight it - pick Personnalisé and type your real numbers. The preset list is hardcoded in the pack, so you can't add your own entries without editing nodes.py; if you live across five resolutions this node's three presets + custom will feel limiting fast, and something like a fully dynamic resolution picker suits you better.

    Install

    ComfyUI Manager → search "ComfyUI-Arrssenne", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/arrssenne/comfyui-arrssenne
    

    Restart, and it shows up under Arrssenne/Latent. No models to download, no keys, no extra Python beyond Pillow (already everywhere).

    Honestly? If you keep typing the same three numbers into Empty Latent Image every day, this saves you exactly that much. It's a small convenience, but it's the right kind: the one thing it does is remember your sizes so you don't have to.

    CategoryArrssenne/Latent

    Inputs (4)

    NameTypeDefaultDescription
    presetCOMBO896x1152 — Portrait 3:44 options: 896x1152 — Portrait 3:4, 1216x832 — Paysage 3:2, 1024x1024 — Carré 1:1, Personnalisé
    custom_widthINT89616–16384
    custom_heightINT115216–16384
    batch_sizeINT11–4096

    Outputs (1)

    NameTypeDescription
    LATENTLATENT