> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# 分辨率 Bucket（ResolutionBucket）

<div class="node-meta"><code>ResolutionBucket</code><span>model/training</span><span>角色：条件修饰</span></div>

此节点按分辨率组织潜在图像列表及其对应的条件数据。它将具有相同高度和宽度的项分组在一起，为每个唯一分辨率创建单独的批次。此过程有助于为高效训练准备数据，因为它允许模型一起处理多个相同尺寸的项。

## 参数

| 参数             | 类型                | 默认 / 范围 | 说明                  |
| -------------- | ----------------- | ------- | ------------------- |
| `latents`      | LATENT · 潜空间      | —（连线输入） | 分批的潜在字典列表，每个分辨率桶一个。 |
| `conditioning` | CONDITIONING · 条件 | —（连线输入） | 条件列表的列表，每个分辨率桶一个。   |

## 输出

| 输出           | 类型           | 说明  |
| ------------ | ------------ | --- |
| latents      | LATENT       | 潜空间 |
| conditioning | CONDITIONING | 条件  |

## 怎么接

- **上游**：EmptyLatentImage / VAEEncode / KSampler
- **下游**：VAEDecode / 下一段采样
- **接线**：上游接 CLIPTextEncode 出来的条件，输出继续接 KSampler 的 `positive`/`negative`；多个条件修饰可以串联，后面的会覆盖或叠加前面的区域/强度设置。

## 使用案例

属于「条件修饰」类节点，向下游提供潜空间数据，通常进采样器或解码器。从 `latents`、`conditioning` 开始填就能跑起来。典型接法：`EmptyLatentImage` → 本节点 → `VAEDecode`。输出类型是 LATENT，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

![ResolutionBucket 端口与连线示意](/svg/ResolutionBucket.svg)

## 同类节点

[加载训练数据集](/nodes/01/LoadTrainingDataset.md) · [绘制损失图](/nodes/01/LossGraphNode.md) · [制作训练数据集](/nodes/01/MakeTrainingDataset.md) · [保存训练数据集](/nodes/01/SaveTrainingDataset.md) · [训练 LoRA](/nodes/01/TrainLoraNode.md)
