@@ -13,9 +13,9 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -13,9 +13,9 @@ A browser interface based on Gradio library for Stable Diffusion.
- Prompt Matrix
- Prompt Matrix
- Stable Diffusion Upscale
- Stable Diffusion Upscale
- Attention, specify parts of text that the model should pay more attention to
- Attention, specify parts of text that the model should pay more attention to
- a man in a ((tuxedo)) - will pay more attention to tuxedo
- a man in a `((tuxedo))` - will pay more attention to tuxedo
- a man in a (tuxedo:1.21) - alternative syntax
- a man in a `(tuxedo:1.21)` - alternative syntax
- select text and press ctrl+up or ctrl+down to automatically adjust attention to selected text (code contributed by anonymous user)
- select text and press `Ctrl+Up` or `Ctrl+Down` to automatically adjust attention to selected text (code contributed by anonymous user)
- Loopback, run img2img processing multiple times
- Loopback, run img2img processing multiple times
- X/Y/Z plot, a way to draw a 3 dimensional plot of images with different parameters
- X/Y/Z plot, a way to draw a 3 dimensional plot of images with different parameters
- Textual Inversion
- Textual Inversion
...
@@ -28,7 +28,7 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -28,7 +28,7 @@ A browser interface based on Gradio library for Stable Diffusion.
- CodeFormer, face restoration tool as an alternative to GFPGAN
- CodeFormer, face restoration tool as an alternative to GFPGAN
- RealESRGAN, neural network upscaler
- RealESRGAN, neural network upscaler
- ESRGAN, neural network upscaler with a lot of third party models
- ESRGAN, neural network upscaler with a lot of third party models
- SwinIR and Swin2SR([see here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2092)), neural network upscalers
- SwinIR and Swin2SR([see here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2092)), neural network upscalers
- LDSR, Latent diffusion super resolution upscaling
- LDSR, Latent diffusion super resolution upscaling
- Resizing aspect ratio options
- Resizing aspect ratio options
- Sampling method selection
- Sampling method selection
...
@@ -46,7 +46,7 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -46,7 +46,7 @@ A browser interface based on Gradio library for Stable Diffusion.
- drag and drop an image/text-parameters to promptbox
- drag and drop an image/text-parameters to promptbox
- Read Generation Parameters Button, loads parameters in promptbox to UI
- Read Generation Parameters Button, loads parameters in promptbox to UI
- Settings page
- Settings page
- Running arbitrary python code from UI (must run with --allow-code to enable)
- Running arbitrary python code from UI (must run with `--allow-code` to enable)
- Mouseover hints for most UI elements
- Mouseover hints for most UI elements
- Possible to change defaults/mix/max/step values for UI elements via text config
- Possible to change defaults/mix/max/step values for UI elements via text config
- Tiling support, a checkbox to create images that can be tiled like textures
- Tiling support, a checkbox to create images that can be tiled like textures
...
@@ -69,7 +69,7 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -69,7 +69,7 @@ A browser interface based on Gradio library for Stable Diffusion.
- also supports weights for prompts: `a cat :1.2 AND a dog AND a penguin :2.2`
- also supports weights for prompts: `a cat :1.2 AND a dog AND a penguin :2.2`
- No token limit for prompts (original stable diffusion lets you use up to 75 tokens)
- No token limit for prompts (original stable diffusion lets you use up to 75 tokens)
- DeepDanbooru integration, creates danbooru style tags for anime prompts
- DeepDanbooru integration, creates danbooru style tags for anime prompts
-[xformers](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers), major speed increase for select cards: (add --xformers to commandline args)
-[xformers](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers), major speed increase for select cards: (add `--xformers` to commandline args)
- via extension: [History tab](https://github.com/yfszzx/stable-diffusion-webui-images-browser): view, direct and delete images conveniently within the UI
- via extension: [History tab](https://github.com/yfszzx/stable-diffusion-webui-images-browser): view, direct and delete images conveniently within the UI
- Generate forever option
- Generate forever option
- Training tab
- Training tab
...
@@ -78,11 +78,11 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -78,11 +78,11 @@ A browser interface based on Gradio library for Stable Diffusion.
- Clip skip
- Clip skip
- Hypernetworks
- Hypernetworks
- Loras (same as Hypernetworks but more pretty)
- Loras (same as Hypernetworks but more pretty)
- A sparate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt.
- A sparate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt
- Can select to load a different VAE from settings screen
- Can select to load a different VAE from settings screen
- Estimated completion time in progress bar
- Estimated completion time in progress bar
- API
- API
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embeds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embeds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
-[Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
-[Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
-[Alt-Diffusion](https://arxiv.org/abs/2211.06679) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#alt-diffusion) for instructions
-[Alt-Diffusion](https://arxiv.org/abs/2211.06679) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#alt-diffusion) for instructions
...
@@ -91,7 +91,6 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -91,7 +91,6 @@ A browser interface based on Gradio library for Stable Diffusion.
- Eased resolution restriction: generated image's domension must be a multiple of 8 rather than 64
- Eased resolution restriction: generated image's domension must be a multiple of 8 rather than 64
- Now with a license!
- Now with a license!
- Reorder elements in the UI from settings screen
- Reorder elements in the UI from settings screen
-
## Installation and Running
## Installation and Running
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for both [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs)(recommended) and [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for both [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs)(recommended) and [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
...
@@ -101,7 +100,7 @@ Alternatively, use online services (like Google Colab):
...
@@ -101,7 +100,7 @@ Alternatively, use online services (like Google Colab):
-[List of Online Services](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Online-Services)
-[List of Online Services](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Online-Services)
### Automatic Installation on Windows
### Automatic Installation on Windows
1. Install [Python 3.10.6](https://www.python.org/downloads/windows/), checking "Add Python to PATH"
1. Install [Python 3.10.6](https://www.python.org/downloads/windows/), checking "Add Python to PATH".
"sd_lora":shared.OptionInfo("None","Add Lora to prompt",gr.Dropdown,lambda:{"choices":[""]+[xforxinlora.available_loras]},refresh=lora.list_available_loras),
"sd_lora":shared.OptionInfo("None","Add Lora to prompt",gr.Dropdown,lambda:{"choices":["None"]+[xforxinlora.available_loras]},refresh=lora.list_available_loras),
"lora_apply_to_outputs":shared.OptionInfo(False,"Apply Lora to outputs rather than inputs when possible (experimental)"),
print("Installation of xformers is not supported in this version of Python.")
print("Installation of xformers is not supported in this version of Python.")
print("You can also check this and build manually: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers#building-xformers-on-windows-by-duckness")
print("You can also check this and build manually: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Xformers#building-xformers-on-windows-by-duckness")
parser.add_argument("-f",action='store_true',help=argparse.SUPPRESS)# allows running as root; implemented outside of webui
parser.add_argument("--update-all-extensions",action='store_true',help="launch.py argument: download updates for all extensions when starting the program")
parser.add_argument("--update-all-extensions",action='store_true',help="launch.py argument: download updates for all extensions when starting the program")
parser.add_argument("--skip-python-version-check",action='store_true',help="launch.py argument: do not check python version")
parser.add_argument("--skip-python-version-check",action='store_true',help="launch.py argument: do not check python version")
parser.add_argument("--skip-torch-cuda-test",action='store_true',help="launch.py argument: do not check if CUDA is able to work properly")
parser.add_argument("--skip-torch-cuda-test",action='store_true',help="launch.py argument: do not check if CUDA is able to work properly")
"ESRGAN_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":48,"step":1}),
"ESRGAN_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":48,"step":1}),
"realesrgan_enabled_models":OptionInfo(["R-ESRGAN 4x+","R-ESRGAN 4x+ Anime6B"],"Select which Real-ESRGAN models to show in the web UI. (Requires restart)",gr.CheckboxGroup,lambda:{"choices":shared_items.realesrgan_models_names()}),
"realesrgan_enabled_models":OptionInfo(["R-ESRGAN 4x+","R-ESRGAN 4x+ Anime6B"],"Select which Real-ESRGAN models to show in the web UI. (Requires restart)",gr.CheckboxGroup,lambda:{"choices":shared_items.realesrgan_models_names()}),
"upscaler_for_img2img":OptionInfo(None,"Upscaler for img2img",gr.Dropdown,lambda:{"choices":[x.nameforxinsd_upscalers]}),
"upscaler_for_img2img":OptionInfo(None,"Upscaler for img2img",gr.Dropdown,lambda:{"choices":[x.nameforxinsd_upscalers]}),
"SCUNET_tile":OptionInfo(256,"Tile size for SCUNET upscalers. 0 = no tiling.",gr.Slider,{"minimum":0,"maximum":512,"step":16}),
"SCUNET_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for SCUNET upscalers. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":64,"step":1}),
"comma_padding_backtrack":OptionInfo(20,"Increase coherency by padding from the last comma within n tokens when using more than 75 tokens",gr.Slider,{"minimum":0,"maximum":74,"step":1}),
"comma_padding_backtrack":OptionInfo(20,"Increase coherency by padding from the last comma within n tokens when using more than 75 tokens",gr.Slider,{"minimum":0,"maximum":74,"step":1}),
"upcast_attn":OptionInfo(False,"Upcast cross attention layer to float32"),
"upcast_attn":OptionInfo(False,"Upcast cross attention layer to float32"),
"randn_source":OptionInfo("GPU","Random number generator source. Changes seeds drastically. Use CPU to produce the same picture across different vidocard vendors.",gr.Radio,{"choices":["GPU","CPU"]}),
"extra_networks_card_width":OptionInfo(0,"Card width for Extra Networks (px)"),
"extra_networks_card_width":OptionInfo(0,"Card width for Extra Networks (px)"),
"extra_networks_card_height":OptionInfo(0,"Card height for Extra Networks (px)"),
"extra_networks_card_height":OptionInfo(0,"Card height for Extra Networks (px)"),
"extra_networks_add_text_separator":OptionInfo(" ","Extra text to add before <...> when adding extra network to prompt"),
"extra_networks_add_text_separator":OptionInfo(" ","Extra text to add before <...> when adding extra network to prompt"),
"sd_hypernetwork":OptionInfo("None","Add hypernetwork to prompt",gr.Dropdown,lambda:{"choices":[""]+[xforxinhypernetworks.keys()]},refresh=reload_hypernetworks),
"sd_hypernetwork":OptionInfo("None","Add hypernetwork to prompt",gr.Dropdown,lambda:{"choices":["None"]+[xforxinhypernetworks.keys()]},refresh=reload_hypernetworks),
"dimensions_and_batch_together":OptionInfo(True,"Show Width/Height and Batch sliders in same row"),
"dimensions_and_batch_together":OptionInfo(True,"Show Width/Height and Batch sliders in same row"),
"keyedit_precision_attention":OptionInfo(0.1,"Ctrl+up/down precision when editing (attention:1.1)",gr.Slider,{"minimum":0.01,"maximum":0.2,"step":0.001}),
"keyedit_precision_attention":OptionInfo(0.1,"Ctrl+up/down precision when editing (attention:1.1)",gr.Slider,{"minimum":0.01,"maximum":0.2,"step":0.001}),
"keyedit_precision_extra":OptionInfo(0.05,"Ctrl+up/down precision when editing <extra networks:0.9>",gr.Slider,{"minimum":0.01,"maximum":0.2,"step":0.001}),
"keyedit_precision_extra":OptionInfo(0.05,"Ctrl+up/down precision when editing <extra networks:0.9>",gr.Slider,{"minimum":0.01,"maximum":0.2,"step":0.001}),
"keyedit_delimiters":OptionInfo(".,\/!?%^*;:{}=`~()","Ctrl+up/down word delimiters"),
"disabled_extensions":OptionInfo([],"Disable those extensions"),
"disabled_extensions":OptionInfo([],"Disable these extensions"),
"disable_all_extensions":OptionInfo("none","Disable all extensions (preserves the list of disabled extensions)",gr.Radio,{"choices":["none","extra","all"]}),
"sd_checkpoint_hash":OptionInfo("","SHA256 hash of the current checkpoint"),
"sd_checkpoint_hash":OptionInfo("","SHA256 hash of the current checkpoint"),
apply=gr.Button(value="Apply and restart UI",variant="primary")
apply=gr.Button(value="Apply and restart UI",variant="primary")
check=gr.Button(value="Check for updates")
check=gr.Button(value="Check for updates")
extensions_disable_all=gr.Radio(label="Disable all extensions",choices=["none","extra","all"],value=shared.opts.disable_all_extensions,elem_id="extensions_disable_all")
withgr.TabItem('Batch from Directory',elem_id="extras_batch_directory_tab")astab_batch_dir:
withgr.TabItem('Batch from Directory',elem_id="extras_batch_directory_tab")astab_batch_dir:
extras_batch_input_dir=gr.Textbox(label="Input directory",**shared.hide_dirs,placeholder="A directory on the same machine where the server is running.",elem_id="extras_batch_input_dir")
extras_batch_input_dir=gr.Textbox(label="Input directory",**shared.hide_dirs,placeholder="A directory on the same machine where the server is running.",elem_id="extras_batch_input_dir")