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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 16: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 |
| resolution | COMBO | 1344×768 | 46 options: 320×768, 384×384, 384×512, 384×576, 384×672, 512×384, +40 |
| duration | FLOAT | 5.00.2–150 | Seconds; snapped to MiniMax H3's frame grid for the `length` output. |
| fps | INT | 241–60 | — |
| custom_widthopt | INT | 00–16384 | 0 = use the resolution preset above (or reference_image, if wired). |
| custom_heightopt | INT | 00–16384 | — |
| reference_imageopt | IMAGE | If 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)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| size | STRING | — |
| length | INT | — |