Nodes/ComfyUI-LoadGifAsVideo/Load GIF as Video
ComfyUI Node

Load GIF as Video

Loads an animated GIF/APNG/WEBP as a VIDEO stream. The animation loops until the requested frame count or duration is filled, and the playback speed is adjustable.

By id-fa·Created about a month ago·Updated 7 days ago· 0
Load GIF as Video
    • video
    • images
    file
    length_modeframes
    frames16
    seconds2.0
    loops1
    speed1.00
    backgroundblack
    Categoryload-gif-as-video

    Inputs (7)

    NameTypeDefaultDescription
    fileCOMBOAnimated GIF / APNG / WEBP in the ComfyUI input directory.
    length_modeCOMBOframesHow the output length is specified: a frame count, a duration in seconds, or whole playthroughs.
    framesINT161–10000Number of frames to output (length_mode = frames).
    secondsFLOAT2.00.01–3600Duration to output in seconds (length_mode = seconds).
    loopsINT11–10000How many times the animation plays through (length_mode = loops).
    speedFLOAT1.000.01–100Playback speed multiplier. Scales the VIDEO output's frame rate; the IMAGE batch, which has no frame rate, gets the speed baked into its frames instead.
    backgroundCOMBOblackColor transparent pixels are composited over — VIDEO has no alpha channel.

    Outputs (2)

    NameTypeDescription
    videoVIDEO
    imagesIMAGE