第三方插件 ComfyUI_Comfyroll_CustomNodes

CR Aspect Ratio

CR Aspect Ratio 230

用于设置生成图像的宽高比。(节点只是预设了高宽,其实是和模型不相关的,模型都能通用)? CR Aspect

节点中英文对比

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

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

    参数说明

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

    输出参数
    width width
    最终应用了预设比例与 prescale_factor 的宽度。
    height height
    同上,表示最终高度。
    upscale_factor upscale_factor
    用户输入的放大因子,用于后续 Upscale 节点。
    prescale_factor prescale_factor
    实际缩放使用的倍率参数。
    batch_size batch_size
    输出的 latent 数量。
    empty_latent empty_latent
    根据尺寸和 batch 初始化的零值 latent 张量。形状为 (B,4,H//8,W//8)。
    show_help show_help
    节点使用说明链接。
    控件参数
    width width
    初始宽度(仅在选择 "custom" 时生效)。
    height height
    初始高度(仅在选择 "custom" 时生效)。
    aspect_ratio aspect_ratio
    选择预设的宽高比。支持 SD1.5 和 SDXL 常见分辨率与电影画幅。
    swap_dimensions swap_dimensions
    是否交换宽高。选项:Off、On。
    upscale_factor upscale_factor
    后续放大比例参数,默认 1.0。
    prescale_factor prescale_factor
    尺寸预缩放因子,应用于 width 和 height 上。在生成 latent 前调整整体尺寸,适合场景测试、下采样实验或兼容某些模块。
    batch_size batch_size
    生成 latent 的批次数量,默认 1。

    详细说明

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

    暂无节点说明

    同类节点导航

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