diff --git a/1-ui.png b/1-ui.png new file mode 100644 index 0000000..542d553 Binary files /dev/null and b/1-ui.png differ diff --git a/2-original.png b/2-original.png new file mode 100644 index 0000000..5264bc4 Binary files /dev/null and b/2-original.png differ diff --git a/3-2k_upscale.png b/3-2k_upscale.png new file mode 100644 index 0000000..cd04d82 Binary files /dev/null and b/3-2k_upscale.png differ diff --git a/4-original.png b/4-original.png new file mode 100644 index 0000000..2345a55 Binary files /dev/null and b/4-original.png differ diff --git a/5-2k_upscale.png b/5-2k_upscale.png new file mode 100644 index 0000000..af1ae96 Binary files /dev/null and b/5-2k_upscale.png differ diff --git a/6-4k_upscale.png b/6-4k_upscale.png new file mode 100644 index 0000000..7a2e4d4 Binary files /dev/null and b/6-4k_upscale.png differ diff --git a/7-original.png b/7-original.png new file mode 100644 index 0000000..dfc3d12 Binary files /dev/null and b/7-original.png differ diff --git a/8-4k_upscale.png b/8-4k_upscale.png new file mode 100644 index 0000000..f785f1c Binary files /dev/null and b/8-4k_upscale.png differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..5de6148 --- /dev/null +++ b/README.md @@ -0,0 +1,70 @@ +# Ultimate SD upscaler for automatic1111 web-ui +Now you have the opportunity to use a large denoise (0.3-0.5) and not spawn many artifacts. Works on any video card, since you can use a 512x512 tile size and the image will converge. + +# How to install +1. Go to "Extensions" tab +2. Select "Install from URL" +3. Put https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 into "URL for extension's git repository" field +4. On "Installed" tab click "Apply and restart UI" +5. ??? +6. Profit + +# How to use +Send image to img2img, in "Script" field select "Ultimate SD upscale". The width and height of the future image is selected through the default slider. + +![UI](1-ui.png) + +Enable redraw if it disabled. Select tile size, change padding and mask blur. + +Select upscaler. If you don't want to use the upscaler it's ok, but the image will be blurry. + +If a tile grid is visible on your image, then you can run the image through "Tile grid fix". Just send it to img2img, enable them and disable redraw. Set upscaler to None. + +# Some recommendations + +For 4k image use: +* **Tile size**: 768 +* **Mask blur**: 20 +* **Padding**: 55 + +For 2k image you can use (you can try it on 4k, but result have many mutations): +* **Tile size**: 512 +* **Mask blur**: 16 +* **Padding**: 32 + +Or the same settings as for 4k + +Recommended upscaler: R-ESRGAN 4x+ + +Do not use "Tile grid fix" if image haven't visible grid, it's just another redraw on grids borders. + +# How to enable 4096 img width and height +1. Go to sd-webui folder +2. Find ui-config.json +3. Change all 2048 to 4096 + +# Examples + +Original image + +![Original](2-original.png) + +2k upscaled. **Tile size**: 512, **Padding**: 32, **Mask blur**: 16 +![2k upscale](3-2k_upscale.png) + +Original image + +![Original](4-original.png) + +2k upscaled. **Tile size**: 768, **Padding**: 55, **Mask blur**: 20 +![2k upscale](5-2k_upscale.png) + +4k upscaled. **Tile size**: 768, **Padding**: 55, **Mask blur**: 20 +![4k upscale](6-4k_upscale.png) + +Original image + +![Original](7-original.png) + +4k upscaled. **Tile size**: 768, **Padding**: 55, **Mask blur**: 20 +![4k upscale](8-4k_upscale.png) \ No newline at end of file