> ## 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.

# HunyuanVideo15LatentUpscaleWithModel - ComfyUI Built-in Node Documentation

> Complete documentation for the HunyuanVideo15LatentUpscaleWithModel node in ComfyUI. Learn its inputs, outputs, parameters and usage.

### 概述

Hunyuan Video 15 潜空间放大（使用模型）节点用于提升潜空间图像表示的分辨率。该节点首先通过选定的插值方法将潜空间样本放大至指定尺寸，随后利用专门的 Hunyuan Video 1.5 放大模型对放大结果进行优化，以提升画质。

### 输入

| 参数       | 描述                                                                   | 数据类型                   | 必填 | 取值范围                                                                                |
| -------- | -------------------------------------------------------------------- | ---------------------- | -- | ----------------------------------------------------------------------------------- |
| `模型`     | 用于优化放大后样本的 Hunyuan Video 1.5 潜空间放大模型。                                | LATENT\_UPSCALE\_MODEL | 是  | 不适用                                                                                 |
| `Latent` | 待放大的潜空间图像表示。                                                         | LATENT                 | 是  | 不适用                                                                                 |
| `放大方法`   | 初始放大步骤使用的插值算法（默认值：`"bilinear"`）。                                     | COMBO                  | 否  | `"nearest-exact"`<br />`"bilinear"`<br />`"area"`<br />`"bicubic"`<br />`"bislerp"` |
| `宽度`     | 放大后潜空间的目标宽度（像素）。值为 0 时，将根据目标高度和原始宽高比自动计算宽度。最终输出宽度为 16 的倍数（默认值：1280）。 | INT                    | 否  | 0 至 16384                                                                           |
| `高度`     | 放大后潜空间的目标高度（像素）。值为 0 时，将根据目标宽度和原始宽高比自动计算高度。最终输出高度为 16 的倍数（默认值：720）。  | INT                    | 否  | 0 至 16384                                                                           |
| `裁剪`     | 决定如何裁剪放大后的潜空间以适配目标尺寸。                                                | COMBO                  | 否  | `"disabled"`<br />`"center"`                                                        |

**尺寸说明：** 若 `width` 和 `height` 均设为 0，节点将直接返回输入的 `samples` 而不做任何处理。若仅将其中一个维度设为 0，则另一维度将根据原始宽高比自动计算。最终尺寸始终调整为至少 64 像素，且为 16 的倍数。

### 输出

| 输出名称     | 描述                 | 数据类型   |
| -------- | ------------------ | ------ |
| `LATENT` | 经放大和模型优化后的潜空间图像表示。 | LATENT |

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

***

**Source fingerprint (SHA-256):** `1de9e157c1a0433f1b3d5ff4d428a1aa392fd65da5e314e6e818ce66495d5ef4`
