Skip to content

fgladisch/stable-diffusion-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Image Generator

Generate multiple images using Stable Diffusion 2.1 with a prompt and negative prompt.

Usage

Create a .env file with your prompt and a negative prompt:

PROMPT="(black cat), (digital art), cyberpunk, (sunglasses with purple reflection)"
NEGATIVE_PROMPT="watermark, text, blurry, human"

Run the python script:

python diffuse.py

Your output will be in the folder output/<date>.

Setup

Install Python 3.11.3 using pyenv:

pyenv install 3.11.3

Create a Python environment using pyenv-virtualenv or python -m venv

pyenv virtualenv 3.11.3 stable-diffusion

Install the modules from requirements.txt:

pip install -r requirements.txt

About

Generate Images using Stable Diffusion 2.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published