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

# Trellis2Conditioning（Trellis2Conditioning）

<div class="node-meta"><code>Trellis2Conditioning</code><span>model/conditioning/trellis</span><span>角色：条件编码</span></div>

Trellis2Conditioning 将输入图像转换为 TRELLIS.2 模型的条件数据。它使用 CLIP 视觉模型将图像编码为两组特征（512 和 1024 尺度），并将其打包为正条件对，同时创建匹配的零填充负条件对，作为空参考。

## 参数

| 参数                  | 类型                  | 默认 / 范围 | 说明                       |
| ------------------- | ------------------- | ------- | ------------------------ |
| `clip_vision_model` | CLIP_VISION · 视觉编码器 | —（连线输入） | 用于将图像编码为条件特征的 CLIP 视觉模型。 |
| `image`             | IMAGE · 图像          | —（连线输入） | RGB 图像输入；尺寸不一致会被缩放或裁切。   |

## 输出

| 输出       | 类型           | 说明 |
| -------- | ------------ | -- |
| positive | CONDITIONING | 条件 |
| negative | CONDITIONING | 条件 |

## 怎么接

- **上游**：CLIPVisionLoader
- **下游**：KSampler.positive / negative
- **接线**：把 CLIP（或视觉/音频编码器）接到本节点，输出的 CONDITIONING 接 KSampler 的 `positive` 或 `negative`；条件在采样器之前还可以继续用条件修饰节点加工。

## 使用案例

属于「条件编码」类节点，向下游提供条件，最终进采样器的 positive 或 negative。从 `clip_vision_model`、`image` 开始填就能跑起来。典型接法：`CLIPVisionLoader` → 本节点 → `KSampler.positive`。输出类型是 CONDITIONING，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

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

## 同类节点

[Pixal3DConditioning](/nodes/03/Pixal3DConditioning.md) · [Pixal3D 多视角条件控制](/nodes/03/Pixal3DMultiViewConditioning.md) · [Trellis2ShapeStage](/nodes/03/Trellis2ShapeStage.md) · [Trellis2TextureStage](/nodes/03/Trellis2TextureStage.md) · [Trellis2 上采样阶段](/nodes/03/Trellis2UpsampleStage.md)
