Mirror transform (one time)
Snap the latent into symmetry at one step
- TRANSFORM
OneTimeMirrorTransform is the one-shot version of Mirror transform: it flips or rotates the denoised prediction exactly once, at exactly one step, and then the sampler carries on. It's the dramatic member of the pack's one-time family - a single mirror or rotation mid-sampling is a visible event, not a nudge.
The inputs
step- the step to fire on (1-based).direction-vertically,horizontally,both,90 degree rotation, or180 degree rotation. Same five choices as the full Mirror transform, including the two rotations.mode-replaceflips outright;combineaverages the flipped and original latent, producing a ghosted symmetry instead of a hard flip.
Output is a TRANSFORM for a TSampler, TSampler Advanced, or Transform Hijack-patched sampler.
Why you'd use it
A one-time mirror is the cleanest way to get a symmetric result without a visible seam - because the sampler doesn't just present you a flipped image, it rebuilds on top of the flip. Flip at step 4 of 20 and the remaining 16 steps draw both halves in, smoothing the seam into an intentional symmetric composition. The classic use is portrait/logo symmetry: mirror once early, let the model finish the mirrored half.
The rotations are where this node surprises. A single 180-degree rotation with combine mode is the cheapest four-way-ish kaleidoscope trick in ComfyUI - rotate once, average, and the sampler resolves the mess into something resembling rotational symmetry. It's not clean symmetry, it's mood symmetry, and people use it for ornamental and heraldic-looking outputs.
The honest trade-off
One mirror is a bigger visible event than one shift or one multiply, so it's less of a subtle tool - but it's also the best one-time node for learning, because you can't miss whether it fired. The main pitfall is combine mode plus an early flip: the ghosting gets folded into the rest of the generation and can look like motion blur. Start with replace mode and a flip at roughly step 1/4 of your run.
Install
Same pack, same routine:
cd ComfyUI/custom_nodes
git clone https://github.com/RomanKuschanow/ComfyUI-Advanced-Latent-Control
Restart, or install "Advanced Latent Control" via ComfyUI Manager. No models, no extra dependencies.
The bottom line
If you want symmetry, don't flip the finished image - flip once mid-run and let the sampler do the rest. That single-sentence workflow is the entire reason this node exists, and it's one of the pack's most satisfying results per click.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| step | INT | 11–10000 | — |
| mode | COMBO | 2 options: replace, combine | |
| direction | COMBO | horizontally | 5 options: vertically, horizontally, both, 90 degree rotation, 180 degree rotation |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| TRANSFORM | TRANSFORM | — |