For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /nodes/03/Trellis2Conditioning.md.

Trellis2Conditioning(Trellis2Conditioning)

Trellis2Conditioningmodel/conditioning/trellis角色:条件编码

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

参数

参数类型默认 / 范围说明
clip_vision_modelCLIP_VISION · 视觉编码器—(连线输入)用于将图像编码为条件特征的 CLIP 视觉模型。
imageIMAGE · 图像—(连线输入)RGB 图像输入;尺寸不一致会被缩放或裁切。

输出

输出类型说明
positiveCONDITIONING条件
negativeCONDITIONING条件

怎么接

  • 上游:CLIPVisionLoader
  • 下游:KSampler.positive / negative
  • 接线:把 CLIP(或视觉/音频编码器)接到本节点,输出的 CONDITIONING 接 KSampler 的 positive 或 negative;条件在采样器之前还可以继续用条件修饰节点加工。

使用案例

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

端口与连线示意

Trellis2Conditioning 端口与连线示意

同类节点

Pixal3DConditioning · Pixal3D 多视角条件控制 · Trellis2ShapeStage · Trellis2TextureStage · Trellis2 上采样阶段