ComfyTV/Imagegenerated

Mirror(MirrorStage)

Both Boolean inputs are required widgets in the node UI. They are independent, so each axis can be toggled on or off without affecting the other.

Mirror Stage

image
image
flip_horizontal
flip_vertical
ComfyTV

Description

The Mirror node (MirrorStage, category ComfyTV/Image) flips a COMFYTV_IMAGE along one or both axes. Two Boolean toggles control the operation independently: flip_horizontal mirrors the image left to right, and flip_vertical mirrors it top to bottom. Use it to correct mirrored inputs, build symmetric variants, or prepare images for workflows that expect a specific orientation.

Inputs

NameTypeRequiredDefaultDescription
flip_horizontalBOOLEANYesfalseWhen enabled, flips the image left↔right. When disabled, no horizontal flip is applied.
flip_verticalBOOLEANYesfalseWhen enabled, flips the image top↔bottom. When disabled, no vertical flip is applied.
imageCOMFYTV_IMAGENoNoneThe image to mirror. Connect the COMFYTV_IMAGE you want to transform. The input is optional, so the node can be added without an image connection, but a connected image is needed for the mirror operation to have an image to act on.

Both Boolean inputs are required widgets in the node UI. They are independent, so each axis can be toggled on or off without affecting the other.

Outputs

NameTypeDescription
COMFYTV_IMAGECOMFYTV_IMAGEThe resulting image after the selected flips are applied.

The node returns a single COMFYTV_IMAGE. With both toggles at their defaults (false), no flipping is applied and the connected image passes through unchanged. Enabling only flip_horizontal or only flip_vertical produces a single-axis mirror. Enabling both produces the equivalent of a 180-degree rotation, since the image is flipped across both axes. The node does not change the image dimensions or aspect ratio; it only changes pixel orientation.

Usage Notes

  • Enable flip_horizontal to mirror the image left to right.
  • Enable flip_vertical to mirror the image top to bottom.
  • Enable both toggles when you want a 180-degree rotation equivalent.
  • Leave both toggles disabled to keep the image unchanged.
  • Use a single enabled toggle when you need a true mirror rather than a rotation.
  • Because image is optional, make sure an image is connected before relying on a meaningful mirrored result in the workflow.

Comments

Sign in with GitHub to join the discussion.

Loading comments…