Skip to content

✂️ CLI tool to resize the covers of all types of models in order to accelerate the rendering process of the extranet showcase

License

Notifications You must be signed in to change notification settings

canisminor1990/sd-webui-cover-minifier

Repository files navigation

✂️ Cover Minifier

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.

release releaseDate ciTest ciRelease
contributors forks stargazers issues

📦 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:

Open in Gitpod

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

🤝 Contributing

📊 Total: 3


📝 License

Copyright © 2023 CanisMinor.
This project is MIT licensed.

About

✂️ CLI tool to resize the covers of all types of models in order to accelerate the rendering process of the extranet showcase

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •