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

# LatentOperationBlend - ComfyUI Built-in Node Documentation

> 此节点创建一个 latent 操作，用于将 latent 向参考 latent 混合，并返回该操作，以便将其接入 Latent Apply Operation 或 Latent Apply Operation CFG 等节点。

此节点创建一个 latent 操作，用于将 latent 向参考 latent 混合，并返回该操作，以便将其接入 Latent Apply Operation 或 Latent Apply Operation CFG 等节点。当参考 latent 的空间尺寸不同时，会使用最近邻插值将其调整为目标 latent 的尺寸；如果参考 latent 的批次较小，则会重复以匹配目标批次大小。`strength` 为 0 时，latent 保持不变。此节点被标记为实验性节点。

## 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `reference` | 要向其混合的目标 latent。其样本会被转换到正在处理的 latent 的设备与 dtype 上，然后调整尺寸并重复以与其匹配。 | LATENT | 是 | - |
| `strength` | 向参考 latent 混合的程度：0 表示 latent 保持不变，1 表示与调整尺寸后的参考 latent 匹配（默认值：1.0）。 | FLOAT | 是 | 0.0 到 1.0 （步长：0.0001） |

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `operation` | 一种可应用于 latent 样本的混合操作。 | LATENT\_OPERATION |

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

***

**Source fingerprint (SHA-256):** `5890089afddf83ddd4edd992606509b118aac9ef13eb89589f73fa75e0b9dd5a`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.