ComfyUI Node
Mpi H3 Length
Convert a wanted duration into a valid MiniMax H3 frame count. H3 only generates n % 17 == 5 frames at 24 fps, so exact whole seconds are mostly impossible - 8 s is the shortest one that lands. Wire `frames` into the H3 node's `length`, and show `seconds` in the UI instead of what was asked for. `in_trained_range` is false outside 124-362 frames (~5.2-15.1 s), where the model still runs but was not trained.
Mpi H3 Length
- frames
- seconds
- in_trained_range
◄seconds5.0►
CategoryMpiNodes/Utils
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| seconds | FLOAT | 5.00.2–150 | Wanted duration. H3 can only land on a 17k+5 frame grid at 24 fps, so the `seconds` output is what you will actually get. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| frames | INT | — |
| seconds | FLOAT | — |
| in_trained_range | BOOLEAN | — |