> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/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.

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

Hunyuan Video 15 Latent Upscale With Model 节点用于提升潜在图像表示的分辨率。它首先使用选定的插值方法将潜在样本放大到指定尺寸，然后使用专门的 Hunyuan Video 1.5 放大模型对放大后的结果进行细化，以提高质量。

## 输入参数

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

**关于尺寸的说明：** 如果 `width` 和 `height` 都设置为 0，节点将返回未经更改的输入 `samples`。如果只有一个维度设置为 0，另一个维度将被计算以保持原始宽高比。最终尺寸总是会被调整为至少 64 像素，并且是 16 的倍数。

## 输出

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