About PXPERFECT
PXPERFECT edits pictures in the browser. It can rebuild detail, restore faces, and cut out the background. The work runs on the graphics card through WebGPU.
How it works
Every model is downloaded to your computer the first time a tool needs it, and it stays there. Pictures stay on this computer too. They are not uploaded. The site is free.
How fast a tool finishes depends on the computer you use, and especially on its graphics card. A larger picture, a higher scale, and a heavier model all take longer.
Tools
Enhance
Enhance rebuilds detail with Real-ESRGAN. The model always works at 4×, then the result is scaled to the size you chose.
- Scale. 1× keeps the original size and restores detail. 2× doubles each side. 4× makes each side four times longer.
- Strength. 0 is a plain resize and skips the model. 100 uses the model fully. A value between those mixes the two.
Large pictures are handled in tiles of 128 pixels, with a 16 pixel overlap, so the graphics card does not have to hold the whole result at once.
Face
Face finds people in the picture and restores each face. Choose GFPGAN 1.4 or GPEN. A face detector runs first. It is not listed in the model menu, and it downloads with the first face restoration.
The detector looks at a 640 pixel view of the picture. Each face is lined up on a 512 pixel square, restored, and placed back with a soft edge. If the picture has no detectable face, the tool stops and says so.
Background
Background separates the subject from the surroundings and stores that separation in the picture’s transparency. The model sees the picture at 1024×1024 and the mask is scaled back to the original size.
- Softness. 100 keeps the model’s gradual edge. Lower values make the cut sharper.
PNG, WebP, and AVIF can keep the transparency. JPEG has no transparency, so a JPEG save paints the empty area white.
Models
A graphics card that can run 16-bit shaders downloads the smaller file. Otherwise the site downloads the 32-bit file.
| Model | Download | What it does | Authors and copyright |
|---|---|---|---|
| Real-ESRGAN x4plus | 32.2 MB in 16-bit, or 63.9 MB in 32-bit | Enhance. Native scale 4×. Tiles are 128 pixels with a 16 pixel margin. | Xintao Wang, Liangbin Xie, Chao Dong, and Ying Shan. Copyright © 2021 Xintao Wang. BSD 3-Clause License. |
| GFPGAN 1.4 | 324.5 MB | Face restoration. Each face is a 512 pixel square. | Xintao Wang, Yu Li, Honglun Zhang, and Ying Shan. Copyright © 2021 THL A29 Limited, a Tencent company. Apache License 2.0. |
| GPEN-BFR-512 | 271.2 MB | Face restoration. Each face is a 512 pixel square. | Tao Yang, Peiran Ren, Xuansong Xie, and Lei Zhang, 2021. The weights used here are licensed for non-commercial use. |
| YOLOv8n face detector | 12.1 MB | Finds faces for the Face tool. Input is 640 pixels on the long side. | derronqi, with an ONNX conversion by tamoharu, 2022. GPL-3.0. |
| BiRefNet-Lite | 117.5 MB in 16-bit, or 233.5 MB in 32-bit | Background. The picture is scaled to 1024×1024, then the mask is scaled back. | Peng Zheng, Dehong Gao, Deng-Ping Fan, Li Liu, Jorma Laaksonen, Wanli Ouyang, and Nicu Sebe. Copyright © 2024 ZhengPeng. MIT License. |
Who makes this
This website is developed and maintained by Tan Silliksaar.
No warranty
PXPERFECT is provided as is and as available, without warranty of any kind, whether express or implied. This includes, without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement. Tan Silliksaar is not liable for any claim, damage, or other liability, whether in contract, tort, or otherwise, arising from the website, the models, or the use of either.