Stable Diffusion Webui
Stable Diffusion web UI
Stable Diffusion (Original) — проект из категории «Изображения» от CompVis (CompVis/stable-diffusion на GitHub). У него 73 572 звезды на GitHub и 10 674 форка, он распространяется на условиях «Open RAIL-M», и последний раз обновлялся на GitHub 18 июня 2024.
The original latent text-to-image diffusion model from CompVis — the CVPR 2022 reference implementation, Open RAIL-M
The repo ships an environment file; create and activate the ldm environment from it.
Install the repo itself in editable mode, with the pinned transformers and diffusers versions from the README.
Download a v1 checkpoint from the CompVis organisation on Hugging Face and link it into models/ldm/stable-diffusion-v1/.
Run the reference sampling script with a prompt; the default is 512x512 in 50 steps at guidance scale 7.5.
The exact implementation behind the CVPR 2022 latent-diffusion paper, with the v1.1–v1.4 checkpoints.
Generate from a prompt, or transform a sketch or photo with SDEdit-style diffusion denoising.
A safety checker module and invisible watermarking on outputs, so generated images are identifiable.
The same weights run through the Hugging Face diffusers pipeline for a shorter, maintained path.
An 860M UNet plus a 123M text encoder — runnable on a GPU with 10GB of VRAM.
Build the ldm conda environment from the repo file and activate it.
conda env create -f environment.yaml
conda activate ldmInstall the repo in editable mode with the pinned dependencies.
pip install transformers==4.19.2 diffusers invisible-watermark
pip install -e .Generate a 512x512 image from a prompt with the PLMS sampler.
python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plmsClose neighbours on the Image shelf: Stable Diffusion Webui, and diffusers — State-of-the-art diffusion models for image, video. The full shelf is the Image tools in the catalogue.
Yes — CompVis/stable-diffusion is the original repository from the paper authors, the code every web UI and fork descends from.
The code and weights are under the CreativeML Open RAIL-M licence, which permits commercial use with use-based restrictions; the README advises adding safety mechanisms before using the weights in a service.
At least 10GB of VRAM for the v1 model at 512x512, per the README.
No — the last push was 2024-06-18. It is the stable canonical original; the actively maintained route is the diffusers library.
Through diffusers: StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4") — the README shows the snippet.
Stable Diffusion web UI
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
The node-graph powerhouse for precise, professional AI image and video generation.
Kandinsky 2.2 — multilingual text-to-image latent diffusion with ControlNet, inpainting and image fusion
MMagic — OpenMMLab's generative-AI toolbox: diffusion, text-to-image, restoration and a model zoo.
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
Другие проекты из категории «Изображения» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если Stable Diffusion (Original) вам не подходит.
Stable Diffusion web UI
The node-graph powerhouse for precise, professional AI image and video generation.
High performance self-hosted photo and video management solution
PhotoCraft — a clean-room Photoshop reimplementation in pure Rust: layers, masks, adjustment layers, type, vectors, brushes and real PSD files, offline, MIT / Apache-2.0
Focus on prompting and generating
Соседние проекты из категории «Изображения» в каталоге, ближайшие по числу звёзд к Stable Diffusion (Original) — продолжайте изучать полку по обе стороны от него.
High performance self-hosted photo and video management solution
PhotoCraft — a clean-room Photoshop reimplementation in pure Rust: layers, masks, adjustment layers, type, vectors, brushes and real PSD files, offline, MIT / Apache-2.0
The node-graph powerhouse for precise, professional AI image and video generation.
Focus on prompting and generating
Stable Diffusion web UI
🆙 Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows
Посмотрите исходный код, поставьте звезду репозиторию и начинайте создавать.