Generate multiple images using Stable Diffusion 2.1 with a prompt and negative prompt.
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>
.
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