upscaler-cli
v3.0.6
Published
upscale png images from your terminal
Downloads
660
Maintainers
Readme
upscaler-cli
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/
Artist: stable-diffusion
Prompt: a fantastic alien landscape
Commands
| name | description | example |
| -------- | ----------------------------------------------------------------------- | ------------------------------ |
| | path of directory/image to upscale | upscaler alien_landscape.png
|
| list, ls | list all supported upscale models and their respective supported scales | upscaler ls
, upscaler ls
|
Options
| name | description | type | example |
| ------ | ----------------------------- | ------ | ------------------------------ |
| model | upscale model to use | string | -m @upscalerjs/esrgan-medium
|
| output | output directory | string | -o upscales/
|
| scale | scale of upscale model to use | string | -s 4x
|
Models
| name | scale | | ---------------------------------- | ---------------------------- | | @upscalerjs/esrgan-slim | 2x 3x 4x 8x | | @upscalerjs/esrgan-medium | 2x 3x 4x 8x | | @upscalerjs/esrgan-thick | 2x 3x 4x 8x | | @upscalerjs/esrgan-legacy | div2kx2 div2kx3 div2kx4 gans | | @upscalerjs/maxim-deblurring | 64 256 | | @upscalerjs/maxim-dehazing-indoor | 64 256 | | @upscalerjs/maxim-dehazing-outdoor | 64 256 | | @upscalerjs/maxim-denoising | 64 256 | | @upscalerjs/maxim-deraining | 64 256 | | @upscalerjs/maxim-enhancement | 64 256 | | @upscalerjs/maxim-retouching | 64 256 |