Skip to content

Instantly share code, notes, and snippets.

View pgrzesiecki's full-sized avatar
🏠

Paweł Grzesiecki pgrzesiecki

🏠
View GitHub Profile
@pgrzesiecki
pgrzesiecki / stable-diffusion-server-provision.sh
Created November 26, 2023 17:48
stable-diffusion-server-provision
#!/usr/bin/env bash
sudo apt update
sudo apt -y upgrade
sudo apt install -y curl git
sudo apt install -y liblzma-dev libssl-dev libffi-dev libncurses5-dev zlib1g zlib1g-dev libreadline-dev libbz2-dev libsqlite3-dev make gcc google-perftools
# ONLY WHEN ROOT START (WebUI must be run from regular account, not root, so we need to create one)
password="MyTestPasswordHere123"
@pgrzesiecki
pgrzesiecki / stable-diffusion-styles.json
Last active November 26, 2023 16:06
stable-diffusion-styles.json
[
{
"name": "sai-base",
"prompt": "{prompt}",
"negative_prompt": ""
},
{
"name": "sai-3d-model",
"prompt": "professional 3d model {prompt} . octane render, highly detailed, volumetric, dramatic lighting",
"negative_prompt": "ugly, deformed, noisy, low poly, blurry, painting"
@pgrzesiecki
pgrzesiecki / stable-diffusion-styles.csv
Last active November 26, 2023 15:59
stable diffusion styles
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
"Name","Prompt","Negative"
"None","{prompt}",""
"cinematic-default","cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy","anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured"
"sai-3d-model","professional 3d model {prompt} . octane render, highly detailed, volumetric, dramatic lighting","ugly, deformed, noisy, low poly, blurry, painting"
"sai-analog film","analog film photo {prompt} . faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage","painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured"
"sai-anime","anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed","photo, deformed, black and white, realism, disfigured, low contrast"
"sai-cinematic","cinematic film still {prompt} . shallow depth of field, vignette