> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-matt-router-pricing-pika-and-guard.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LatentConcat - ComfyUI Built-in Node Documentation

> The LatentConcat 节点通过沿所选维度将两个潜在样本拼接在一起。

The LatentConcat 节点通过沿所选维度将两个潜在样本拼接在一起。它接收两个潜在输入，并沿 x、y 或 t 轴进行拼接，同时可控制哪个样本在前。节点会在执行拼接前自动调整第二个输入的批处理大小，以匹配第一个输入。

## 输入

| 参数 | 描述 | 数据类型 | 是否必需 | 范围 |
| - | - | - | - | - |
| `样本1` | 要拼接的第一个潜在样本 | LATENT | 是 | - |
| `样本2` | 要拼接的第二个潜在样本 | LATENT | 是 | - |
| `维度` | 沿其拼接潜在样本的维度。正值（x、y、t）将 `samples1` 置于 `samples2` 之前。负值（-x、-y、-t）将 `samples2` 置于 `samples1` 之前。维度映射为：x = 宽度，y = 高度，t = 时间/帧 | COMBO | 是 | `"x"`<br />`"-x"`<br />`"y"`<br />`"-y"`<br />`"t"`<br />`"-t"` |

**注意：** 第二个潜在样本（`samples2`）会在拼接前根据需要自动重复，以匹配第一个潜在样本（`samples1`）的批处理大小。

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `output` | 沿指定维度组合两个输入样本后得到的拼接潜在样本 | LATENT |

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

***

**Source fingerprint (SHA-256):** `dfe27f76ad12e16623d62c9e7f0b2772df6ecadb543a4eee430bc38ab04a12f2`


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