sd-webui-cover-minifier
v1.0.0
Published
a simple node script to resize all kind of models’ cover to speed up extranetwrok showcase render
Downloads
4
Maintainers
Readme
Extra-Networks cover minifier for stable-diffuison webui a simple node script to resize all kind of models’ cover to speed up extranetwrok showcase render
📦 Installation
To install ️✂️ Cover Minifier
, run the following command:
npm install -g sd-webui-cover-minifier
🤯 Usage
You can use the cover-minifier
command to minifier all covers of Extra-Networks:
$ cd <your-stable-diffuision-webui-dir>
$ cover-minifier
Options
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
⌨️ Local Development
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
📝 License
Copyright © 2023 CanisMinor. This project is MIT licensed.