Skip to content

gabrielalmir/sd-anime-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sd-anime-wallpaper

Overview

sd-anime-wallpaper is a CLI tool for generating anime-style wallpapers using Stable Diffusion.

Installation

  1. Clone the repository:
    git clone https://github.com/gabrielalmir/sd-anime-wallpaper.git
  2. Install dependencies:
    cd sd-anime-wallpaper
    npm install

Usage

Generate an image with the following command:

node dist/main.js generate [options]

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).

Example

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

Configuration

Adjust settings in config/env.js as needed or using the enviromnent variables.

License

MIT License.

About

sd-anime-wallpaper is a CLI tool for generating anime-style wallpapers using Stable Diffusion.

Topics

Resources

License

Stars

Watchers

Forks