第三方插件 ComfyUI_Comfyroll_CustomNodes

CR Aspect Ratio Social Media

CR Aspect Ratio Social Media 309

用于设置社交媒体平台的标准图像尺寸。? CR Aspect Ratio Social

节点中英文对比

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

中文节点
CR Aspect Ratio Social Media
  • 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 Social Media
  • 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
    输出最终计算得到的图像宽度(考虑了 preset 与 prescale)。
    height height
    输出图像高度。
    upscale_factor upscale_factor
    放大因子,仅为参数传递用途。
    prescale_factor prescale_factor
    生成前实际应用的缩放倍率。
    batch_size batch_size
    输出的 latent 样本数量。
    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
    选择社交媒体平台的标准尺寸或 "custom"。
    swap_dimensions swap_dimensions
    是否交换宽高。选项:Off / On。
    upscale_factor upscale_factor
    图像放大倍数(非立即生效,仅提供参数)。
    prescale_factor prescale_factor
    生成 latent 前先进行尺寸缩放的因子。用于控制预缩放,避免 GPU 显存占用过高,或为推理过程降分辨率。
    batch_size batch_size
    批量生成的样本数,默认为 1。

    详细说明

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

    暂无节点说明

    同类节点导航

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