3.0.6 • Published 8 months ago

upscaler-cli v3.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

upscaler-cli

npm.io

What’s new

✅ Rewritten in TypeScript.
✅ Full upscalejs models support!
✅ Scale support (2x, 3x, 4x, and 8x!).

using upscalerjs

Install

npm install upscaler-cli -g

Usage

upscaler <img or dir> [options]

# example
upscaler align_landscape.png -m @upscalerjs/esrgan-medium -s 4x -o upscales/

npm.io npm.io Artist: stable-diffusion
Prompt: a fantastic alien landscape

Commands

namedescriptionexample
path of directory/image to upscaleupscaler alien_landscape.png
list, lslist all supported upscale models and their respective supported scalesupscaler ls, upscaler ls

Options

namedescriptiontypeexample
modelupscale model to usestring-m @upscalerjs/esrgan-medium
outputoutput directorystring-o upscales/
scalescale of upscale model to usestring-s 4x

Models

upscalerjs models page

namescale
@upscalerjs/esrgan-slim2x 3x 4x 8x
@upscalerjs/esrgan-medium2x 3x 4x 8x
@upscalerjs/esrgan-thick2x 3x 4x 8x
@upscalerjs/esrgan-legacydiv2kx2 div2kx3 div2kx4 gans
@upscalerjs/maxim-deblurring64 256
@upscalerjs/maxim-dehazing-indoor64 256
@upscalerjs/maxim-dehazing-outdoor64 256
@upscalerjs/maxim-denoising64 256
@upscalerjs/maxim-deraining64 256
@upscalerjs/maxim-enhancement64 256
@upscalerjs/maxim-retouching64 256