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 | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The AI model to use for video enhancement. Selecting a model reveals a nested `resolution` parameter. The available models and their supported resolutions vary. | 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)"` |
| `model.resolution` | The target resolution for the enhanced video. The `"8K"` option is only available for models other than `"Generative Model (1x)"`. | 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"` |
| `video` | The input video file to be enhanced. | VIDEO | Yes | N/A |

**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 | Description | Data Type |
| --- | --- | --- |
| `video` | The enhanced video file. | VIDEO |

> 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)

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