> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ReferenceLatent - ComfyUI Built-in Node Documentation

> 此节点为编辑模型设置引导 latent。

此节点为编辑模型设置引导 latent。它接收 conditioning 数据和可选的 latent 输入，然后修改 conditioning 以包含参考 latent 信息。如果模型支持，你可以串联多个 Set Reference Latent 节点来设置多个参考图像。

## 输入

| 参数       | 描述                                                | 数据类型         | 必需 | 范围 |
| -------- | ------------------------------------------------- | ------------ | -- | -- |
| `条件`     | 要用参考 latent 信息修改的 conditioning 数据                 | CONDITIONING | 是  | -  |
| `Latent` | 可选的 latent 数据，用作编辑模型的参考。如果未提供，则 conditioning 原样返回 | LATENT       | 否  | -  |

## 输出

| 输出名称     | 描述                                 | 数据类型         |
| -------- | ---------------------------------- | ------------ |
| `output` | 包含参考 latent 信息的修改后 conditioning 数据 | CONDITIONING |

## 说明

* 参考 latent 以样本张量列表的形式存储，因此按顺序连接多个 Set Reference Latent 节点会追加额外参考，而不是替换前一个参考。
* 当没有连接 `latent` 时，节点会将传入的 `conditioning` 原样传递，不做更改。

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ReferenceLatent/zh.md)

***

**Source fingerprint (SHA-256):** `40b02df8ac436480f478fcfa929cc2e13181954507f4bdcd70aade051a25f7d5`
