# 4x-UltraSharp.pth

> 4x-UltraSharp by Kim2091 · 4× ESRGAN upscaler for detailed renders and photos

4x-UltraSharp.pth is Kim2091’s 4× ESRGAN upscaler, the usual pick for sharpening SDXL and FLUX renders and real photos. Put it in ComfyUI/models/upscale_models and load it with the built-in Load Upscale Model node.

Civitai serves the same bytes as 4x-UltraSharp.pt and may rename it 4xUltrasharp_v10.pt on download. All of these names are this file.

## Facts

- **Type:** Upscale model (ESRGAN)
- **Scale:** 4×
- **Architecture:** ESRGAN
- **Format:** PyTorch .pth
- **Size:** 67.0 MB (66,961,958 bytes)
- **SHA256:** a5812231fc936b42af08a5edba784195495d303d5b3248c24489ef0c4021fe01
- **ComfyUI folder:** ComfyUI/models/upscale_models/
- **Loader node:** Load Upscale Model
- **License:** CC BY-NC-SA 4.0

## What is 4x-UltraSharp.pth?

4x-UltraSharp is a community ESRGAN model trained by Kim2091 to enlarge images four times while adding crisp detail. It became the default upscaler in many SDXL and FLUX hires-fix workflows because it sharpens skin, fabric and foliage without the waxy look of plain resizing.

The Civitai copy is the same file. Its API lists the SHA256 a5812231…4021fe01 for 4x-UltraSharp.pt, the same hash Hugging Face shows for 4x-UltraSharp.pth. Searches for 4xUltrasharp_v10.pt or 4xUltrasharp_4xUltrasharpV10.pt are the names Civitai gives that download.

Because it adds texture, it can over-sharpen anime and flat-color art. For those, an anime-tuned model such as RealESRGAN_x4plus_anime_6B usually looks cleaner.

## Download and install

