sd-anime-wallpaper
is a CLI tool for generating anime-style wallpapers using Stable Diffusion.
- Clone the repository:
git clone https://github.com/gabrielalmir/sd-anime-wallpaper.git
- Install dependencies:
cd sd-anime-wallpaper npm install
Generate an image with the following command:
node dist/main.js generate [options]
- -p, --prompt : Image prompt.
- -n, --negative : Negative prompt.
- -w, --width : Image width (default: 1280).
- -h, --height : Image height (default: 720).
- -u, --upscaler : Upscaler settings (enabled,multiplier,strength, default: true,1.5,0.55).
- -q, --qualityTags : Quality tags (default: Heavy v3.1).
- -m, --method : Generation method (gradio or browser, default: gradio).
- -o, --output : Output directory (default: ./output).
node dist/main.js generate -p "A beautiful anime landscape" -w 1920 -h 1080 -u true,2.0,0.75 -q "Heavy v3.1" -m gradio -o ./images
Adjust settings in config/env.js as needed or using the enviromnent variables.