ComfyUI Node
Difforum · Setup
Duration, framing and the grid of the model you will render with. Say how long the clip is (seconds or frames) and how it is framed (aspect + long edge); the resolution is derived, snapped to what the target model's VAE accepts, and the frame count is snapped to the model's length grid (LTX 8k+1, MiniMax H3 17k+5 at 24 fps, Wan 4k+1). Every other Difforum node reads these params, so the whole graph agrees on one timeline.
Difforum · Setup
- params
- width
- height
- frames
- fps
- info
◄targetfeedback (SD/SDXL/Flux)►
◄duration_modeseconds►
◄duration5.0►
◄fps24►
◄aspect16:9 landscape►
◄long_edge768►
◄seed0►
◄custom_aspect_w16.0►
◄custom_aspect_h9.0►
◄max_megapixels0.00►
CategoryDifforum/1 · Setup
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| target | COMBO | feedback (SD/SDXL/Flux) | The model you will render with. Snaps length and size to its grid: H3 17k+5 frames @ 24 fps and 32 px, LTX 8k+1 and 32 px, Wan 4k+1 and 16 px, feedback 8 px. |
| duration_mode | COMBO | seconds | Give the length in seconds or in frames. |
| duration | FLOAT | 5.00.1–100000 | Clip length (seconds or frames). The target grid may round it slightly. |
| fps | FLOAT | 241–120 | Frames per second. MiniMax H3 is always 24. |
| aspect | COMBO | 16:9 landscape | Frame shape. 'custom' uses custom_aspect_w / h. |
| long_edge | INT | 768128–8192 | Pixels on the longer side before snapping. H3 two-stage templates render at 640 and upscale the latent 2x; the feedback look is fine at 768-1024. |
| seed | INT | 00–18446744073709550000 | Master seed for every sampler that reads Setup. |
| custom_aspect_wopt | FLOAT | 16.00.1–100 | Width part of a custom aspect (e.g. 2.39). |
| custom_aspect_hopt | FLOAT | 9.00.1–100 | Height part of a custom aspect (e.g. 1). |
| max_megapixelsopt | FLOAT | 0.000–64 | Hard cap on frame area. 0 = no cap. ~0.35 on a 16 GB Mac, ~0.65 on 24 GB. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| params | DIFFORUM_PARAMS | — |
| width | INT | — |
| height | INT | — |
| frames | INT | — |
| fps | FLOAT | — |
| info | STRING | — |