Self-host sdnext
2026-10-19All-in-one Stable Diffusion WebUI for images and video
docker run --name sdnext-container --rm --gpus all --publish 7860:7860 --mount type=bind,source=/server/models,target=/mnt/models --mount type=bind,source=/server/data,target=/mnt/data --detach sdnext/sdnext-cuda- Stars
- 7 375
- Port
- 7860 (SD.Next web UI and API server)
- Requires
- Git, Python
vladmandic/sdnext-cudaWhat is sdnext?
SD.Next is a self-hosted image and video generation studio built on Automatic1111's original WebUI codebase, aimed at artists, researchers and AI hobbyists. It produces pictures and clips from prompts or existing inputs (text-to-image, image-to-image, text-to-video, image-to-video) and offers inpainting, outpainting, hires/refine, a detailer, plus LoRA, ControlNet and IP-Adapter guidance; other tabs handle captioning, tagging, upscaling, interpolation, colorizing and filtering. An SDNQ quantization engine can cut VRAM use up to fourfold, and the balanced-offload system shifts data between CPU and GPU memory so bigger models run on modest hardware. Roughly 15 interface languages, multiple theme engines with forced light or dark mode, and separate desktop and mobile layouts are included, and the UI can be skipped entirely since a full REST API with live /docs pages is built in. To run it, clone the repository and launch webui.sh, webui.bat or webui.ps1 (Git and Python must already be installed; the built-in installer then manages dependencies and updates), or build the supplied CUDA, ROCm, IPEX and OpenVINO Dockerfiles — community prebuilt images also exist. The server listens on port 7860 by default and can be locked behind basic authentication; extra backends such as DirectML, ZLUDA, ONNX and Apple MPS are supported, gated models need a Hugging Face token, and a handful of listed models are cloud-only.
Should you self-host sdnext?
sdnext scores 71/100 on selfhost.directory (how scoring works) and ranks #3 of 11 in Image Generation. It has 7 375 GitHub stars, +26 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is stable-diffusion-webui (89/100, 165 281 stars). It scores higher overall, so compare the two before you pick. See sdnext vs stable-diffusion-webui side by side.
Features
- Automatic model download
- ControlNet support
- CPU/GPU memory offloading
- Extension support
- Image captioning
- Image upscaling
- Inpainting and outpainting
- IP-Adapter support
- LoRA support
- Model quantization (SDNQ)
- REST API
- Task scheduler and queue management
- Text-to-image generation
- Video Generation
sdnext README
FAQ
How do I enable auto-updates on startup?
Add the --upgrade flag to your launch parameters so SD.Next updates automatically at every startup.
What is the best sampler to use?
No single sampler is definitively best, but "DPM++ 2M" with "Karras" is a commonly recommended general-purpose choice.
I keep getting out-of-memory errors. What can I do?
Render smaller images and upscale later, enable FP16 precision in Settings → Compute Settings, and use a memory-efficient attention method.
My image folder is too large. How do I manage storage?
In Settings → Image Options switch output from PNG to JPG and disable always saving all generated images, then save only what you need.
Something broke. How do I restore my SD.Next installation?
Use webui.bat --reinstall to reinstall required components, or webui.bat --reset to return to the latest version.
How do I update to the latest version?
Run webui.bat --upgrade, which pulls the latest updates and applies them to your installation.
Why are my images dull or have incorrect colors?
Try a different VAE file: place VAE files in the models\VAE folder and add ,sd_vae to the quicksettings list for quick selection.
How can I create large images (e.g., 2048x2048) with limited VRAM?
Render a smaller image and upscale it through the Process Image tab with a tiling upscaler such as SwinIR_4x to minimize VRAM usage.
How do I use an AMD GPU on Windows?
Add the --use-zluda command-line flag when starting the app; the ZLUDA guide has more details.
How can I get more information about what's happening with my app?
Launch the app with the --debug flag and review the setup.log file for detailed information.
Where are the command-line flags like --xformers?
Most of those flags now live in the UI settings; start the web UI with --help for the complete list.
Where is the "PNG Info" tab?
SD.Next folds that functionality into the "Process Image" tabs, so there is no separate PNG Info tab.
More in Image Generation
stable-diffusion-webuiA self-hosted, open-source web UI for Stable Diffusion with txt2img, img2img, inpainting, outpainting, upscaling, and extensive customization options.
Stable Diffusion WebUI DockerSelf-hosted Docker container bundling 14 Stable Diffusion WebUIs like Automatic1111, ComfyUI, Fooocus, and InvokeAI, each on its own port via docker-compose profiles.
Stable Diffusion WebUI ForgeSelf-hosted, open-source Stable Diffusion web UI that improves GPU memory management and speeds up inference, with ControlNet, IP-Adapter and Flux quant support.
Sygil-webuiSelf-hosted open-source web UI for Stable Diffusion with dual Streamlit/Gradio interfaces, dynamic previews, VRAM optimization, upscalers, and text-to-video.
Text Generation WebUIAn open-source, self-hosted LLM chat app you run on your own machine: vision input, tool-calling, LoRA fine-tuning, and an OpenAI/Anthropic-compatible API.
airunnerSelf-hosted, open-source desktop AI engine: local LLM chat companions, Stable Diffusion art generation, TTS/STT voice, and a headless Ollama/OpenAI-compatible API.
app.enfugue.aiSelf-hosted open-source web app for studio-quality AI image/video generation with Stable Diffusion, unified pipeline, CivitAI browser, optional auth, and JSON API.
avatarSelf-hosted open-source Node.js service generating random geometric or initials-based avatars via REST API with configurable shapes, colors, and symmetry.
BelullamaSelf-hosted AI app bundling Ollama, Open WebUI, and Automatic1111 for local LLMs and image generation with one-command Docker install.
ChatGPT Web Midjourney ProxySelf-hosted open-source web UI that combines ChatGPT, Midjourney, Suno, Luma, Runway, Pika, and other AI models into a single interface with PWA support.
ComfyUISelf-hosted, open-source AI engine for visual creators with a node-based workflow system covering images, video, 3D, audio, and text.
ComfyUI Agent PanelSelf-hosted ComfyUI sidebar with AI agent powered by your Claude/ChatGPT sub. Edits workflows live, installs nodes, one-shot loads, rewind/rollback — no API keys.

0 comments