Nodes/Advanced Latent Control/Multiply transform (one time)
ComfyUI Node

Multiply transform (one time)

One punch, delivered on cue

By kuschanow·Created 2 years ago·Updated 14 days ago· 23
Multiply transform (one time)
    • TRANSFORM
    step1
    modecombine
    multiplier1.00

    OneTimeMultiplyTransform is the one-shot version of Multiply transform: instead of multiplying the denoised prediction across a window of steps, it multiplies exactly once, at exactly the step you say. In the Advanced Latent Control pack this is the "one punch" node - and for a lot of people it's the most useful thing in the whole pack.

    The inputs

    • step - the step to fire on (1-based). The transform multiplies the denoised prediction on that step, and only that step.
    • mode - replace multiplies outright (x * multiplier); combine averages ((x * multiplier + x) / 2), softening the effect.
    • multiplier - -10 to 10, step 0.01. The punch's strength.

    Output is a TRANSFORM feeding a TSampler, TSampler Advanced, or a Transform Hijack-patched sampler.

    Why a single multiply is interesting

    Because a multiply on one step isn't a one-frame brightness bump - it's a compound effect. The sampler takes the multiplied prediction, re-noises it, and builds the next step on top. One multiply early in the run (step 2 of 20, say) acts like a contrast kick that the rest of the run inherits and refines. You get the "pop" of a big multiplier without the compounding blowout that kills the continuous version - this is the trick to using multipliers above ~1.5 without destroying the image.

    The other trick is timing it late. A multiply near the end of the run is closer to a literal tonal tweak, because there are fewer steps left to amplify it. So the one-time node actually gives you two dials the windowed version doesn't: where the punch lands, and how much room the sampler has to absorb it.

    How to find your step

    There's no formula - it's a sweep. Run a seed, try step: 3, compare; try step: 12, compare. A multiplier of 2 with replace mode at an early step is dramatic; at combine mode it's a gentler 1.5x lift. Most people settle somewhere between 1.5 and 3, and the one-time nodes are cheap enough to sweep quickly.

    Install

    Standard for this pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/RomanKuschanow/ComfyUI-Advanced-Latent-Control
    

    Restart, or search "Advanced Latent Control" in ComfyUI Manager. No models, no pip dependencies.

    The honest take

    If you only install one one-time node, make it this one. It's the least intimidating (three inputs, one of which you leave alone), the effect is immediately visible, and it teaches you the entire mental model of step-local editing in one experiment. It also happens to be the pack's most-searched one-time node for a reason - people keep rediscovering that one well-placed multiply is worth ten continuous ones.

    Categorysampling/transforms

    Inputs (3)

    NameTypeDefaultDescription
    stepINT11–10000
    modeCOMBOcombine2 options: replace, combine
    multiplierFLOAT1.00-10–10

    Outputs (1)

    NameTypeDescription
    TRANSFORMTRANSFORM