Nodes/comfyui-jjmaden-random-nodes/MiniMax H3 Resolution Selector (best-effort)
ComfyUI Node

MiniMax H3 Resolution Selector (best-effort)

Best-effort reimplementation of a third-party workflow node with no public source, with a couple of pieces borrowed from the real ResolutionSelectorZerohackz pack (duration->length frame snapping, exact-ratio-from-image sizing). Pick a preset, wire a reference_image to match its ratio instead, or set custom_width/custom_height (>0) to override everything.

By jjmaden·Created 7 days ago·Updated 3 days ago· 0
MiniMax H3 Resolution Selector (best-effort)
  • reference_image
  • width
  • height
  • size
  • length
aspect_ratio16:9 (Landscape Widescreen)
resolution1344×768
duration5.0
fps24
custom_width0
custom_height0
CategoryMiniMax H3/custom

Inputs (7)

NameTypeDefaultDescription
aspect_ratioCOMBO16:9 (Landscape Widescreen)10 options: 1:1 (Square), 16:9 (Landscape Widescreen), 9:16 (Vertical Video), 4:3 (Standard Photo), 3:4 (Portrait Standard), 3:2 (Landscape Photo), +4
resolutionCOMBO1344×76846 options: 320×768, 384×384, 384×512, 384×576, 384×672, 512×384, +40
durationFLOAT5.00.2–150Seconds; snapped to MiniMax H3's frame grid for the `length` output.
fpsINT241–60
custom_widthoptINT00–163840 = use the resolution preset above (or reference_image, if wired).
custom_heightoptINT00–16384
reference_imageoptIMAGEIf wired, output the largest exact-ratio size that preserves this image's own W:H and fits the `resolution` preset's pixel budget -- overrides aspect_ratio/resolution (not custom_width/height).

Outputs (4)

NameTypeDescription
widthINT
heightINT
sizeSTRING
lengthINT