| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| __init__.py | 2026-02-27 | 48 Bytes | |
| sampler.py | 2026-02-27 | 3.9 kB | |
| uni_pc.py | 2026-02-27 | 37.9 kB | |
| sd3_cond.py | 2026-02-27 | 8.1 kB | |
| sd3_impls.py | 2026-02-27 | 16.4 kB | |
| sd3_model.py | 2026-02-27 | 3.9 kB | |
| ddpm_edit.py | 2026-02-27 | 68.0 kB | |
| mmdit.py | 2026-02-27 | 24.5 kB | |
| other_impls.py | 2026-02-27 | 24.1 kB | |
| swinir_model.py | 2026-02-27 | 3.8 kB | |
| postprocessing_split_oversized.py | 2026-02-27 | 2.5 kB | |
| prompt-bracket-checker.js | 2026-02-27 | 1.7 kB | |
| scunet_model.py | 2026-02-27 | 3.1 kB | |
| soft_inpainting.py | 2026-02-27 | 30.9 kB | |
| postprocessing_autosized_crop.py | 2026-02-27 | 3.1 kB | |
| postprocessing_caption.py | 2026-02-27 | 971 Bytes | |
| postprocessing_create_flipped_copies.py | 2026-02-27 | 1.1 kB | |
| postprocessing_focal_crop.py | 2026-02-27 | 2.4 kB | |
| ldsr_model.py | 2026-02-27 | 3.1 kB | |
| lora_script.py | 2026-02-27 | 4.2 kB | |
| mobile.js | 2026-02-27 | 1.1 kB | |
| extra_options_section.py | 2026-02-27 | 4.1 kB | |
| hotkey_config.py | 2026-02-27 | 2.0 kB | |
| hypertile_script.py | 2026-02-27 | 7.5 kB | |
| zoom.js | 2026-02-27 | 36.8 kB | |
| test_embedding.png | 2026-02-27 | 489.2 kB | |
| textual_inversion.py | 2026-02-27 | 31.7 kB | |
| ui.py | 2026-02-27 | 1.3 kB | |
| image_embedding.py | 2026-02-27 | 8.6 kB | |
| learn_schedule.py | 2026-02-27 | 2.8 kB | |
| saving_settings.py | 2026-02-27 | 1.6 kB | |
| autocrop.py | 2026-02-27 | 12.1 kB | |
| dataset.py | 2026-02-27 | 10.2 kB | |
| two-faces.jpg | 2026-02-27 | 14.8 kB | |
| empty.pt | 2026-02-27 | 431 Bytes | |
| img2img_basic.png | 2026-02-27 | 9.9 kB | |
| mask_basic.png | 2026-02-27 | 362 Bytes | |
| seed.py | 2026-02-27 | 5.5 kB | |
| comments.py | 2026-02-27 | 1.7 kB | |
| refiner.py | 2026-02-27 | 2.3 kB | |
| hypernetwork.py | 2026-02-27 | 35.9 kB | |
| model.pt | 2026-02-27 | 213.8 kB | |
| models.py | 2026-02-27 | 16.6 kB | |
| api.py | 2026-02-27 | 42.0 kB | |
| preload.py | 2026-02-27 | 227 Bytes | |
| ViT-L-14_stats.th | 2026-02-27 | 7.1 kB | |
| network_oft.py | 2026-02-27 | 5.2 kB | |
| ui_edit_user_metadata.py | 2026-02-27 | 8.7 kB | |
| ui_extra_networks_lora.py | 2026-02-27 | 3.8 kB | |
| network_ia3.py | 2026-02-27 | 908 Bytes | |
| network_lokr.py | 2026-02-27 | 2.4 kB | |
| network_lora.py | 2026-02-27 | 4.1 kB | |
| network_norm.py | 2026-02-27 | 889 Bytes | |
| network_full.py | 2026-02-27 | 904 Bytes | |
| network_glora.py | 2026-02-27 | 1.2 kB | |
| network_hada.py | 2026-02-27 | 2.0 kB | |
| networks.py | 2026-02-27 | 29.2 kB | |
| lora_logger.py | 2026-02-27 | 929 Bytes | |
| lora_patches.py | 2026-02-27 | 2.6 kB | |
| lyco_helpers.py | 2026-02-27 | 2.4 kB | |
| network.py | 2026-02-27 | 7.9 kB | |
| extra_networks_lora.py | 2026-02-27 | 2.6 kB | |
| lora.py | 2026-02-27 | 357 Bytes | |
| vqvae_quantize.py | 2026-02-27 | 6.5 kB | |
| ldsr_model_arch.py | 2026-02-27 | 9.8 kB | |
| sd_hijack_autoencoder.py | 2026-02-27 | 11.8 kB | |
| sd_hijack_ddpm_v1.py | 2026-02-27 | 67.3 kB | |
| hypertile.py | 2026-02-27 | 14.2 kB | |
| style.css | 2026-02-27 | 1.1 kB | |
| xlmr.py | 2026-02-27 | 6.0 kB | |
| xlmr_m18.py | 2026-02-27 | 7.2 kB | |
| xpu_specific.py | 2026-02-27 | 5.9 kB | |
| ui_tempdir.py | 2026-02-27 | 3.2 kB | |
| ui_toprow.py | 2026-02-27 | 7.3 kB | |
| upscaler.py | 2026-02-27 | 4.2 kB | |
| upscaler_utils.py | 2026-02-27 | 6.1 kB | |
| util.py | 2026-02-27 | 6.7 kB | |
| ui_postprocessing.py | 2026-02-27 | 3.1 kB | |
| ui_prompt_styles.py | 2026-02-27 | 6.0 kB | |
| ui_settings.py | 2026-02-27 | 14.9 kB | |
| ui_gradio_extensions.py | 2026-02-27 | 2.4 kB | |
| ui_loadsave.py | 2026-02-27 | 9.2 kB | |
| ui_extra_networks_textual_inversion.py | 2026-02-27 | 1.8 kB | |
| ui_extra_networks_user_metadata.py | 2026-02-27 | 8.0 kB | |
| ui_extensions.py | 2026-02-27 | 30.7 kB | |
| ui_extra_networks.py | 2026-02-27 | 33.8 kB | |
| ui_extra_networks_checkpoints.py | 2026-02-27 | 2.1 kB | |
| ui_extra_networks_checkpoints_user_metadata.py | 2026-02-27 | 2.4 kB | |
| ui_extra_networks_hypernets.py | 2026-02-27 | 1.8 kB | |
| ui_checkpoint_merger.py | 2026-02-27 | 7.9 kB | |
| ui_common.py | 2026-02-27 | 13.7 kB | |
| ui_components.py | 2026-02-27 | 4.1 kB | |
| torch_utils.py | 2026-02-27 | 684 Bytes | |
| txt2img.py | 2026-02-27 | 4.8 kB | |
| styles.py | 2026-02-27 | 9.6 kB | |
| sub_quadratic_attention.py | 2026-02-27 | 7.3 kB | |
| sysinfo.py | 2026-02-27 | 6.6 kB | |
| timer.py | 2026-02-27 | 2.8 kB | |
| shared_options.py | 2026-02-27 | 49.7 kB | |
| shared_state.py | 2026-02-27 | 5.6 kB | |
| shared_total_tqdm.py | 2026-02-27 | 993 Bytes | |
| run_tests.yaml | 2026-02-27 | 2.5 kB | |
| warns_merge_master.yml | 2026-02-27 | 424 Bytes | |
| bug_report.yml | 2026-02-27 | 4.4 kB | |
| config.yml | 2026-02-27 | 203 Bytes | |
| feature_request.yml | 2026-02-27 | 1.4 kB | |
| on_pull_request.yaml | 2026-02-27 | 1.2 kB | |
| style.txt | 2026-02-27 | 588 Bytes | |
| style_filewords.txt | 2026-02-27 | 873 Bytes | |
| subject.txt | 2026-02-27 | 701 Bytes | |
| subject_filewords.txt | 2026-02-27 | 1.1 kB | |
| hypernetwork.txt | 2026-02-27 | 836 Bytes | |
| none.txt | 2026-02-27 | 8 Bytes | |
| test_utils.py | 2026-02-27 | 934 Bytes | |
| test_extras.py | 2026-02-27 | 1.2 kB | |
| test_face_restorers.py | 2026-02-27 | 1.1 kB | |
| test_img2img.py | 2026-02-27 | 2.2 kB | |
| test_torch_utils.py | 2026-02-27 | 473 Bytes | |
| test_txt2img.py | 2026-02-27 | 3.1 kB | |
| conftest.py | 2026-02-27 | 1.0 kB | |
| xyz_grid.py | 2026-02-27 | 39.0 kB | |
| postprocessing_upscale.py | 2026-02-27 | 10.4 kB | |
| prompt_matrix.py | 2026-02-27 | 4.8 kB | |
| prompts_from_file.py | 2026-02-27 | 6.6 kB | |
| sd_upscale.py | 2026-02-27 | 4.0 kB | |
| outpainting_mk_2.py | 2026-02-27 | 13.6 kB | |
| poor_mans_outpainting.py | 2026-02-27 | 5.7 kB | |
| postprocessing_codeformer.py | 2026-02-27 | 1.6 kB | |
| postprocessing_gfpgan.py | 2026-02-27 | 1.1 kB | |
| custom_code.py | 2026-02-27 | 2.5 kB | |
| img2imgalt.py | 2026-02-27 | 9.2 kB | |
| loopback.py | 2026-02-27 | 5.3 kB | |
| shared_items.py | 2026-02-27 | 5.1 kB | |
| shared.py | 2026-02-27 | 2.9 kB | |
| shared_cmd_options.py | 2026-02-27 | 874 Bytes | |
| shared_gradio_themes.py | 2026-02-27 | 4.1 kB | |
| shared_init.py | 2026-02-27 | 2.4 kB | |
| sd_unet.py | 2026-02-27 | 2.6 kB | |
| sd_vae.py | 2026-02-27 | 8.5 kB | |
| sd_vae_approx.py | 2026-02-27 | 3.8 kB | |
| sd_vae_taesd.py | 2026-02-27 | 4.9 kB | |
| sd_samplers_lcm.py | 2026-02-27 | 3.9 kB | |
| sd_samplers_timesteps.py | 2026-02-27 | 6.6 kB | |
| sd_samplers_timesteps_impl.py | 2026-02-27 | 7.5 kB | |
| sd_schedulers.py | 2026-02-27 | 5.0 kB | |
| sd_samplers_extra.py | 2026-02-27 | 3.2 kB | |
| sd_samplers_kdiffusion.py | 2026-02-27 | 11.1 kB | |
| sd_models_xl.py | 2026-02-27 | 5.0 kB | |
| sd_samplers.py | 2026-02-27 | 4.5 kB | |
| sd_samplers_cfg_denoiser.py | 2026-02-27 | 14.5 kB | |
| sd_samplers_common.py | 2026-02-27 | 13.6 kB | |
| sd_hijack_xlmr.py | 2026-02-27 | 1.4 kB | |
| sd_models.py | 2026-02-27 | 37.5 kB | |
| sd_models_config.py | 2026-02-27 | 5.6 kB | |
| sd_models_types.py | 2026-02-27 | 1.3 kB | |
| sd_hijack_utils.py | 2026-02-27 | 1.6 kB | |
| sd_hijack_unet.py | 2026-02-27 | 7.3 kB | |
| sd_hijack_clip_old.py | 2026-02-27 | 3.6 kB | |
| sd_hijack_ip2p.py | 2026-02-27 | 360 Bytes | |
| sd_hijack_open_clip.py | 2026-02-27 | 2.6 kB | |
| sd_hijack_optimizations.py | 2026-02-27 | 24.6 kB | |
| sd_emphasis.py | 2026-02-27 | 2.1 kB | |
| sd_hijack.py | 2026-02-27 | 17.8 kB | |
| sd_hijack_checkpoint.py | 2026-02-27 | 1.3 kB | |
| sd_hijack_clip.py | 2026-02-27 | 15.7 kB | |
| script_callbacks.py | 2026-02-27 | 22.1 kB | |
| script_loading.py | 2026-02-27 | 1.1 kB | |
| scripts_postprocessing.py | 2026-02-27 | 7.2 kB | |
| sd_disable_initialization.py | 2026-02-27 | 11.4 kB | |
| Roboto-Regular.ttf | 2026-02-27 | 305.6 kB | |
| scripts.py | 2026-02-27 | 41.8 kB | |
| scripts_auto_postprocessing.py | 2026-02-27 | 1.5 kB | |
| rng.py | 2026-02-27 | 6.5 kB | |
| rng_philox.py | 2026-02-27 | 3.1 kB | |
| safe.py | 2026-02-27 | 7.1 kB | |
| profiling.py | 2026-02-27 | 1.3 kB | |
| progress.py | 2026-02-27 | 6.0 kB | |
| prompt_parser.py | 2026-02-27 | 16.7 kB | |
| realesrgan_model.py | 2026-02-27 | 4.1 kB | |
| restart.py | 2026-02-27 | 638 Bytes | |
| paths_internal.py | 2026-02-27 | 1.7 kB | |
| postprocessing.py | 2026-02-27 | 6.6 kB | |
| processing.py | 2026-02-27 | 81.2 kB | |
| options.py | 2026-02-27 | 13.1 kB | |
| patches.py | 2026-02-27 | 1.8 kB | |
| paths.py | 2026-02-27 | 2.4 kB | |
| mac_specific.py | 2026-02-27 | 5.9 kB | |
| masking.py | 2026-02-27 | 3.8 kB | |
| memmon.py | 2026-02-27 | 2.8 kB | |
| modelloader.py | 2026-02-27 | 7.0 kB | |
| ngrok.py | 2026-02-27 | 1.1 kB | |
| npu_specific.py | 2026-02-27 | 649 Bytes | |
| launch_utils.py | 2026-02-27 | 20.3 kB | |
| localization.py | 2026-02-27 | 1.1 kB | |
| logging_config.py | 2026-02-27 | 1.6 kB | |
| lowvram.py | 2026-02-27 | 6.2 kB | |
| infotext_versions.py | 2026-02-27 | 1.1 kB | |
| initialize.py | 2026-02-27 | 5.9 kB | |
| initialize_util.py | 2026-02-27 | 8.5 kB | |
| interrogate.py | 2026-02-27 | 8.6 kB | |
| images.py | 2026-02-27 | 35.7 kB | |
| img2img.py | 2026-02-27 | 11.8 kB | |
| import_hook.py | 2026-02-27 | 654 Bytes | |
| infotext_utils.py | 2026-02-27 | 19.9 kB | |
| gitpython_hack.py | 2026-02-27 | 1.5 kB | |
| gradio_extensons.py | 2026-02-27 | 2.7 kB | |
| hashes.py | 2026-02-27 | 2.2 kB | |
| hat_model.py | 2026-02-27 | 1.7 kB | |
| face_restoration.py | 2026-02-27 | 494 Bytes | |
| face_restoration_utils.py | 2026-02-27 | 6.4 kB | |
| fifo_lock.py | 2026-02-27 | 1.0 kB | |
| gfpgan_model.py | 2026-02-27 | 2.1 kB | |
| extensions.py | 2026-02-27 | 11.3 kB | |
| extra_networks.py | 2026-02-27 | 7.3 kB | |
| extra_networks_hypernet.py | 2026-02-27 | 1.1 kB | |
| extras.py | 2026-02-27 | 12.6 kB | |
| devices.py | 2026-02-27 | 8.8 kB | |
| errors.py | 2026-02-27 | 4.6 kB | |
| esrgan_model.py | 2026-02-27 | 2.2 kB | |
| config_states.py | 2026-02-27 | 5.9 kB | |
| dat_model.py | 2026-02-27 | 2.7 kB | |
| deepbooru.py | 2026-02-27 | 3.0 kB | |
| deepbooru_model.py | 2026-02-27 | 36.3 kB | |
| cache.py | 2026-02-27 | 4.1 kB | |
| call_queue.py | 2026-02-27 | 5.0 kB | |
| cmd_args.py | 2026-02-27 | 18.3 kB | |
| codeformer_model.py | 2026-02-27 | 1.9 kB | |
| settings.js | 2026-02-27 | 2.3 kB | |
| token-counters.js | 2026-02-27 | 2.7 kB | |
| ui.js | 2026-02-27 | 13.4 kB | |
| ui_settings_hints.js | 2026-02-27 | 2.3 kB | |
| progressbar.js | 2026-02-27 | 6.5 kB | |
| resizeHandle.js | 2026-02-27 | 6.6 kB | |
| textualInversion.js | 2026-02-27 | 441 Bytes | |
| localization.js | 2026-02-27 | 5.7 kB | |
| localStorage.js | 2026-02-27 | 534 Bytes | |
| notification.js | 2026-02-27 | 1.7 kB | |
| profilerVisualization.js | 2026-02-27 | 4.9 kB | |
| imageMaskFix.js | 2026-02-27 | 1.4 kB | |
| imageviewer.js | 2026-02-27 | 9.4 kB | |
| imageviewerGamepad.js | 2026-02-27 | 1.8 kB | |
| inputAccordion.js | 2026-02-27 | 2.3 kB | |
| extraNetworks.js | 2026-02-27 | 27.0 kB | |
| generationParams.js | 2026-02-27 | 1.5 kB | |
| hints.js | 2026-02-27 | 14.6 kB | |
| hires_fix.js | 2026-02-27 | 886 Bytes | |
| dragdrop.js | 2026-02-27 | 5.2 kB | |
| edit-attention.js | 2026-02-27 | 5.8 kB | |
| edit-order.js | 2026-02-27 | 1.6 kB | |
| extensions.js | 2026-02-27 | 3.1 kB | |
| aspectRatioOverlay.js | 2026-02-27 | 4.0 kB | |
| contextMenus.js | 2026-02-27 | 5.7 kB | |
| footer.html | 2026-02-27 | 556 Bytes | |
| licenses.html | 2026-02-27 | 20.6 kB | |
| extra-networks-pane-dirs.html | 2026-02-27 | 322 Bytes | |
| extra-networks-pane-tree.html | 2026-02-27 | 423 Bytes | |
| extra-networks-pane.html | 2026-02-27 | 3.7 kB | |
| extra-networks-tree-button.html | 2026-02-27 | 912 Bytes | |
| extra-networks-edit-item-button.html | 2026-02-27 | 162 Bytes | |
| extra-networks-metadata-button.html | 2026-02-27 | 161 Bytes | |
| extra-networks-no-cards.html | 2026-02-27 | 119 Bytes | |
| card-no-preview.png | 2026-02-27 | 84.4 kB | |
| extra-networks-card.html | 2026-02-27 | 360 Bytes | |
| extra-networks-copy-path-button.html | 2026-02-27 | 168 Bytes | |
| sd3-inference.yaml | 2026-02-27 | 104 Bytes | |
| sd_xl_inpaint.yaml | 2026-02-27 | 3.2 kB | |
| v1-inference.yaml | 2026-02-27 | 1.9 kB | |
| v1-inpainting-inference.yaml | 2026-02-27 | 2.0 kB | |
| alt-diffusion-inference.yaml | 2026-02-27 | 1.9 kB | |
| alt-diffusion-m18-inference.yaml | 2026-02-27 | 2.0 kB | |
| instruct-pix2pix.yaml | 2026-02-27 | 2.6 kB | |
| pull_request_template.md | 2026-02-27 | 577 Bytes | |
| _typos.toml | 2026-02-27 | 146 Bytes | |
| webui.py | 2026-02-27 | 5.4 kB | |
| webui.sh | 2026-02-27 | 11.2 kB | |
| webui-macos-env.sh | 2026-02-27 | 751 Bytes | |
| webui-user.bat | 2026-02-27 | 84 Bytes | |
| webui-user.sh | 2026-02-27 | 1.3 kB | |
| webui.bat | 2026-02-27 | 2.5 kB | |
| screenshot.png | 2026-02-27 | 420.6 kB | |
| script.js | 2026-02-27 | 6.6 kB | |
| requirements.txt | 2026-02-27 | 389 Bytes | |
| requirements_npu.txt | 2026-02-27 | 42 Bytes | |
| requirements_versions.txt | 2026-02-27 | 693 Bytes | |
| package.json | 2026-02-27 | 185 Bytes | |
| pyproject.toml | 2026-02-27 | 841 Bytes | |
| README.md | 2026-02-27 | 12.9 kB | |
| requirements-test.txt | 2026-02-27 | 49 Bytes | |
| CODEOWNERS | 2026-02-27 | 657 Bytes | |
| environment-wsl2.yaml | 2026-02-27 | 167 Bytes | |
| launch.py | 2026-02-27 | 1.3 kB | |
| LICENSE.txt | 2026-02-27 | 35.2 kB | |
| CHANGELOG.md | 2026-02-27 | 97.1 kB | |
| CITATION.cff | 2026-02-27 | 243 Bytes | |
| Totals: 294 Items | 3.7 MB | 1 |
Stable Diffusion web UI
A web interface for Stable Diffusion, implemented using Gradio library.

