ComfyUI Extension: ComfyUI-PainterFrameCount

Authored by princepainter

Created

Updated

2 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Aligns any input frame number to the nearest 4N+1 format, ensuring compatibility with video generation models that require specific frame count constraints.

Looking for a different extension?

Custom Nodes (0)

    README

    README.md

    ComfyUI-PainterFrameCount

    Aligns any input frame number to the nearest 4N+1 format (e.g., 120→121, 122→125), ensuring compatibility with video generation models that require specific frame count constraints.

    Input

    • frame_number (INT): Input frame count from upstream node (force input)

    Output

    • aligned_frame (INT): Frame count rounded up to nearest 4N+1 value

    Example

    Input: 120 → Output: 121
    Input: 122 → Output: 125
    Input: 124 → Output: 125
    Input: 125 → Output: 125

    Run ComfyUI workflows without the setup

    No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

    Learn more