Nodes/Mickmumpitz-Nodes/LTX Resolution Picker
ComfyUI Node

LTX Resolution Picker

LTX-friendly resolutions without doing the math in your head

By mickmumpitz·Created 8 months ago·Updated 9 days ago· 47
LTX Resolution Picker
    • width
    • height
    resolution720p
    aspect_ratio16:9
    custom_width1280
    custom_height736

    LTX Resolution Picker hands you LTX-Video-compatible width and height values without making you do the divisibility math. LTX-Video (Lightricks' fast video model) is picky: both dimensions have to be divisible by 32, or the sampler will complain or silently misbehave. 1280×720 isn't valid - 1280×736 is, because 736 divides cleanly by 32. This node exists so you pick a preset and never think about that again.

    It's a utility from the Mickmumpitz pack, which is built heavily around LTX and Wan video workflows. You'll wire its two INT outputs into an empty-latent node (or whatever expects a width/height), and it removes a whole class of "why won't this resolution work" friction.

    How it works

    The node holds a table of presets, all already divisible by 32:

    • 512p → 896×512
    • 576p → 1024×576
    • 720p → 1280×736
    • 1080p → 1920×1088
    • 1024p square → 1024×1024
    • Custom → whatever you typed

    Pick a preset and it returns the width and height as INTs. The aspect_ratio dropdown then transforms the pair: 16:9 returns the preset as-is, 9:16 (Vertical) swaps width and height, and 1:1 (Square) makes both dimensions equal to the height. So one preset serves horizontal, vertical, and square layouts. The Custom option bypasses the table and passes custom_width / custom_height straight through - those are stepped in 32, so the UI keeps you honest even when you're doing your own thing.

    The inputs and outputs

    • resolution (default 720p) - the preset table.
    • aspect_ratio (default 16:9) - orientation transform.
    • custom_width (default 1280) / custom_height (default 736) - used only when resolution is Custom; stepped by 32 to stay LTX-legal.

    Outputs: width and height (INTs) - feed these straight into an empty-latent or resolution-parameter input.

    Installing it

    Part of the Mickmumpitz pack - ComfyUI Manager, search "Mickmumpitz", install, restart:

    cd ComfyUI/custom_nodes
    git clone https://github.com/mickmumpitz/ComfyUI-Mickmumpitz-Nodes.git
    

    No models, no extra deps.

    Common issues

    The one trap: these presets are the maximums people actually run on LTX. 720p here is 1280×736, and 1080p is 1920×1088 - 1080p is genuinely heavy on VRAM, so don't assume the presets are tuned for your card. If you're on modest hardware, 576p (1024×576) is the sweet spot for vertical and 720p for landscape. And remember the aspect swap is a swap, not a rescale: 9:16 of the 720p preset is 736×1280, which is a tall but real LTX-legal frame. If that feels unexpectedly skinny, that's the preset working as designed.

    CategoryMickmumpitz/utils

    Inputs (4)

    NameTypeDefaultDescription
    resolutionCOMBO720p6 options: 512p, 576p, 720p, 1080p, 1024p square, Custom
    aspect_ratioCOMBO16:93 options: 16:9, 9:16 (Vertical), 1:1 (Square)
    custom_widthINT128064–8192
    custom_heightINT73664–8192

    Outputs (2)

    NameTypeDescription
    widthINT
    heightINT