Nodes/comfyui-mixlab-nodes/MirroredImage ♾️Mixlab
ComfyUI Node Runs on cloud

MirroredImage ♾️Mixlab

Flip an image horizontally, and that's the whole job

By MixLabPro·Created 3 years ago·Updated 2 months ago· 1,859
MirroredImage ♾️Mixlab
  • image
  • IMAGE

Let's not overcomplicate a node that doesn't want to be complicated. MirroredImage takes an image and mirrors it - flips it left-to-right. That's it. One input, one output, no settings. If you were hoping for vertical flip, rotation, or a knob, this isn't that node; it does the horizontal mirror and goes home.

So why does it exist, and why would you reach for it? A few honest reasons. Mirroring is a cheap way to get a second, plausibly-different variation of a composition without re-rolling the seed. It's handy when a face or pose came out looking off in a way that reads better flipped (our eyes are weirdly sensitive to left/right asymmetry). And it's a staple of dataset prep - horizontal flip is the most common, safest augmentation when you're building training data, because it doubles your set without introducing anything unnatural. This one comes from shadowcz007's mixlab pack, which is stuffed with small image utilities like this alongside its bigger toys; MirroredImage is one of the tiny building-block nodes.

How it works

It reverses the pixel columns of the image tensor. Left edge becomes right edge, and vice versa. No interpolation, no quality loss, nothing resampled - a mirror is lossless. It handles a batch the same way it handles a single image, flipping each one.

The inputs and outputs that matter

There's exactly one of each, so there's nothing to tune:

  • image (IMAGE) in - whatever you want mirrored.
  • IMAGE out (a list) - the flipped result. Wire it wherever the original would have gone.

That's the entire surface. Any article claiming this node has quality settings or flip-axis options is making it up.

How to install it

Via ComfyUI Manager: search comfyui-mixlab-nodes, install, restart. Or clone the pack:

cd ComfyUI/custom_nodes
git clone https://github.com/shadowcz007/comfyui-mixlab-nodes.git

then install requirements (install.bat on the Windows portable build, or pip install -r requirements.txt in your venv) and restart. Worth being honest here: installing an entire ~sprawling pack for one mirror node is overkill. If flipping images is all you need, most general utility packs (KJNodes, WAS, essentials) also have a flip node, and you may already have one installed. Grab mixlab if you want its other stuff too; don't grab it just for this.

Common issues & troubleshooting

There's very little that can go wrong with a node this simple, so I'll keep this honest rather than inventing failure modes.

"It flipped but text/logos are now backwards." That's mirroring working correctly - any text or asymmetric signage in the image reads reversed after a horizontal flip. If that matters, mirror before you add text, or don't mirror that image.

"I wanted a vertical flip." This node only does horizontal. There's no setting for it; you'll need a different node for a vertical flip or rotation.

Nothing appears to change on a symmetric image. If the input is already roughly left-right symmetric (a centered, mirrored composition), the flip is real but visually near-identical. That's expected, not a bug - add a Preview on both sides if you want to confirm it ran.

Category♾️Mixlab/Image

Inputs (1)

NameTypeDefaultDescription
imageIMAGE

Outputs (1)

NameTypeDescription
IMAGEIMAGE