Git Product home page Git Product logo

ultimate-upscale-for-automatic1111's Introduction

Ultimate SD Upscale extension for AUTOMATIC1111 Stable Diffusion 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.

News channel: https://t.me/usdunews

Instructions

All instructions can be found on the project's wiki.

Refs

https://github.com/ssitu/ComfyUI_UltimateSDUpscale - Implementation for ComfyUI

Examples

More on wiki page

E1 Original image

Original

2k upscaled. Tile size: 512, Padding: 32, Mask blur: 16, Denoise: 0.4 2k upscale

E2 Original image

Original

2k upscaled. Tile size: 768, Padding: 55, Mask blur: 20, Denoise: 0.35 2k upscale

4k upscaled. Tile size: 768, Padding: 55, Mask blur: 20, Denoise: 0.35 4k upscale

E3 Original image

Original

4k upscaled. Tile size: 768, Padding: 55, Mask blur: 20, Denoise: 0.4 4k upscale

API Usage

{
"script_name" : "ultimate sd upscale",
"script_args" : [
	null, // _ (not used)
	512, // tile_width
	512, // tile_height
	8, // mask_blur
	32, // padding
	64, // seams_fix_width
	0.35, // seams_fix_denoise
	32, // seams_fix_padding
	0, // upscaler_index
	true, // save_upscaled_image a.k.a Upscaled
	0, // redraw_mode
	false, // save_seams_fix_image a.k.a Seams fix
	8, // seams_fix_mask_blur
	0, // seams_fix_type
	0, // target_size_type
	2048, // custom_width
	2048, // custom_height
	2 // custom_scale
]
}

upscaler_index

Value
0 None
1 Lanczos
2 Nearest
3 ESRGAN_4x
4 LDSR
5 R-ESRGAN_4x+
6 R-ESRGAN 4x+ Anime6B
7 ScuNET GAN
8 ScuNET PSNR
9 SwinIR 4x

redraw_mode

Value
0 Linear
1 Chess
2 None

seams_fix_mask_blur

Value
0 None
1 BAND_PASS
2 HALF_TILE
3 HALF_TILE_PLUS_INTERSECTIONS

seams_fix_type

Value
0 None
1 Band pass
2 Half tile offset pass
3 Half tile offset pass + intersections

seams_fix_type

Value
0 From img2img2 settings
1 Custom size
2 Scale from image size

ultimate-upscale-for-automatic1111's People

Contributors

jopezzia avatar coyote-a avatar danamir avatar wywywywy avatar airjen avatar emmortal451 avatar imanrep avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.