Features
Detailed feature showcase with images:
- Original txt2img and img2img modes
- One click install and run script (but you still must install python and git)
- Outpainting
- Inpainting
- Color Sketch
- Prompt Matrix
- Stable Diffusion Upscale
- 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:1.21)- alternative syntax - select text and press
Ctrl+UporCtrl+Down(orCommand+UporCommand+Downif you're on a MacOS) to automatically adjust attention to selected text (code contributed by anonymous user)
- a man in a
- Loopback, run img2img processing multiple times
- X/Y/Z plot, a way to draw a 3 dimensional plot of images with different parameters
- Textual Inversion
- have as many embeddings as you want and use any names you like for them
- use multiple embeddings with different numbers of vectors per token
- works with half precision floating point numbers
- train embeddings on 8GB (also reports of 6GB working)
- Extras tab with:
- GFPGAN, neural network that fixes faces
- CodeFormer, face restoration tool as an alternative to GFPGAN
- RealESRGAN, neural network upscaler
- ESRGAN, neural network upscaler with a lot of third party models
- SwinIR and Swin2SR (see here), neural network upscalers
- LDSR, Latent diffusion super resolution upscaling
- Resizing aspect ratio options
- Sampling method selection
- Adjust sampler eta values (noise multiplier)
- More advanced noise setting options
- Interrupt processing at any time
- 4GB video card support (also reports of 2GB working)
- Correct seeds for batches
- Live prompt token length validation
- Generation parameters
- parameters you used to generate images are saved with that image
- in PNG chunks for PNG, in EXIF for JPEG
- can drag the image to PNG info tab to restore generation parameters and automatically copy them into UI
- can be disabled in settings
- drag and drop an image/text-parameters to promptbox
- Read Generation Parameters Button, loads parameters in promptbox to UI
- Settings page
- Running arbitrary python code from UI (must run with
--allow-codeto enable) - Mouseover hints for most UI elements
- 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
- Progress bar and live image generation preview
- Can use a separate neural network to produce previews with almost none VRAM or compute requirement
- Negative prompt, an extra text field that allows you to list what you don't want to see in generated image
- Styles, a way to save part of prompt and easily apply them via dropdown later
- Variations, a way to generate same image but with tiny differences
- Seed resizing, a way to generate same image but at slightly different resolution
- CLIP interrogator, a button that tries to guess prompt from an image
- Prompt Editing, a way to change prompt mid-generation, say to start making a watermelon and switch to anime girl midway
- Batch Processing, process a group of files using img2img
- Img2img Alternative, reverse Euler method of cross attention control
- Highres Fix, a convenience option to produce high resolution pictures in one click without usual distortions
- Reloading checkpoints on the fly
- Checkpoint Merger, a tab that allows you to merge up to 3 checkpoints into one
- Custom scripts with many extensions from community
- Composable-Diffusion, a way to use multiple prompts at once
- separate prompts using uppercase
AND - also supports weights for prompts:
a cat :1.2 AND a dog AND a penguin :2.2
- separate prompts using uppercase
- No token limit for prompts (original stable diffusion lets you use up to 75 tokens)
- DeepDanbooru integration, creates danbooru style tags for anime prompts
- xformers, major speed increase for select cards: (add
--xformersto commandline args) - via extension: History tab: view, direct and delete images conveniently within the UI
- Generate forever option
- Training tab
- hypernetworks and embeddings options
- Preprocessing images: cropping, mirroring, autotagging using BLIP or deepdanbooru (for anime)
- Clip skip
- Hypernetworks
- Loras (same as Hypernetworks but more pretty)
- A separate 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
- Estimated completion time in progress bar
- API
- Support for dedicated inpainting model by RunwayML
- via extension: 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)
- Stable Diffusion 2.0 support - see wiki for instructions
- Alt-Diffusion support - see wiki for instructions
- Now without any bad letters!
- Load checkpoints in safetensors format
- Eased resolution restriction: generated image's dimensions must be a multiple of 8 rather than 64
- Now with a license!
- Reorder elements in the UI from settings screen
- Segmind Stable Diffusion support
Installation and Running
Make sure the required dependencies are met and follow the instructions available for:
- NVidia (recommended)
- AMD GPUs.
- Intel CPUs, Intel GPUs (both integrated and discrete) (external wiki page)
- Ascend NPUs (external wiki page)
Alternatively, use online services (like Google Colab):
Installation on Windows 10/11 with NVidia-GPUs using release package
- Download
sd.webui.zipfrom v1.0.0-pre and extract its contents. - Run
update.bat. - Run
run.bat.For more details see Install-and-Run-on-NVidia-GPUs
Automatic Installation on Windows
- Install Python 3.10.6 (Newer version of Python does not support torch), checking "Add Python to PATH".
- Install git.
- Download the stable-diffusion-webui repository, for example by running
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git. - Run
webui-user.batfrom Windows Explorer as normal, non-administrator, user.
Automatic Installation on Linux
- Install the dependencies:
# Debian-based:
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
# Red Hat-based:
sudo dnf install wget git python3 gperftools-libs libglvnd-glx
# openSUSE-based:
sudo zypper install wget git python3 libtcmalloc4 libglvnd
# Arch-based:
sudo pacman -S wget git python3
If your system is very new, you need to install python3.11 or python3.10:
# Ubuntu 24.04
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11
# Manjaro/Arch
sudo pacman -S yay
yay -S python311 # do not confuse with python3.11 package
# Only for 3.11
# Then set up env variable in launch script
export python_cmd="python3.11"
# or in webui-user.sh
python_cmd="python3.11"
- Navigate to the directory you would like the webui to be installed and execute the following command:
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
Or just clone the repo wherever you want:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Run
webui.sh. - Check
webui-user.shfor options.
Installation on Apple Silicon
Find the instructions here.
Contributing
Here's how to add code to this repo: Contributing
Documentation
The documentation was moved from this README over to the project's wiki.
For the purposes of getting Google and other search engines to crawl the wiki, here's a link to the (not for humans) crawlable wiki.
Credits
Licenses for borrowed code can be found in Settings -> Licenses screen, and also in html/licenses.html file.
- Stable Diffusion - https://github.com/Stability-AI/stablediffusion, https://github.com/CompVis/taming-transformers, https://github.com/mcmonkey4eva/sd3-ref
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
- Spandrel - https://github.com/chaiNNer-org/spandrel implementing
- GFPGAN - https://github.com/TencentARC/GFPGAN.git
- CodeFormer - https://github.com/sczhou/CodeFormer
- ESRGAN - https://github.com/xinntao/ESRGAN
- SwinIR - https://github.com/JingyunLiang/SwinIR
- Swin2SR - https://github.com/mv-lab/swin2sr
- LDSR - https://github.com/Hafiidz/latent-diffusion
- MiDaS - https://github.com/isl-org/MiDaS
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion
- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.
- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
- Sub-quadratic Cross Attention layer optimization - Alex Birch (https://github.com/Birch-san/diffusers/pull/1), Amin Rezaei (https://github.com/AminRezaei0x443/memory-efficient-attention)
- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator
- Idea for Composable Diffusion - https://github.com/energy-based-model/Compositional-Visual-Generation-with-Composable-Diffusion-Models-PyTorch
- xformers - https://github.com/facebookresearch/xformers
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru
- Sampling in float32 precision from a float16 UNet - marunine for the idea, Birch-san for the example Diffusers implementation (https://github.com/Birch-san/diffusers-play/tree/92feee6)
- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix
- Security advice - RyotaK
- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC
- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd
- LyCORIS - KohakuBlueleaf
- Restart sampling - lambertae - https://github.com/Newbeeer/diffusion_restart_sampling
- Hypertile - tfernd - https://github.com/tfernd/HyperTile
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
- (You)