ComfyUI-Easy-Use>Image Switch
ComfyUI-Easy-Use
时间:2025/06/28

Image Switch

节点功能:用于根据布尔值条件在两个图像输入之间进行选择。
Image Switch-节点参数说明
输入参数
image_a输入图像 A。当布尔值为 True 时输出此图像。
image_b输入图像 B。当布尔值为 False 时输出此图像。
输出参数
IMAGE根据布尔值从 image_a 或 image_b 中选出的图像。
控件参数
boolean控制开关,True 输出 image_a,False 输出 image_b。

如下,根据compare的bool输出值来输出图片

  • boolean为true输出image_a
  • boolean为false输出image_b

广告

可加入知识星球获取所有示例工作流

广告

微信扫码入群,加入AIGC大家庭,与大家一起交流学习