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

# StableZero123条件_批处理（StableZero123_Conditioning_Batched）

<div class="node-meta"><code>StableZero123_Conditioning_Batched</code><span>model/conditioning/stable zero123</span><span>角色：图像编码</span></div>

StableZero123_Conditioning_Batched 节点用于准备从单张输入图像生成 3D 模型的 conditioning 数据。它使用 CLIP vision 模型和 VAE 对图像进行编码，将视觉特征与基于仰角和方位角构建的相机嵌入相结合，并为一批样本生成 positive 和 negative conditioning 以及一个 latent 张量。当 `batch_size` 大于 1 时，对于批次中的每个项目，仰角和方位角都会按其批次增量值递增。

## 参数

| 参数                          | 类型                  | 默认 / 范围                | 说明                                           |
| --------------------------- | ------------------- | ---------------------- | -------------------------------------------- |
| `clip_vision`               | CLIP_VISION · 视觉编码器 | —（连线输入）                | 把参考图编码成视觉嵌入。                                 |
| `init_image`                | IMAGE · 图像          | —（连线输入）                | —                                            |
| `vae`                       | VAE · 自编码器          | —（连线输入）                | 用于将图像像素编码到潜在空间的 VAE 模型                       |
| `width`                     | INT                 | 16 \~ 16384，步长 8       | 像素。必须为 8 的倍数（SD1.5 512、SDXL 1024、Flux 1024）。 |
| `height`                    | INT                 | 16 \~ 16384，步长 8       | 像素。必须为 8 的倍数，非正方形建议保持总像素与原模型训练分辨率一致。         |
| `batch_size`                | INT                 | 1 \~ 4096              | 一次生成的图片数量，显存占用线性增长。                          |
| `elevation`                 | FLOAT               | -180.0 \~ 180.0，步长 0.1 | 相机上下俯仰角度。                                    |
| `azimuth`                   | FLOAT               | -180.0 \~ 180.0，步长 0.1 | 相机水平环绕角度。                                    |
| `elevation_batch_increment` | FLOAT               | -180.0 \~ 180.0，步长 0.1 | 相机上下俯仰角度。                                    |
| `azimuth_batch_increment`   | FLOAT               | -180.0 \~ 180.0，步长 0.1 | 相机水平环绕角度。                                    |

## 输出

| 输出       | 类型           | 说明  |
| -------- | ------------ | --- |
| positive | CONDITIONING | 条件  |
| negative | CONDITIONING | 条件  |
| latent   | LATENT       | 潜空间 |

## 怎么接

- **上游**：CLIPVisionLoader
- **下游**：KSampler.positive / negative
- **接线**：把 LoadImage / VAEDecode 出来的 IMAGE 接到 `image`，同家族 VAE 接到 `vae`；输出 LATENT 送进 KSampler 的 `latent_image`——配合 0.4-0.7 的降噪强度就是图生图，先接 SetLatentNoiseMask 则变成局部重绘。

## 使用案例

属于「图像编码」类节点，向下游提供条件，最终进采样器的 positive 或 negative。从 `clip_vision`、`init_image`、`vae` 开始填就能跑起来。典型接法：`CLIPVisionLoader` → 本节点 → `KSampler.positive`。注意：宽高必须是 8 的倍数；SDXL 建议总像素约 1024²，Flux 建议 1MP 左右。

## 端口与连线示意

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

## 实战提示

- 宽高必须是 8 的倍数；SDXL 建议总像素约 1024²，Flux 建议 1MP 左右。
- 批量出图显存占用线性增长，爆显存时优先降 batch 而不是降分辨率。

## 同类节点

[StableZero123条件](/nodes/03/StableZero123_Conditioning.md)
