ComfyUI Node

Video Params

Set your video resolution, frames, and fps in one tidy node

By Fictiverse·Created 3 years ago·Updated 21 days ago· 27
Video Params
    • _
    base768
    ratio
    orientationfalse
    duration10

    Video generation in ComfyUI is a wall of numbers - width, height, frames, fps, all going into different sockets across EmptyLatentVideo, the sampler, and the loader. Video Params is the pack's answer: one node where you set base resolution, aspect ratio, orientation, frame count, and fps, and it bundles the whole thing into a single VParams packet. Set it once, run one wire, and let the companion Video Params Expand split it back out where the numbers are actually needed.

    It's the video sibling of the pack's Image Params pair, and it exists for the same reason: keep the graph readable. A Wan 2.2 or LTX workflow can have the same resolution scattered across four nodes; with this, you change the aspect ratio in one place and every consumer picks it up. For people assembling video workflows from templates, that single-source-of-truth is worth real time.

    How it works

    Pick a base length (in pixels), an aspect ratio, and an orientation. The node converts the ratio into width and height around your base, snaps them to the alignment your video model expects, and swaps them if you chose portrait. Frames and fps ride along untouched. The result is an opaque VParams packet - you don't read it directly, you feed it to Video Params Expand, which unpacks width, height, frames, fps, and megapixels into individual sockets.

    Inputs and outputs

    • base (INT, 128–4096, default 768) - the pixel base the ratio is built around.
    • ratio (enum) - 1:1, 5:4, 4:3, 3:2, 16:9, 21:9. Pick the frame you're targeting.
    • orientation (BOOLEAN) - portrait vs. landscape; flips width and height.
    • Frames (INT, default 81) - total frames. The default is a solid Wan-family ballpark (roughly five seconds at 16 fps).
    • FPS (INT, default 16) - playback speed.
    • _ (VParams) - the packet. Wire it into Video Params Expand.

    Installing it

    Part of ComfyUI Fictiverse Nodes - no Python dependencies beyond ComfyUI itself, no models to download.

    • ComfyUI Manager → search ComfyUI Fictiverse Nodes → Install, restart.
    • Or: cd ComfyUI/custom_nodes && git clone https://github.com/Fictiverse/ComfyUI_Fictiverse, restart.

    Common issues

    The one real trap: the VParams packet is this pack's private format. A Fictiverse packet will not plug into another pack's params-style node, and vice versa - the socket types are distinct, so you'll get a connection error rather than silent nonsense, which is the good kind of failure. Keep the pair (Video Params → Video Params Expand) together and you're fine. Also remember this sets geometry, not the model itself: your chosen resolution still has to be inside what your video model was trained for, so check the model's native band before assuming 21:9 at 4096 is going to behave.

    And the usual pack note: shared workflows that reference Fictiverse nodes throw ModuleNotFoundError: No module named 'custom_nodes.ComfyUI_Fictiverse' when the pack isn't installed - the fix is installing the pack and restarting.

    CategoryFictiverse/Params

    Inputs (4)

    NameTypeDefaultDescription
    baseINT768128–4096
    ratioCOMBO6 options: 1:1, 5:4, 4:3, 3:2, 16:9, 21:9
    orientationBOOLEANfalse
    durationFLOAT101–60

    Outputs (1)

    NameTypeDescription
    _VParams