- [Hugging Face · Kim2091/UltraSharp](https://huggingface.co/Kim2091/UltraSharp/resolve/main/4x-UltraSharp.pth) · saves as `4x-UltraSharp.pth` · Author’s repo. Recommended.
- [Civitai · 4x-Ultrasharp](https://civitai.com/models/116225) · saves as `4xUltrasharp_v10.pt` · Same bytes under a .pt name. May ask you to sign in.

```sh
cd ComfyUI/models/upscale_models
wget -O 4x-UltraSharp.pth \
  https://huggingface.co/Kim2091/UltraSharp/resolve/main/4x-UltraSharp.pth
sha256sum 4x-UltraSharp.pth
# a5812231fc936b42af08a5edba784195495d303d5b3248c24489ef0c4021fe01
```

pth files are Python pickles and can run code when loaded, so check the SHA256 before you use a copy from anywhere other than the official source.

## How to load it in ComfyUI

Two built-in nodes. Load Upscale Model reads the file, and Upscale Image (using Model) applies it to any image or video frames you feed in.

- **Want 2× instead of 4×?:** Add Upscale Image By with scale_by 0.5 after the model upscale.
- **Upscaling video:** Connect the frames from your video loader. Every frame in the batch is upscaled.
- **Large images:** ComfyUI tiles automatically and retries with smaller tiles if VRAM runs out.

## Workflows: Uses this exact file

These workflows already load 4x-UltraSharp.pth. Open one and run it as is.

- [Consistent Character Creator 3.8 | Hyperrealistic Consistent AI Characters](https://www.runcomfy.com/comfyui-workflows/consistent-character-creator-3-8-in-comfyui-hyperrealistic-consistent-ai-characters)
- [Wan 2.2 Image Generation | 2-in-1 Workflow Pack](https://www.runcomfy.com/comfyui-workflows/comfyui-wan-2-2-image-generation-complete-workflow-pack)
- [Flux Consistent Characters | Input Image](https://www.runcomfy.com/comfyui-workflows/flux-consistent-characters-input-image)
- [FLUX Outpainting](https://www.runcomfy.com/comfyui-workflows/flux-outpainting-flawlessly-aligned-with-original-image)
- [FLUX NF4 | Speed Up FLUX ImgGen](https://www.runcomfy.com/comfyui-workflows/comfyui-flux-nf4-workflow)
- [Stable Diffusion 3 (SD3) | Text to Image](https://www.runcomfy.com/comfyui-workflows/leverage-stable-diffusion-3-for-advanced-visuals)
- [AnimateDiff + ControlNet + IPAdapter V1 | Flat Anime Style](https://www.runcomfy.com/comfyui-workflows/transform-video-into-flat-anime-style-using-animatediff-controlnet-in-comfyui)
- [Face Detailer | Fix Faces](https://www.runcomfy.com/comfyui-workflows/face-detailer-comfyui-workflow-fix-face)
- [Mesh Graphormer ControlNet | Fix Hands](https://www.runcomfy.com/comfyui-workflows/fix-hands-with-mesh-graphormer-controlnet-in-comfyui)

## Workflows: Uses other ESRGAN upscale models

These workflows load another ESRGAN upscale model. Select 4x-UltraSharp.pth in their Load Upscale Model node to use it instead.

- [MiniMax H3 Anime Video Generator | Multi-Shot Anime + Synced Sound](https://www.runcomfy.com/comfyui-workflows/minimax-h3-in-comfyui-multi-shot-anime-synced-sound)
- [Easy Video Upscaler for Footage | Pro HD Enhancement](https://www.runcomfy.com/comfyui-workflows/easy-video-upscaler-for-footage-in-comfyui-hd-detail-restoration)
- [Flux UltraRealistic LoRA V2](https://www.runcomfy.com/comfyui-workflows/flux-ultrarealistic-lora-v2-lifelike-ai-images)
- [Flux Kontext 360 Degree LoRA](https://www.runcomfy.com/comfyui-workflows/comfyui-flux-kontext-360-degree-lora-workflow)
- [Consistent Character Creator](https://www.runcomfy.com/comfyui-workflows/consistent-character-creator-in-comfyui-input-image)
- [Flux TTP Upscale | 4K Face Restore](https://www.runcomfy.com/comfyui-workflows/flux-upscaler-ttp-face-restore-4k-upscaling)
- [Hunyuan3D-2 | Leading-edge 3D Assets Generator](https://www.runcomfy.com/comfyui-workflows/hunyuan3d-2-workflow-in-comfyui-create-3d-assets-from-images)
- [Epic CineFX | CogVideoX, ControlNet, and Live Portrait Workflow](https://www.runcomfy.com/comfyui-workflows/comfyui-cogvideox-workflow-with-controlnet-and-live-portrait)
- [SUPIR + Foolhardy Remacri | 8K Image/Video Upscaler](https://www.runcomfy.com/comfyui-workflows/8k-image-upscaling-supir-4x-foolhardy-remacri)
- [Flux Consistent Characters | Input Text](https://www.runcomfy.com/comfyui-workflows/consistent-characters-with-flux-comfyui-workflow)
- [ComfyUI Vid2Vid Dance Transfer](https://www.runcomfy.com/comfyui-workflows/comfyui-vid2vid-dance-transfer)
- [Product Relighting Video | Vid2Vid](https://www.runcomfy.com/comfyui-workflows/comfyui-product-relighting-video-workflow)
- [IPAdapter Plus (V2) + AnimateLCM | ipiv's Morph](https://www.runcomfy.com/comfyui-workflows/ipadapter-plus-and-animatelcm-mastering-video-morphing)
- [Vid2Vid Part 2 | SDXL Style Transfer](https://www.runcomfy.com/comfyui-workflows/comfyui-vid2vid-part2-sdxl-style-transfer)
- [AnimateDiff + QR Code ControlNet | Visual Effects (VFX)](https://www.runcomfy.com/comfyui-workflows/ai-vfx-using-comfyui-animatediff-workflow-for-visual-effects)
- [APISR | Anime Image/Video Upscaler](https://www.runcomfy.com/comfyui-workflows/apisr-in-comfyui-anime-image-super-resolution)
- [SDXL Turbo | Rapid Text to Image](https://www.runcomfy.com/comfyui-workflows/text-to-image-with-sdxl-turbo)
- [ControlNet Tile + 4x UltraSharp | Image/Video Upscaler](https://www.runcomfy.com/comfyui-workflows/comfyui-hi-res-fix-upscaling-workflow-controlnet-tile-4x-ultrasharp)

## Same file, other names, and alternatives

- `4x-UltraSharp.pth` · This page · author’s filename · 67.0 MB · Renders and photos, 4×
- `4x-UltraSharp.pt` · Identical bytes · Civitai filename · 67.0 MB · Same file. Keep whichever name your workflow expects
- `4x-UltraSharp.safetensors` · Safetensors export in the same repo · 66.9 MB · Same model without pickle loading
- `remacri_original.safetensors` · Alternative · Foolhardy Remacri · 66.9 MB · Softer, more natural detail
- `realesrganX4plusAnime_v1.pt` · Alternative · anime model · 17.9 MB · Anime and line art

## Common errors and fixes

### Value not in list: model_name: '4x-UltraSharp.pth' not in [...]

Why: The workflow asks for this exact filename, but ComfyUI cannot find it in models/upscale_models. Usually the file is missing, sits in a different folder, or was saved under another name such as 4x-UltraSharp.pt.

Fix: Move the file into ComfyUI/models/upscale_models/, rename it to match the workflow (or pick it again in the dropdown), then refresh the node list or restart ComfyUI.

### UnpicklingError: invalid load key

Why: The download is incomplete, or the browser saved an HTML sign-in or error page under the model’s filename.

Fix: Check that the file is exactly 66,961,958 bytes and that its SHA256 matches the value above. Download it again from Hugging Face · Kim2091/UltraSharp if not.

## FAQ

### Is 4xUltrasharp_v10.pt the same as 4x-UltraSharp.pth?

Yes. Civitai stores the file as 4x-UltraSharp.pt and renames it 4xUltrasharp_v10.pt on download. Its hash, `a5812231fc936b42af08a5edba784195495d303d5b3248c24489ef0c4021fe01`, matches the .pth on Hugging Face. ComfyUI loads either extension.

### Should I use the .pth or the .safetensors version?

Either works in Load Upscale Model. The .safetensors export cannot run code when loaded, so prefer it if you download from a mirror. Use the .pth when a shared workflow asks for that exact name.

### Where do I put 4x-UltraSharp.pth in ComfyUI?

In `ComfyUI/models/upscale_models/`. Then refresh the node list or restart ComfyUI so Load Upscale Model lists the file.

### Which ComfyUI node loads 4x-UltraSharp.pth?

[Load Upscale Model](/comfyui-nodes/ComfyUI/upscale-model-loader). It is built into ComfyUI, so no custom nodes are needed.

### Can I use 4x-UltraSharp.pth commercially?

The Hugging Face repo is licensed CC BY-NC-SA 4.0, which does not allow commercial use of the model. Civitai’s listing allows commercial use of generated images but not selling the model. Check with the author, Kim2091, before using it in a paid product.

## Sources

- [Kim2091/UltraSharp on Hugging Face](https://huggingface.co/Kim2091/UltraSharp)
- [Civitai model 116225](https://civitai.com/models/116225)

Canonical page: https://www.runcomfy.com/comfyui-workflows/model-files/4x-UltraSharp.pth
