Stable Diffusion Free Install on Your PC for Non-Programmers in 2026
Stable Diffusion Free Install on Your PC for Non-Programmers in 2026
If you retouch product shots for Amazon, Etsy or Shopify, or you shoot still life professionally, you have probably watched colleagues generate backgrounds, paint in shadows and assemble whole scenes
Intro
If you retouch product shots for Amazon, Etsy or Shopify, or you shoot still life professionally, you have probably watched colleagues generate backgrounds, paint in shadows and assemble whole scenes without ever booking a studio. Most of them sit on paid services: Midjourney, Adobe Firefly, Magnific. The subscription keeps ticking every month, your images live on someone else's servers, and your client product cards end up in someone else's cloud.
There is a free alternative. Stable Diffusion runs on your own computer, with no internet connection and no subscriptions. The model is open, the weights live on Hugging Face and Civitai, and the A1111 source code is on GitHub. Install it once and you can generate as many images as you want, even a thousand per day.
In this guide we will walk through the install from scratch. No 200-line terminal session, no Docker, no WSL. Just Python, Git and a clean browser interface. We did the same route ourselves on the AI PRO course, and we will repeat it here for you. By the end of the article you will have a working Stable Diffusion on your computer plus a few proven models for product photography and retouching.
What Stable Diffusion Is and Why People Install It Locally
Stable Diffusion is a neural network that generates images from text. Stability AI released the first version in 2022 with open weights. Since then the community has trained thousands of derivative models: for portraits, anime, product photography, architecture, fashion.
The principle is simple. You write a prompt ("silver ring with a sapphire on a white background, soft light, studio shot"), the model runs noise through the network and gradually turns it into an image. Unlike Midjourney, where you receive the result on someone else's server and cannot manage the details, local Stable Diffusion gives you full control.
Stable Diffusion vs Midjourney vs DALL-E 3 vs Firefly
| Parameter | Stable Diffusion local | Midjourney v7 | DALL-E 3 | Adobe Firefly 3 |
|---|---|---|---|---|
| Price | Free | from $10/month | inside ChatGPT Plus | inside Creative Cloud |
| Privacy | All on your PC | On servers | On OpenAI servers | On Adobe servers |
| ControlNet, inpainting, LoRA | Yes, all of it | No | No | Partial |
| Custom models and LoRA | Yes | No | No | No |
| Commercial use | Yes (check model licence) | Paid plans only | Yes | Yes |
| Learning curve | Steep | Low | Minimal | Low |
If you publish one post per week, Midjourney is easier. If you retouch 50 product cards per day, local Stable Diffusion pays for itself inside a month.
Hardware Requirements: What You Need in 2026
The main resource is video memory (VRAM) on an Nvidia card. This is not system RAM and not SSD space, it is memory on the GPU itself. Without it the model simply will not load. AMD and Intel Arc cards also work, but only through workarounds (DirectML, ROCm on Linux), and we do not recommend that path for beginners.
Minimum to Get Started
- Nvidia GPU with 6 GB VRAM (RTX 2060, RTX 3050, GTX 1660 Super)
- 16 GB system RAM
- 100 GB free space on SSD (models weigh 2 to 7 GB each, the folder fills up fast)
- Windows 10/11 or Linux
- Latest Nvidia Studio Driver
At this minimum SDXL and Flux will not run, only base SD 1.5. A 512x512 image takes 15 to 25 seconds.
Recommended Configuration
- Nvidia GPU with 12 to 16 GB VRAM (RTX 4070, RTX 4070 Ti Super, RTX 5070, used RTX 3090)
- 32 GB system RAM
- 1 TB NVMe SSD for models and cache
- Good cooling, generation heats the card like crypto mining
On an RTX 4070 Super (12 GB) an SDXL 1024x1024 image renders in 8 to 12 seconds, Flux dev in 30 to 40 seconds. That is a workable pace for commercial jobs.
When You Should Not Install Locally
If you have a laptop with integrated graphics, a MacBook on M1/M2 without 32 GB of unified memory, or an old PC without a discrete GPU, do not struggle. Rent a GPU on runpod.io or vast.ai (from $0.30 per hour for an RTX 4090), or use Google Colab. That is enough for a test, but for steady production work it is cheaper to build your own PC.
Step-by-Step Install: Python, Git, AUTOMATIC1111
A1111 (Automatic1111 WebUI) is the most popular front end for Stable Diffusion. It opens in your browser and needs no programming skills once installed. Alternatives: ComfyUI (more powerful but harder), Forge (an A1111 fork that runs faster on newer GPUs), Fooocus (simplified). We start with A1111, and later you can decide what suits you.
Step 1. Install Python 3.10.6
Exactly 3.10.6, not 3.11, not 3.12. A1111 is fussy with newer versions.
- Download python-3.10.6-amd64.exe from python.org/downloads/release/python-3106
- During install you must tick "Add Python to PATH" at the bottom of the first window
- Click Install Now
- Verify in the command prompt:
python --versionshould report 3.10.6
If you already have Python 3.11 or 3.12, do not uninstall it. Install 3.10.6 alongside and set the path through environment variables, or call it via py -3.10.
Step 2. Install Git
Git is needed to clone the A1111 repository and to update it with one command later.
- Download the installer from git-scm.com/download/win
- Install with default ticks
- Verify with
git --versionin the command prompt
Step 3. Clone A1111
Create a folder for neural networks, for example D:\AI\ or C:\StableDiffusion\. The path must not contain spaces or non-Latin characters.
Open a command prompt in that folder (right click in Explorer, "Open in Terminal", or Shift plus right click, "Open command window"). Type:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
A folder called stable-diffusion-webui will download, roughly 50 MB. That is the interface itself, no models yet.
Step 4. First Launch
Enter the stable-diffusion-webui folder, find the file webui-user.bat, double click it. A black window opens and dependencies start downloading: torch, xformers, gradio and others. About 4 to 6 GB will download, taking 10 to 30 minutes on the first run.
When you see the line Running on local URL: http://127.0.0.1:7860, open that address in your browser. The A1111 interface is in front of you.
If it crashes with a CUDA, torch or memory error, read the errors section below.
Free Models for Photo and Product Work
The base Stable Diffusion 1.5 model can do a bit of everything but does none of it well. For commercial photo work you need fine-tuned models trained by the community. Download them from civitai.com (free registration required). Place the files in stable-diffusion-webui/models/Stable-diffusion/.
Top Models for Product Photography and Retouching in 2026
| Model | Base | Size | What For |
|---|---|---|---|
| Realistic Vision V6.0 B1 | SD 1.5 | 2 GB | Realistic people, skin, portraits |
| Juggernaut XL v11 | SDXL | 6.5 GB | All-round realism, product, fashion |
| epiCRealism XL Last Hope | SDXL | 6.5 GB | Photorealism, product photography |
| RealVisXL V5.0 | SDXL | 6.5 GB | Detailed textures, metal, glass |
| Flux.1 dev | Flux | 23 GB | Top quality but needs 16 plus GB VRAM |
| DreamShaper XL Turbo | SDXL | 6.5 GB | Fast generation in 4 to 8 steps |
For jewellery and watches use Juggernaut XL or RealVisXL, they handle metallic surfaces and highlights well. For clothing and fabric, pick epiCRealism XL. For faces and models in frame, start with Realistic Vision V6, then graduate to SDXL.
Inpainting Versions: Fixing Part of an Image
Inpainting is a mode where you paint over part of an image and tell the model what should be there instead. It is irreplaceable in retouching: remove a tag from clothing, swap a background, paint in a shadow under an object.
Download the inpaint versions of the same models:
- Realistic Vision V6.0 B1 Inpainting
- Juggernaut XL Inpainting
- epiCRealism Inpainting
Place them in the same models/Stable-diffusion folder. Switch to img2img then Inpaint in A1111, select the inpainting checkpoint, paint a mask over the problem area, write the prompt. It is a working tool that handles 80 percent of Photoshop Generative Fill jobs, free and without an Adobe subscription.
VAE: For Saturation and Contrast
VAE (variational autoencoder) is a small file of 300 to 800 MB that handles final colour processing. Without the right VAE images come out pale and grey. Download:
- vae-ft-mse-840000-ema-pruned for SD 1.5
- sdxl_vae for SDXL
Place in models/VAE, select under Settings then Stable Diffusion then SD VAE.
ControlNet: Composition Control
A bare prompt gives a random result. Today you generated a beautiful ring in the centre, tomorrow the same ring drifts to the corner and tilts. ControlNet fixes that.
ControlNet is a set of models that add an extra input to Stable Diffusion: a sketch, a depth map, a human pose, object contours, surface normals. You feed the network a reference, and it paints strictly along that guide.
The Preprocessors That Actually Work
- Canny: extracts contours. Useful for repainting an object in another style while keeping its shape
- Depth: depth map. Keeps the 3D structure of a scene while changing materials
- OpenPose: human skeleton. Reproduces the model's pose from a reference exactly
- Lineart: clean lines for illustration and concept art
- IP-Adapter: transfers the style of a reference image as a whole
- Tile: upscale with detail restoration
For product work you mostly need Canny and Depth. Shoot a piece of jewellery on a grey background, run it through Canny, generate the same piece on marble with petals around it. The shape will not drift.
Installing ControlNet
- In A1111 go to Extensions, Install from URL
- Paste
https://github.com/Mikubill/sd-webui-controlnet - Click Install, restart A1111
- Download ControlNet models from huggingface.co/lllyasviel/sd_control_collection (for SDXL) or /lllyasviel/ControlNet-v1-1 (for SD 1.5)
- Place in
extensions/sd-webui-controlnet/models/
After the restart a collapsed ControlNet panel appears below the txt2img window. Load your reference in, pick the type, generate.
Common First-Launch Errors
CUDA Out of Memory
The most common error. VRAM is exhausted. Fixes in order of impact:
- Reduce resolution. 1024x1024 will not fit on 6 GB, drop to 512x768
- In webui-user.bat add the flags:
set COMMANDLINE_ARGS=--xformers --medvram. For very small cards use--lowvram - Close Chrome, Photoshop, Lightroom. They consume VRAM in the background
- Lower the batch size to 1
- Use SD 1.5 models instead of SDXL if your card has less than 8 GB
Black Output Image
Usually means the VAE did not load, or it is incompatible with the model. Check that you selected the right VAE for the version (SD 1.5 VAE for 1.5 models, SDXL VAE for SDXL). If that does not help, add the flag --no-half-vae to COMMANDLINE_ARGS.
One Image Takes an Hour to Generate
- Check that the GPU is being used, not the CPU. On startup the console should say "device: cuda", not "device: cpu". If it says cpu, reinstall torch with CUDA support
- Install xformers: add
--xformersto COMMANDLINE_ARGS - Remove unused extensions, they load on every start
- Make sure the Nvidia driver is current (through GeForce Experience)
"Torch Is Not Able to Use GPU"
Most likely the integrated Intel or AMD graphics was chosen by default, or torch was installed without CUDA. In webui-user.bat write:
set COMMANDLINE_ARGS=--reinstall-torch
Run once, then remove that flag.
Extensions Break the Interface
After installing a new extension the interface fails to open. Cure: delete the extension folder from extensions/, or launch with --disable-all-extensions.
Free vs Magnific, Topaz, Firefly: A Sober Comparison
Local Stable Diffusion is not a silver bullet. Here is where it actually beats paid services, and where it loses.
Where Local Stable Diffusion Wins
- Volume. Generate 500 background variations in one evening, no one is counting tokens
- Privacy. Client product cards never leave your machine
- Customisation. LoRA trained on your own product, ControlNet, pixel-level inpainting
- Long-term cost. After the hardware pays for itself, zero per image
Where Paid Services Win
- Magnific and Topaz Gigapixel 8 still outperform local upscalers on detail restoration (4x-UltraSharp, SUPIR in its local form is catching up but not everywhere)
- Firefly is built into Photoshop and works out of the box with no install
- Midjourney v7 consistently produces a beautiful image from a one-line prompt; local SD needs the right model and parameter tuning
- DALL-E 3 understands complex text prompts in English noticeably better, especially mixed language
The working pipeline for a commercial retoucher in 2026: main flow on local Stable Diffusion (backgrounds, inpaint, variations), final upscale and sharpening in Magnific or Topaz, retouch in Photoshop. Subscriptions to Midjourney and Firefly are unnecessary on this setup.
Where to Go Next
Once you have installed A1111, downloaded three or four models and generated your first hundred images, deeper questions appear:
- How to train a LoRA on your own product so the model knows your exact earring
- How to set up ControlNet with several references at once
- How to assemble a pipeline in ComfyUI for batch processing of 200 product cards overnight
- How to do regional prompting (different prompts for different parts of one image)
- How to use SDXL Refiner and Hi-Res Fix for premium quality
- Which LoRAs actually work for jewellery, and how to combine them
These topics are scattered across Reddit, Civitai and Discord servers. Assembling a system from fragments is possible but takes months.
Ready to Move from Install to Commercial Work
At gdefoto studio we have spent three years shooting and retouching product photography for marketplaces, and we have built a real production practice around Stable Diffusion. The AI PRO course covers exactly the working loop described above: A1111 from scratch, ControlNet for jewellery, training your own LoRA on your products, inpaint scenarios for marketplaces, upscale and finish. Every lesson is built on concrete cases: rings, earrings, chains, real shoots.
If you have read this far and realise you want to do this seriously, not as a hobby, but to earn money retouching with AI, look at the course programme on /lk/ai-pro/buy/. The full plan, examples of graduate work and the learning format are described there. Places are limited per group so we can give each student feedback on their work.
Using Stable Diffusion for product photography
Stable Diffusion earns its place in a product workflow when you need backgrounds, mockups, and scene variations faster than a physical set can produce them. The realistic use is not inventing the product from a text prompt, it is placing an already-shot product into a clean or styled environment. Think of it as an infinite set of paper sweeps, marble surfaces, studio gradients, and lifestyle rooms that you can generate on demand.
- Backgrounds: generate a soft studio backdrop, a textured surface, or a lifestyle context, then composite your cutout product on top.
- Mockups: place packaging, labels, or apparel into a believable scene for listing hero shots and ads.
- Variations: produce the same product against ten different moods so you can test what converts.
The key mental shift is separation of concerns. Your camera captures the truth of the item: shape, color, logo, and texture. Stable Diffusion supplies the surroundings. When you keep these two jobs apart, you avoid the trap of a model reinventing your product and drifting from reality. For catalog work, most teams cut the product out, drop it onto a generated background, and blend shadows manually or with a light inpaint pass. This keeps the item pixel-accurate while giving you the creative range of a full studio. Start with simple seamless backdrops before attempting complex lifestyle scenes, because clean gradients are forgiving and immediately usable across a whole product line.
Recommended settings for clean product results
Clean product output comes from restrained settings, not maximal ones. Overcooked prompts and high CFG values produce plastic, oversaturated surfaces that read as fake. Aim for neutral, controllable results you can finish by hand.
- Sampler: DPM++ 2M Karras or Euler a are reliable for crisp, low-noise output.
- Steps: 25 to 35 is plenty. More steps rarely help product shots and just cost time.
- CFG scale: keep it modest at 4 to 7. High CFG bakes in artifacts and harsh contrast.
- Resolution: generate at the model native size (around 1024 for SDXL) then upscale, rather than forcing a huge canvas that creates duplicated elements.
For prompts, describe the environment plainly: seamless studio background, soft diffused light, subtle floor reflection, neutral gray. Add a short negative prompt to kill common failures: text, watermark, extra objects, harsh shadows, clutter, blurry. Lock a seed once you find a background you like so you can reproduce it across an entire product line for visual consistency. Save these as a preset. A repeatable base means every SKU in your catalog shares the same lighting mood, which is exactly what a professional listing set needs. Finally, generate a few candidates per idea and pick, rather than chasing one perfect prompt. Selection is faster than prompt engineering, and your eye is a better judge of what looks premium than any parameter tweak.
Working from a reference product image with img2img and inpaint
Text-to-image is guesswork for real products. The moment you have a photo of the actual item, switch to img2img and inpainting, which anchor the generation to your reference so the result stays believable.
- img2img: feed in your product photo and set a low denoising strength, roughly 0.2 to 0.4. Low values preserve the item and only restyle lighting or minor surroundings. High values will repaint your product into something else, so resist the urge to push it up.
- Inpaint: mask only the area you want changed, for example the background behind a bottle or a scuff on a surface. The masked region regenerates while everything outside the mask stays untouched.
A practical loop looks like this: cut the product out cleanly, generate or choose a background, composite them, then run a gentle inpaint pass along the contact edge to unify shadow and light. This removes the cut-out halo and makes the object sit in the scene. For labels and text on packaging, never let the model repaint them. Mask them out or restore them from the original after generation, because diffusion models cannot spell and will scramble any writing. Treat inpainting as surgical: small masks, low denoise, and repeated small passes beat one aggressive edit. This discipline is what separates a listing image that builds trust from an obvious composite that erodes it.
Local Stable Diffusion versus paid cloud tools for a business
For a business, the choice between running Stable Diffusion locally and subscribing to a cloud service is a question of volume, privacy, and time, not just money.
- Local install: zero per-image cost, full control over models and extensions, and your product images never leave your machine. The tradeoff is upfront hardware, setup time, and the learning curve of updates and drivers.
- Paid cloud tools: instant start, no maintenance, and access from any device, but recurring fees, usage caps, queue times at peak, and your images processed on someone else servers.
The break-even is simpler than it looks. If you generate a handful of images per week, a cloud subscription is cheaper than owning a capable GPU. If you produce hundreds of listing variations per month, a local rig pays for itself quickly and removes any per-image anxiety that makes you generate less than you should. Privacy matters for unreleased products and exclusive designs. Local keeps prototypes and pre-launch packaging entirely in-house. Many small teams run a hybrid: local for bulk catalog work and one cloud tool kept on hand for its convenience or a specific feature. Decide by asking how many images you truly ship, whether confidentiality is a concern, and how much appetite you have for maintenance. There is no universally right answer, only the one that matches your throughput and tolerance for setup.
Keeping the real product accurate and not hallucinated
The single biggest risk in AI product imagery is misrepresentation. A generated image that shows a feature the item does not have, or a color it is not, invites returns and complaints. Accuracy is not a nicety here, it is a legal and reputational baseline.
- Never generate the product itself from text. Always start from a real photo of the actual item.
- Protect logos, labels, and text. Mask them during inpaint or restore them from the original. Diffusion cannot render legible branding.
- Lock color. Check the generated result against the true product color under neutral light. If the model shifted a hue, correct it manually or reduce denoising strength.
- Preserve geometry. Watch for warped edges, missing buttons, extra straps, or invented reflections. Regenerate or fix rather than shipping a distorted shape.
A useful rule: everything a buyer relies on to decide, the item shape, material, color, and markings, must come from the camera, while only the surroundings may be generated. Keep the original untouched capture archived so you can always compare and prove the true appearance. Buyers photograph what arrives and compare it to your listing, so any hallucinated detail surfaces fast as a dispute. When in doubt, choose a plainer, honest image over a flashier one that stretches the truth. Trust compounds across a catalog, and a single misleading render can cost you the credibility of every other listing you publish.
FAQ
Can Stable Diffusion replace a real product photo shoot?
No, and it should not try to. It replaces the set, backdrops, and scene variations, not the item itself. You still need one accurate photo of the real product. Diffusion then supplies backgrounds and moods around that capture. Treat it as a studio extender, not a substitute for photographing what you actually sell.
Why does the text on my packaging come out garbled?
Diffusion models generate pixels that resemble letters but cannot truly spell, so any label they repaint turns to nonsense. Mask text areas out during inpainting, or composite the real label back from your original photo after generating the background. Never let the model regenerate branding or ingredient lists.
What denoising strength should I use in img2img for products?
Stay low, around 0.2 to 0.4, when you want to keep the product intact and only adjust lighting or surroundings. Higher values give the model freedom to reinvent the item, which destroys accuracy. If the result drifts from your real product, lower the strength and try again.
Is it legal to use AI backgrounds in commercial listings?
Generally yes, as long as the image honestly represents the product a buyer will receive. The risk is not the AI background, it is misrepresentation. Keep the real item accurate, avoid inventing features or colors, and retain your original capture. Honest scenes with generated backdrops are widely used in ecommerce.
Free online photo tools
Edit your photo right in the browser — no install, no signup: