Image Prep For ICLora

节点功能:将参考图像按比例缩放到指定高度,并与潜在图像(latent_image)拼接在一起,拼接时可以加入中间的边框宽度(border_width)。同时也会生成一个对应的掩码,用于区分参考区域与扩展区域。Image Prep For
节点中英文对比
Image Prep For ICLora
  • reference_image
  • Latent图像
  • latent_mask
  • reference_mask
  • IMAGE
  • 遮罩
  • output_width
    output_height
    border_width
    Image Prep For ICLora
  • reference_image
  • latent_image
  • latent_mask
  • reference_mask
  • IMAGE
  • MASK
  • output_width
    output_height
    border_width
    Image Prep For ICLora - 参数说明
    输入参数
    reference_image
    参考图像,通常用于插入角色或遮罩内容的主图。
    latent_image
    待拼接的 latent 区图像,作为输出图右半部分。可选,用于 ICLora 风格生成时作为右图补充。
    latent_mask
    latent 区图像的掩码,用于构建输出掩码。如果提供,将用于构造 final mask 的右半部分。
    reference_mask
    参考图像对应的遮罩,用于裁剪参考图区域。为 None 或全黑时将忽略,非空时将裁剪参考图。
    输出参数
    IMAGE
    合成后的图像,包含左侧参考图、可选边界与右侧 latent 图。
    MASK
    表示参考图与 latent 区域分隔的掩码。
    控件参数
    output_width
    最终输出图像的目标宽度(像素)。
    output_height
    最终输出图像的目标高度(像素)。
    border_width
    参考图像与 latent 图之间的间隔边界宽度(像素)。
    暂无节点说明
    节点列表 首页