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

# HitPawVideoEnhance - ComfyUI Built-in Node Documentation

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

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/HitPawVideoEnhance/en.md)

The HitPaw Video Enhance node uses an external API to improve the quality of videos. It upscales low-resolution videos to a higher resolution, removes visual artifacts, and reduces noise. The processing cost is calculated per second of the input video.

## Inputs

| Parameter          | Data Type     | Required | Range                                                                                                                                                                                                                                        | Description                                                                                                                                                      |
| ------------------ | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`            | DYNAMIC COMBO | Yes      | `"Portrait Restore Model (1x)"`<br />`"Portrait Restore Model (2x)"`<br />`"General Restore Model (1x)"`<br />`"General Restore Model (2x)"`<br />`"General Restore Model (4x)"`<br />`"Ultra HD Model (2x)"`<br />`"Generative Model (1x)"` | The AI model to use for video enhancement. Selecting a model reveals a nested `resolution` parameter. The available models and their supported resolutions vary. |
| `model.resolution` | COMBO         | Yes      | For `"Generative Model (1x)"`: `"original"`<br />`"720p"`<br />`"1080p"`<br />`"2K/QHD"`<br />`"4K/UHD"`<br /><br />For all other models: `"original"`<br />`"720p"`<br />`"1080p"`<br />`"2K/QHD"`<br />`"4K/UHD"`<br />`"8K"`              | The target resolution for the enhanced video. The `"8K"` option is only available for models other than `"Generative Model (1x)"`.                               |
| `video`            | VIDEO         | Yes      | N/A                                                                                                                                                                                                                                          | The input video file to be enhanced.                                                                                                                             |

**Constraints:**

* The input `video` must be between 0.5 seconds and 60 minutes (3600 seconds) in duration.
* The selected `resolution` must be larger than the input video's dimensions. If the video is square, the selected resolution must be larger than its width/height. For non-square videos, the selected resolution must be larger than the video's shorter dimension. If the target resolution is smaller, an error will be raised. Choose `"original"` to keep the input video's resolution.

## Outputs

| Output Name | Data Type | Description              |
| ----------- | --------- | ------------------------ |
| `video`     | VIDEO     | The enhanced video file. |

***

**Source fingerprint (SHA-256):** `49291b3c610d32cf60fb4786333cb7e3d18c9de39c15577dabbd9f27bc9eac75`
