首页/ 节点库/ CR SDXL Aspect Ratio
第三方插件 ComfyUI_Comfyroll_CustomNodes

CR SDXL Aspect Ratio

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

CR SDXL Aspect Ratio 2026-01-30 收录 562 次浏览

节点中英文对比

ComfyUI 结构对照

按当前节点配置,分别展示中文与英文节点结构。面板按 ComfyUI 实际界面还原: 左侧圆点是输入,右侧圆点与该行最右的名称为输出,下方胶囊是控件参数; 控件两端的三角表示可切换的选项。

中文节点 12 项
CR SDXL Aspect Ratio
width
height
upscale_factor
batch_size
empty_latent
show_help
width —
height —
aspect_ratio —
swap_dimensions —
upscale_factor —
batch_size —
英文节点 12 项
CR SDXL Aspect Ratio
width
height
upscale_factor
batch_size
empty_latent
show_help
width —
height —
aspect_ratio —
swap_dimensions —
upscale_factor —
batch_size —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

面板用于对照参数位置与命名,不做交互;实际节点外观以 ComfyUI 内的主题为准。

参数说明

输出 6 · 控件 6

依据当前节点关联的 NodesItems 数据,按输入、输出、控件三类分别列出名称与说明。

输出参数 6 项
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
节点说明链接。
控件参数 6 项
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 中的样本数量。

节点详解

原理 · 用法 · 常见问题
暂无节点说明

常见问题

按节点参数整理
CR SDXL Aspect Ratio是做什么的?
为SDXL模型选择最佳的图像尺寸,提供了多种预设的宽高比选项,并能生成适当大小的空白潜空间(latent),直接连接到后续的图像生成节点。(事实上sd1.5、flux等模型都能用)? CR SDXL Aspect
CR SDXL Aspect Ratio的输出是什么?
共 6 个输出:width(width)、height(height)、upscale_factor(upscale_factor)、batch_size(batch_size)、empty_latent(empty_latent)、show_help(show_help)。
CR SDXL Aspect Ratio有哪些可调参数?
共 6 个控件参数,包括 width(width)、height(height)、aspect_ratio(aspect_ratio)、swap_dimensions(swap_dimensions)、upscale_factor(upscale_factor)、batch_size(batch_size)。
CR SDXL Aspect Ratio属于哪个节点包?
属于「ComfyUI_Comfyroll_CustomNodes」,节点分类为「第三方插件」。

同类节点

ComfyUI_Comfyroll_CustomNodes