[{"data":1,"prerenderedAt":124},["ShallowReactive",2],{"seo-verification":3,"blog-how-to-host-stable-diffusion-webui-on-a-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"slugs":9,"title":12,"excerpt":13,"readTime":14,"views":15,"isPinned":16,"publishedAt":17,"category":18,"categories":24,"featuredImage":26,"bgImage":27,"posterImage":28,"relatedSolution":26,"intro":29,"sections":30,"ctaTitle":73,"ctaBody":74,"ctaButton":75,"ctaUrl":76,"relatedPosts":77},20,"how-to-host-stable-diffusion-webui-on-a-vps",{"fr":10,"en":8,"ar":11},"heberger-stable-diffusion-webui-vps","كيفية-استضافة-stable-diffusion-webui-على-خادم-vps","How to host Stable Diffusion WebUI on a VPS","Deploy Stable Diffusion WebUI (AUTOMATIC1111) on your own VPS: private, unlimited AI image generation with no subscription.",3,0,false,"2026-05-31T00:00:00+00:00",{"id":19,"name":20,"slug":21,"color":22,"icon":23},1,"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[25],{"id":19,"name":20,"slug":21,"color":22,"icon":23},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-stable-diffusion-webui-vps-poster.svg","Stable Diffusion WebUI (the AUTOMATIC1111 fork) turns a VPS into an AI image-generation studio accessible from a browser. By self-hosting it, you keep control of your models, your prompts and your data, with no per-token billing or queue. Here is how to deploy it cleanly behind a reverse proxy with SSL.",[31,35,45,48,70],{"type":32,"title":33,"body":34},"h2","Why self-host Stable Diffusion WebUI on a VPS","Online image-generation services charge per image, limit the resolution and restrict content. By deploying Stable Diffusion WebUI on your own VPS, you get a complete web interface (txt2img, img2img, inpainting, upscaling) that runs continuously and stays accessible to your whole team. You install the checkpoints of your choice (SD 1.5, SDXL, fine-tuned models), you chain the extensions (ControlNet, ADetailer) and you generate as many images as your hardware allows. Note: generation is heavy — a GPU VPS offers decent render times, while a CPU VPS remains viable for small batches or tests, at the cost of minutes per image.",{"type":36,"title":37,"items":38},"ul","The concrete benefits of self-hosting",[39,40,41,42,43,44],"Unlimited generation: no credit or monthly image quota.","Total confidentiality of the prompts and produced visuals (useful for client mock-ups under NDA).","Model freedom: add any checkpoint, LoRA or VAE by simply dropping in a file.","Extensions at will: ControlNet, ADetailer, Regional Prompter installed in one click.","Built-in REST API to plug generation into your own tools or a batch workflow.","Predictable cost: a fixed VPS price rather than usage-based billing that skyrockets.",{"type":32,"title":46,"body":47},"Hardware and software prerequisites","For a comfortable experience, aim for a GPU VPS (NVIDIA with at least 8 GB of VRAM for SDXL, 6 GB is enough for SD 1.5) accompanied by 16 GB of RAM and 4 vCPUs. On a CPU-only VPS, count on 8 to 16 GB of RAM minimum and accept renders of several minutes. Plan for 30 to 50 GB of disk just for the checkpoints (an SDXL model weighs ~6.5 GB). On the software side: Ubuntu 22.04 LTS, Python 3.10, `git`, Docker (recommended), the NVIDIA drivers + the NVIDIA Container Toolkit if you go through the GPU, and a domain name or subdomain (e.g. `sd.mydomain.com`) pointing to the VPS IP.",{"type":49,"title":50,"steps":51},"steps","Step-by-step deployment",[52,55,58,61,64,67],{"title":53,"body":54},"Prepare the VPS and the GPU","Connect via SSH, update the system with `apt update && apt upgrade -y`. On a GPU VPS, install the NVIDIA drivers and check with `nvidia-smi`, then install the NVIDIA Container Toolkit to expose the GPU to Docker.",{"title":56,"body":57},"Grab a ready-to-use Docker image","Rather than installing the Python dependencies by hand, start from a community image such as `ghcr.io\u002Fabetlen\u002Fstable-diffusion-webui-docker`. Create a `docker-compose.yml` file mounting a `.\u002Fmodels` volume and exposing port `7860`, with the `deploy.resources.reservations.devices` directive for the GPU.",{"title":59,"body":60},"Drop in a checkpoint","Download a model (`.safetensors`) from your usual source into `.\u002Fmodels\u002FStable-diffusion\u002F`. Start the stack with `docker compose up -d` then follow the startup via `docker compose logs -f`.",{"title":62,"body":63},"Secure access","The interface has no authentication by default. Launch WebUI with the argument `--api --gradio-auth utilisateur:motdepasse` or, better, place HTTP Basic authentication at the reverse proxy level.",{"title":65,"body":66},"Configure the reverse proxy and SSL","Install Nginx or Caddy. With Caddy, two lines are enough: `sd.mydomain.com { reverse_proxy localhost:7860 }` automatically generates a Let's Encrypt certificate. Increase `proxy_read_timeout` to 300s under Nginx, since renders can be long.",{"title":68,"body":69},"Validate and persist","Open `https:\u002F\u002Fsd.mydomain.com`, launch a first txt2img generation. Check that the `outputs\u002F` folder is indeed on a persistent volume so nothing is lost when the container restarts.",{"type":71,"body":72},"tip","On a VPS without a GPU, add the arguments `--use-cpu all --no-half --precision full` to avoid errors related to half precision, and favor SD 1.5 with a fast sampler (DPM++ 2M Karras, 20 steps) at 512x512. To exploit batching without blocking the interface, use the `\u002Fsdapi\u002Fv1\u002Ftxt2img` API from a script and let WebUI process a queue overnight.","Launch your AI studio on a ServOrbit Cloud VPS","Deploy Stable Diffusion WebUI on a high-performance Cloud VPS, with preconfigured Docker and expandable storage for your checkpoints. Unlimited, private image generation is yours.","Discover the Cloud VPS","\u002Fvps-cloud",[78,94,109],{"id":19,"slug":79,"slugs":80,"title":83,"excerpt":84,"readTime":85,"views":15,"isPinned":16,"publishedAt":86,"category":87,"categories":88,"featuredImage":26,"bgImage":27,"posterImage":90,"relatedSolution":91},"how-to-host-open-webui-on-a-vps",{"fr":81,"en":79,"ar":82},"heberger-open-webui","كيفية-استضافة-open-webui-على-خادم-vps","How to Host Open WebUI on a VPS","A complete guide to deploying Open WebUI on your own VPS. Keep control of your data, avoid cloud API costs, and access your LLMs from a clean web interface.",4,"2026-06-01T00:00:00+00:00",{"id":19,"name":20,"slug":21,"color":22,"icon":23},[89],{"id":19,"name":20,"slug":21,"color":22,"icon":23},"\u002Fblog\u002Fcovers\u002Fheberger-open-webui-poster.svg",{"categorySlug":92,"appSlug":93},"artificial-intelligence","open-webui",{"id":95,"slug":96,"slugs":97,"title":100,"excerpt":101,"readTime":14,"views":15,"isPinned":16,"publishedAt":102,"category":103,"categories":104,"featuredImage":26,"bgImage":27,"posterImage":106,"relatedSolution":107},2,"deploying-dify-on-a-vps-ai-workflows-under-control",{"fr":98,"en":96,"ar":99},"deployer-dify-vps","نشر-dify-على-vps-سير-عمل-الذكاء-الاصطناعي-تحت-السيطرة","Deploying Dify on a VPS: AI Workflows Under Control","Install Dify on a ServOrbit VPS to build agents, chatflows and AI apps without losing control of your data.","2026-02-11T00:00:00+00:00",{"id":19,"name":20,"slug":21,"color":22,"icon":23},[105],{"id":19,"name":20,"slug":21,"color":22,"icon":23},"\u002Fblog\u002Fcovers\u002Fdeployer-dify-vps-poster.svg",{"categorySlug":92,"appSlug":108},"dify",{"id":110,"slug":111,"slugs":112,"title":115,"excerpt":116,"readTime":14,"views":15,"isPinned":16,"publishedAt":117,"category":118,"categories":119,"featuredImage":26,"bgImage":27,"posterImage":121,"relatedSolution":122},121,"hosting-openclaw-on-a-vps",{"fr":113,"en":111,"ar":114},"heberger-openclaw-vps","استضافة-openclaw-على-خادم-vps","Hosting OpenClaw on a VPS","Host OpenClaw on your VPS: the open source personal AI assistant reachable from WhatsApp, Telegram, Discord and 50+ messaging apps. Docker, LLM setup and HTTPS.","2026-02-23T00:00:00+00:00",{"id":19,"name":20,"slug":21,"color":22,"icon":23},[120],{"id":19,"name":20,"slug":21,"color":22,"icon":23},"\u002Fblog\u002Fcovers\u002Fheberger-openclaw-vps-poster.svg",{"categorySlug":92,"appSlug":123},"openclaw",1787581004185]