Nodes/Difforum/Difforum · Setup
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.

By chillithebillis·Created 3 months ago·Updated about 7 hours ago· 8
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)

    NameTypeDefaultDescription
    targetCOMBOfeedback (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_modeCOMBOsecondsGive the length in seconds or in frames.
    durationFLOAT5.00.1–100000Clip length (seconds or frames). The target grid may round it slightly.
    fpsFLOAT241–120Frames per second. MiniMax H3 is always 24.
    aspectCOMBO16:9 landscapeFrame shape. 'custom' uses custom_aspect_w / h.
    long_edgeINT768128–8192Pixels 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.
    seedINT00–18446744073709550000Master seed for every sampler that reads Setup.
    custom_aspect_woptFLOAT16.00.1–100Width part of a custom aspect (e.g. 2.39).
    custom_aspect_hoptFLOAT9.00.1–100Height part of a custom aspect (e.g. 1).
    max_megapixelsoptFLOAT0.000–64Hard cap on frame area. 0 = no cap. ~0.35 on a 16 GB Mac, ~0.65 on 24 GB.

    Outputs (6)

    NameTypeDescription
    paramsDIFFORUM_PARAMS—
    widthINT—
    heightINT—
    framesINT—
    fpsFLOAT—
    infoSTRING—