Nodes/deforum-comfy-nodes/Seed Interp Noise | Deforum
ComfyUI Node

Seed Interp Noise | Deforum

The noise that makes Deforum loops actually loop

By deforum·Created about a year ago·Updated 3 months ago· 29
Seed Interp Noise | Deforum
    • LATENT
    source
    start_seed0
    frames8
    interp_steps1
    width512
    height512

    If you've ever rendered an animation where every frame uses a fresh random seed, you know what happens: the frames flicker like a broken neon sign. The fix - and one of the oldest tricks in the Deforum book, going back to the Disco Diffusion lineage this pack credits - is to make the noise itself evolve smoothly instead of jumping. Seed Interp Noise | Deforum generates a whole batch of noise latents whose underlying seeds drift +1 at a time, with spherical interpolation (SLERP) blending between the two anchor seeds along the way. Feed that into Prepare Latent Denoise | Deforum and your frames morph instead of stutter.

    The inputs tell you everything you need. start_seed is where the seed sequence begins. frames is how many noise latents to generate - one per animation frame. interp_steps is the smoothing dial: it controls how many interpolated noise steps happen between each seed advance. With interp_steps = 0 you get plain sequential seeds, one per frame. Bump it up and each seed gets a run of blended in-between noises before the next anchor, which is what produces slow, coherent drift rather than instant jumps. width and height set the image dimensions (the noise is built in latent space at 1/8 resolution, 4 channels). source picks where the tensors are built: CPU keeps your VRAM free but is slower, GPU is faster and eats a little VRAM. For a first run, CPU is a perfectly fine place to start.

    The output is a single LATENT - a batch of frames noise samples you route into the noise input of Prepare Latent Denoise, or anywhere else a pre-built noise batch is useful. That pairing is the classic pattern: seed-interp noise provides the temporally coherent ε, Prepare Latent Denoise scales it by the frame's σ₀, and a SamplerCustom runs the frame. Get the combination right and you get the signature Deforum look - a subject that drifts and dissolves into itself instead of teleporting between seeds.

    Where people get burned: interp_steps is not "how many frames of interpolation." It's the length of the blended segment between two anchor seeds, so raising it makes the noise change more gradually across the same frame count - too high and motion becomes sluggish and smeary, too low and you're back to flicker. And remember the output is noise in latent space; if you decode it directly you'll just see static, which is normal and not a bug. Also, big frame counts at high resolution will take a moment to generate - it's a batch of tensors, after all.

    Installation is the whole pack: ComfyUI Manager → search "ComfyUI-Deforum" or deforum-comfy-nodes → install and restart, or git clone https://github.com/deforum-art/deforum-comfy-nodes into ComfyUI/custom_nodes and restart. No models to download, no extra Python dependencies. It's one of the most "Deforum" nodes in the pack - the seed-interp trick is a defining part of the original tool's DNA, and this is the clean, native graph version of it.

    CategoryDeforum/Latent

    Inputs (6)

    NameTypeDefaultDescription
    sourceCOMBO2 options: CPU, GPU
    start_seedINT00–18446744073709550000
    framesINT81–9999999
    interp_stepsINT10–1024
    widthINT51264–32768
    heightINT51264–32768

    Outputs (1)

    NameTypeDescription
    LATENTLATENT