✂️ CLI tool to resize the covers of all types of models in order to accelerate the rendering process of the extranet showcase
MIT License
A CLI minifier tool is available for Extra-Networks to improve the stability of the Diffusion WebUI. It resizes all types of model covers to accelerate the rendering process for extranetwrok showcase.
To install ️✂️ Cover Minifier
, run the following command:
npm install -g sd-webui-cover-minifier
You can use the cover-minifier
command to minifier all covers of Extra-Networks:
$ cd <your-stable-diffuision-webui-dir>
$ cover-minifier
Cover Minifier supports the following options:
--coverWidth, -w Width of minifiered cover, default 300
--coverHeight, -h Height of minifiered cover, default 400
--imgType, -t Type of minifiered cover [webp|png|jpg], default is webp
--ckptPath Ckpt folder path, default is /models/Stable-diffusion
--loraPath Lora folder path, default is /models/Lora
--hypernetworksPath Hypernetworks folder path, default is /models/hypernetworks
--embeddingsPath Embeddings folder path, default is /embeddings
--help, -h Print basic options
--version, -v Print cover-minifier installed version
You can use Gitpod for online development:
Alternatively, you can clone the repository and run the following commands for local development:
$ git clone https://github.com/canisminor1990/sd-webui-cover-minifier.git
$ cd sd-webui-cover-minifier
$ npm install
$ npm start
📊 Total: 3
Copyright © 2023 CanisMinor. This project is MIT licensed.