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
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
flip_horizontal | BOOLEAN | Yes | false | When enabled, flips the image left↔right. When disabled, no horizontal flip is applied. |
flip_vertical | BOOLEAN | Yes | false | When enabled, flips the image top↔bottom. When disabled, no vertical flip is applied. |
image | COMFYTV_IMAGE | No | None | The 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
| Name | Type | Description |
|---|---|---|
COMFYTV_IMAGE | COMFYTV_IMAGE | The 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_horizontalto mirror the image left to right. - Enable
flip_verticalto 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
imageis 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.