CR Aspect Ratio

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