[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-271":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":43,"readmeContent":44,"aiSummary":45,"trendingCount":16,"starSnapshotCount":16,"syncStatus":46,"lastSyncTime":47,"discoverSource":48},271,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","AUTOMATIC1111","Stable Diffusion web UI","",null,"Python",163748,30374,1241,2418,0,15,166,655,104,110,"GNU Affero General Public License v3.0",false,"master",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"ai","ai-art","deep-learning","diffusion","gradio","image-generation","image2image","img2img","pytorch","stable-diffusion","text2image","torch","txt2img","unstable","upscaling","web","2026-06-17 04:00:02","# Stable Diffusion web UI\r\nA web interface for Stable Diffusion, implemented using Gradio library.\r\n\r\n![](screenshot.png)\r\n\r\n## Features\r\n[Detailed feature showcase with images](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FFeatures):\r\n- Original txt2img and img2img modes\r\n- One click install and run script (but you still must install python and git)\r\n- Outpainting\r\n- Inpainting\r\n- Color Sketch\r\n- Prompt Matrix\r\n- Stable Diffusion Upscale\r\n- Attention, specify parts of text that the model should pay more attention to\r\n    - a man in a `((tuxedo))` - will pay more attention to tuxedo\r\n    - a man in a `(tuxedo:1.21)` - alternative syntax\r\n    - select text and press `Ctrl+Up` or `Ctrl+Down` (or `Command+Up` or `Command+Down` if you're on a MacOS) to automatically adjust attention to selected text (code contributed by anonymous user)\r\n- Loopback, run img2img processing multiple times\r\n- X\u002FY\u002FZ plot, a way to draw a 3 dimensional plot of images with different parameters\r\n- Textual Inversion\r\n    - have as many embeddings as you want and use any names you like for them\r\n    - use multiple embeddings with different numbers of vectors per token\r\n    - works with half precision floating point numbers\r\n    - train embeddings on 8GB (also reports of 6GB working)\r\n- Extras tab with:\r\n    - GFPGAN, neural network that fixes faces\r\n    - CodeFormer, face restoration tool as an alternative to GFPGAN\r\n    - RealESRGAN, neural network upscaler\r\n    - ESRGAN, neural network upscaler with a lot of third party models\r\n    - SwinIR and Swin2SR ([see here](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fpull\u002F2092)), neural network upscalers\r\n    - LDSR, Latent diffusion super resolution upscaling\r\n- Resizing aspect ratio options\r\n- Sampling method selection\r\n    - Adjust sampler eta values (noise multiplier)\r\n    - More advanced noise setting options\r\n- Interrupt processing at any time\r\n- 4GB video card support (also reports of 2GB working)\r\n- Correct seeds for batches\r\n- Live prompt token length validation\r\n- Generation parameters\r\n     - parameters you used to generate images are saved with that image\r\n     - in PNG chunks for PNG, in EXIF for JPEG\r\n     - can drag the image to PNG info tab to restore generation parameters and automatically copy them into UI\r\n     - can be disabled in settings\r\n     - drag and drop an image\u002Ftext-parameters to promptbox\r\n- Read Generation Parameters Button, loads parameters in promptbox to UI\r\n- Settings page\r\n- Running arbitrary python code from UI (must run with `--allow-code` to enable)\r\n- Mouseover hints for most UI elements\r\n- Possible to change defaults\u002Fmix\u002Fmax\u002Fstep values for UI elements via text config\r\n- Tiling support, a checkbox to create images that can be tiled like textures\r\n- Progress bar and live image generation preview\r\n    - Can use a separate neural network to produce previews with almost none VRAM or compute requirement\r\n- Negative prompt, an extra text field that allows you to list what you don't want to see in generated image\r\n- Styles, a way to save part of prompt and easily apply them via dropdown later\r\n- Variations, a way to generate same image but with tiny differences\r\n- Seed resizing, a way to generate same image but at slightly different resolution\r\n- CLIP interrogator, a button that tries to guess prompt from an image\r\n- Prompt Editing, a way to change prompt mid-generation, say to start making a watermelon and switch to anime girl midway\r\n- Batch Processing, process a group of files using img2img\r\n- Img2img Alternative, reverse Euler method of cross attention control\r\n- Highres Fix, a convenience option to produce high resolution pictures in one click without usual distortions\r\n- Reloading checkpoints on the fly\r\n- Checkpoint Merger, a tab that allows you to merge up to 3 checkpoints into one\r\n- [Custom scripts](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FCustom-Scripts) with many extensions from community\r\n- [Composable-Diffusion](https:\u002F\u002Fenergy-based-model.github.io\u002FCompositional-Visual-Generation-with-Composable-Diffusion-Models\u002F), a way to use multiple prompts at once\r\n     - separate prompts using uppercase `AND`\r\n     - also supports weights for prompts: `a cat :1.2 AND a dog AND a penguin :2.2`\r\n- No token limit for prompts (original stable diffusion lets you use up to 75 tokens)\r\n- DeepDanbooru integration, creates danbooru style tags for anime prompts\r\n- [xformers](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FXformers), major speed increase for select cards: (add `--xformers` to commandline args)\r\n- via extension: [History tab](https:\u002F\u002Fgithub.com\u002Fyfszzx\u002Fstable-diffusion-webui-images-browser): view, direct and delete images conveniently within the UI\r\n- Generate forever option\r\n- Training tab\r\n     - hypernetworks and embeddings options\r\n     - Preprocessing images: cropping, mirroring, autotagging using BLIP or deepdanbooru (for anime)\r\n- Clip skip\r\n- Hypernetworks\r\n- Loras (same as Hypernetworks but more pretty)\r\n- A separate UI where you can choose, with preview, which embeddings, hypernetworks or Loras to add to your prompt\r\n- Can select to load a different VAE from settings screen\r\n- Estimated completion time in progress bar\r\n- API\r\n- Support for dedicated [inpainting model](https:\u002F\u002Fgithub.com\u002Frunwayml\u002Fstable-diffusion#inpainting-with-stable-diffusion) by RunwayML\r\n- via extension: [Aesthetic Gradients](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embeds (implementation of [https:\u002F\u002Fgithub.com\u002Fvicgalle\u002Fstable-diffusion-aesthetic-gradients](https:\u002F\u002Fgithub.com\u002Fvicgalle\u002Fstable-diffusion-aesthetic-gradients))\r\n- [Stable Diffusion 2.0](https:\u002F\u002Fgithub.com\u002FStability-AI\u002Fstablediffusion) support - see [wiki](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FFeatures#stable-diffusion-20) for instructions\r\n- [Alt-Diffusion](https:\u002F\u002Farxiv.org\u002Fabs\u002F2211.06679) support - see [wiki](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FFeatures#alt-diffusion) for instructions\r\n- Now without any bad letters!\r\n- Load checkpoints in safetensors format\r\n- Eased resolution restriction: generated image's dimensions must be a multiple of 8 rather than 64\r\n- Now with a license!\r\n- Reorder elements in the UI from settings screen\r\n- [Segmind Stable Diffusion](https:\u002F\u002Fhuggingface.co\u002Fsegmind\u002FSSD-1B) support\r\n\r\n## Installation and Running\r\nMake sure the required [dependencies](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FDependencies) are met and follow the instructions available for:\r\n- [NVidia](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FInstall-and-Run-on-NVidia-GPUs) (recommended)\r\n- [AMD](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FInstall-and-Run-on-AMD-GPUs) GPUs.\r\n- [Intel CPUs, Intel GPUs (both integrated and discrete)](https:\u002F\u002Fgithub.com\u002Fopenvinotoolkit\u002Fstable-diffusion-webui\u002Fwiki\u002FInstallation-on-Intel-Silicon) (external wiki page)\r\n- [Ascend NPUs](https:\u002F\u002Fgithub.com\u002Fwangshuai09\u002Fstable-diffusion-webui\u002Fwiki\u002FInstall-and-run-on-Ascend-NPUs) (external wiki page)\r\n\r\nAlternatively, use online services (like Google Colab):\r\n\r\n- [List of Online Services](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FOnline-Services)\r\n\r\n### Installation on Windows 10\u002F11 with NVidia-GPUs using release package\r\n1. Download `sd.webui.zip` from [v1.0.0-pre](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Freleases\u002Ftag\u002Fv1.0.0-pre) and extract its contents.\r\n2. Run `update.bat`.\r\n3. Run `run.bat`.\r\n> For more details see [Install-and-Run-on-NVidia-GPUs](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FInstall-and-Run-on-NVidia-GPUs)\r\n\r\n### Automatic Installation on Windows\r\n1. Install [Python 3.10.6](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Frelease\u002Fpython-3106\u002F) (Newer version of Python does not support torch), checking \"Add Python to PATH\".\r\n2. Install [git](https:\u002F\u002Fgit-scm.com\u002Fdownload\u002Fwin).\r\n3. Download the stable-diffusion-webui repository, for example by running `git clone https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui.git`.\r\n4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.\r\n\r\n### Automatic Installation on Linux\r\n1. Install the dependencies:\r\n```bash\r\n# Debian-based:\r\nsudo apt install wget git python3 python3-venv libgl1 libglib2.0-0\r\n# Red Hat-based:\r\nsudo dnf install wget git python3 gperftools-libs libglvnd-glx\r\n# openSUSE-based:\r\nsudo zypper install wget git python3 libtcmalloc4 libglvnd\r\n# Arch-based:\r\nsudo pacman -S wget git python3\r\n```\r\nIf your system is very new, you need to install python3.11 or python3.10:\r\n```bash\r\n# Ubuntu 24.04\r\nsudo add-apt-repository ppa:deadsnakes\u002Fppa\r\nsudo apt update\r\nsudo apt install python3.11\r\n\r\n# Manjaro\u002FArch\r\nsudo pacman -S yay\r\nyay -S python311 # do not confuse with python3.11 package\r\n\r\n# Only for 3.11\r\n# Then set up env variable in launch script\r\nexport python_cmd=\"python3.11\"\r\n# or in webui-user.sh\r\npython_cmd=\"python3.11\"\r\n```\r\n2. Navigate to the directory you would like the webui to be installed and execute the following command:\r\n```bash\r\nwget -q https:\u002F\u002Fraw.githubusercontent.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fmaster\u002Fwebui.sh\r\n```\r\nOr just clone the repo wherever you want:\r\n```bash\r\ngit clone https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\r\n```\r\n\r\n3. Run `webui.sh`.\r\n4. Check `webui-user.sh` for options.\r\n### Installation on Apple Silicon\r\n\r\nFind the instructions [here](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FInstallation-on-Apple-Silicon).\r\n\r\n## Contributing\r\nHere's how to add code to this repo: [Contributing](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki\u002FContributing)\r\n\r\n## Documentation\r\n\r\nThe documentation was moved from this README over to the project's [wiki](https:\u002F\u002Fgithub.com\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki).\r\n\r\nFor the purposes of getting Google and other search engines to crawl the wiki, here's a link to the (not for humans) [crawlable wiki](https:\u002F\u002Fgithub-wiki-see.page\u002Fm\u002FAUTOMATIC1111\u002Fstable-diffusion-webui\u002Fwiki).\r\n\r\n## Credits\r\nLicenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html\u002Flicenses.html` file.\r\n\r\n- Stable Diffusion - https:\u002F\u002Fgithub.com\u002FStability-AI\u002Fstablediffusion, https:\u002F\u002Fgithub.com\u002FCompVis\u002Ftaming-transformers, https:\u002F\u002Fgithub.com\u002Fmcmonkey4eva\u002Fsd3-ref\r\n- k-diffusion - https:\u002F\u002Fgithub.com\u002Fcrowsonkb\u002Fk-diffusion.git\r\n- Spandrel - https:\u002F\u002Fgithub.com\u002FchaiNNer-org\u002Fspandrel implementing\r\n  - GFPGAN - https:\u002F\u002Fgithub.com\u002FTencentARC\u002FGFPGAN.git\r\n  - CodeFormer - https:\u002F\u002Fgithub.com\u002Fsczhou\u002FCodeFormer\r\n  - ESRGAN - https:\u002F\u002Fgithub.com\u002Fxinntao\u002FESRGAN\r\n  - SwinIR - https:\u002F\u002Fgithub.com\u002FJingyunLiang\u002FSwinIR\r\n  - Swin2SR - https:\u002F\u002Fgithub.com\u002Fmv-lab\u002Fswin2sr\r\n- LDSR - https:\u002F\u002Fgithub.com\u002FHafiidz\u002Flatent-diffusion\r\n- MiDaS - https:\u002F\u002Fgithub.com\u002Fisl-org\u002FMiDaS\r\n- Ideas for optimizations - https:\u002F\u002Fgithub.com\u002Fbasujindal\u002Fstable-diffusion\r\n- Cross Attention layer optimization - Doggettx - https:\u002F\u002Fgithub.com\u002FDoggettx\u002Fstable-diffusion, original idea for prompt editing.\r\n- Cross Attention layer optimization - InvokeAI, lstein - https:\u002F\u002Fgithub.com\u002Finvoke-ai\u002FInvokeAI (originally http:\u002F\u002Fgithub.com\u002Flstein\u002Fstable-diffusion)\r\n- Sub-quadratic Cross Attention layer optimization - Alex Birch (https:\u002F\u002Fgithub.com\u002FBirch-san\u002Fdiffusers\u002Fpull\u002F1), Amin Rezaei (https:\u002F\u002Fgithub.com\u002FAminRezaei0x443\u002Fmemory-efficient-attention)\r\n- Textual Inversion - Rinon Gal - https:\u002F\u002Fgithub.com\u002Frinongal\u002Ftextual_inversion (we're not using his code, but we are using his ideas).\r\n- Idea for SD upscale - https:\u002F\u002Fgithub.com\u002Fjquesnelle\u002Ftxt2imghd\r\n- Noise generation for outpainting mk2 - https:\u002F\u002Fgithub.com\u002Fparlance-zz\u002Fg-diffuser-bot\r\n- CLIP interrogator idea and borrowing some code - https:\u002F\u002Fgithub.com\u002Fpharmapsychotic\u002Fclip-interrogator\r\n- Idea for Composable Diffusion - https:\u002F\u002Fgithub.com\u002Fenergy-based-model\u002FCompositional-Visual-Generation-with-Composable-Diffusion-Models-PyTorch\r\n- xformers - https:\u002F\u002Fgithub.com\u002Ffacebookresearch\u002Fxformers\r\n- DeepDanbooru - interrogator for anime diffusers https:\u002F\u002Fgithub.com\u002FKichangKim\u002FDeepDanbooru\r\n- Sampling in float32 precision from a float16 UNet - marunine for the idea, Birch-san for the example Diffusers implementation (https:\u002F\u002Fgithub.com\u002FBirch-san\u002Fdiffusers-play\u002Ftree\u002F92feee6)\r\n- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https:\u002F\u002Fgithub.com\u002Ftimothybrooks\u002Finstruct-pix2pix\r\n- Security advice - RyotaK\r\n- UniPC sampler - Wenliang Zhao - https:\u002F\u002Fgithub.com\u002Fwl-zhao\u002FUniPC\r\n- TAESD - Ollin Boer Bohan - https:\u002F\u002Fgithub.com\u002Fmadebyollin\u002Ftaesd\r\n- LyCORIS - KohakuBlueleaf\r\n- Restart sampling - lambertae - https:\u002F\u002Fgithub.com\u002FNewbeeer\u002Fdiffusion_restart_sampling\r\n- Hypertile - tfernd - https:\u002F\u002Fgithub.com\u002Ftfernd\u002FHyperTile\r\n- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.\r\n- (You)\r\n","AUTOMATIC1111\u002Fstable-diffusion-webui 是一个基于 Gradio 库实现的 Stable Diffusion 网页界面。该项目支持文本到图像（txt2img）、图像到图像（img2img）等多种生成模式，具备出图、补全、颜色草图等功能，并且能够通过注意力机制调整模型对特定文本的关注度。此外，它还提供了多种超分辨率算法和面部修复工具，如GFPGAN、RealESRGAN等。用户可以轻松地进行参数调整、批量处理以及实时预览生成过程。适合需要利用AI进行创意设计、艺术创作或图像处理的研究人员及开发者使用。",2,"2026-06-17 02:32:48","top_all"]