Icy LatentFlip
When to Flip a Latent
- samples
- LATENT
IcyLatentFlip flips your latent. Vertically or horizontally, your choice, done before the sampler runs instead of after the image exists. It's a one-trick node - but it's a trick people genuinely use, and if you've ever wanted your output mirrored you've wished for the button this represents.
Like every node in this pack, the "Icy" part is the hiding, not the flipping. IcyHider wraps ComfyUI's core nodes at startup by subclassing them - same inputs, same outputs, same behavior, new IcyHider Comfy Core category - and its JavaScript then covers or blurs the preview until you hover. So this is literally core LatentFlip wearing a privacy coat. If you already know how LatentFlip behaves, you know exactly what this node does.
The two inputs
The info schema is refreshingly tiny:
samples- the LATENT to flip.flip_method- a two-way choice:x-axis: vertically(flip top-to-bottom) ory-axis: horizontally(flip left-to-right).
One output, LATENT, which wires into whatever you were going to do next - another latent op, a KSampler, a VAEDecode.
Why flip in latent space at all?
Because it's free and it's pre-denoise. Flipping before sampling means the model generates a composition for the flipped orientation rather than you flipping an already-committed image. The differences are subtle - a diffusion model isn't fully symmetric, so flipping the latent and sampling can change texture, lighting falloff, or the way text renders - and sometimes that's exactly what you want.
The honest use cases: fixing an image that generated a mirror-image flaw (a backwards logo, text reading wrong), prepping a symmetric composition, or data-augmenting a batch for an img2img test. There's also the occasional trick of flipping to dodge a model's baked-in bias - some models over-favor one side of the frame, and a latent flip plus a final pixel flip balances it out. It's niche, but it's a real move.
The shortcut alternative: flip pixels after decoding with an Image Flip node. That's cheaper to reason about but operates on the finished image, so it can't change what the model draws. LatentFlip is for when you want the model to draw it mirrored.
Install and the shared pack gotchas
No dependencies, no model downloads - this is a frontend extension:
# ComfyUI Manager: search "IcyHider", Install, restart
# or:
cd ComfyUI/custom_nodes
git clone https://github.com/icekiub-ai/ComfyUI-IcyHider.git
# restart ComfyUI
The hiding is applied to DOM elements, so on ComfyUI's newer Nodes 2.0 canvas frontend it can silently not engage - the pack is built for the legacy canvas. Also remember the cover is for your screen only; anything a downstream SaveImage writes is still on disk. And if flipping matters to your final output, double-check the whole graph: a flip upstream plus another flip downstream cancels out, and that's a surprisingly easy way to spend an afternoon.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| samples | LATENT | — | |
| flip_method | COMBO | 2 options: x-axis: vertically, y-axis: horizontally |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LATENT | LATENT | — |