第三方插件 ComfyUI_Comfyroll_CustomNodes

CR SDXL Aspect Ratio

CR SDXL Aspect Ratio 241

为SDXL模型选择最佳的图像尺寸,提供了多种预设的宽高比选项,并能生成适当大小的空白潜空间(latent),直接连接到后续的图像生成节点。(事实上sd1.5、flux等模型都能用)? CR SDXL Aspect

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
CR SDXL Aspect Ratio
  • width
  • height
  • upscale_factor
  • batch_size
  • empty_latent
  • show_help
  • width
    height
    aspect_ratio
    swap_dimensions
    upscale_factor
    batch_size
    英文节点
    CR SDXL Aspect Ratio
  • width
  • height
  • upscale_factor
  • batch_size
  • empty_latent
  • show_help
  • width
    height
    aspect_ratio
    swap_dimensions
    upscale_factor
    batch_size

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

    输出参数
    width width
    计算后的最终宽度。
    height height
    计算后的最终高度。
    upscale_factor upscale_factor
    放大倍数输出。
    batch_size batch_size
    输出 batch 数。
    empty_latent empty_latent
    初始化空 latent 张量,形状为 (B, 4, H//8, W//8)。
    show_help show_help
    节点说明链接。
    控件参数
    width width
    初始宽度。当选择“custom”时生效。
    height height
    初始高度。当选择“custom”时生效。
    aspect_ratio aspect_ratio
    预设宽高比选项,支持多种常见画幅(1:1, 16:9 等)。
    swap_dimensions swap_dimensions
    是否交换宽高。取值为 Off 或 On。
    upscale_factor upscale_factor
    放大倍数,影响后续图像放大处理。
    batch_size batch_size
    生成 batch 中的样本数量。

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。