Most guidance about running AI locally is written about text models, and it transfers badly to image generation. The memory arithmetic is different, the bottleneck is different, and a card that comfortably runs a useful language model may struggle with a current image model at full resolution. Here is what actually decides whether this works on your machine.

The hardware question, honestly

There is no clean formula here of the kind that works for language models, because the families differ architecturally. What there is instead is a rough tier list:

Model familyComfortable VRAMNative resolution
SD 1.5~4–6 GB512px
SDXL~8–12 GB1024px
Flux and newer~12–24 GB1024px+
Quantised builds of the aboveNoticeably lessUnchanged

Two things that surprise people coming from text models:

Resolution costs memory steeply. Generating above a model's native resolution does not scale linearly — it can tip a setup that was working into out-of-memory errors. The usual answer is to generate at native size and upscale afterwards, which is both cheaper and generally better looking.

Older small models stay useful. SD 1.5 is years old and still widely used, because 4 GB is a low bar and the ecosystem of adapters built around it is enormous. Newer is not automatically the right choice when your hardware is the constraint.

If you are choosing a card, our GPU guide for local AI applies here too, with the caveat that image work rewards raw compute more than text generation does, where memory capacity dominates.

Pick an interface before you pick a model

  • Fooocus — the fewest decisions. Type a prompt, get an image, sensible defaults chosen for you. Best first stop.
  • AUTOMATIC1111 web UI — the long-standing standard. Every control exposed, a large extension ecosystem, conventional layout.
  • ComfyUI — a node graph where you wire the pipeline yourself. Steeper, and the right answer once you want a process you can repeat exactly or share.
  • InvokeAI — a middle path with a canvas-oriented workflow.

All run locally, all are free, and all read the same model files, so changing your mind later costs nothing but the download.

Checkpoints, LoRAs and the rest of the vocabulary

  • Checkpoint — a complete model, usually several GB. You load one at a time.
  • LoRA — a small adapter, often tens of MB, that pushes a checkpoint toward a style or subject. Stackable.
  • VAE — the component that turns the internal representation into pixels. Some checkpoints bundle one; a mismatched VAE produces washed-out or oddly coloured output.
  • Sampler and steps — how the image is denoised, and how many passes. More steps is not reliably better, and most samplers plateau well before the maximum.
  • CFG — how strictly the model follows your prompt. Too high produces burnt, oversaturated images.

What to expect in practice

On a mid-range dedicated GPU, a single 1024px SDXL image lands in a few seconds. On an older 4–6 GB card running SD 1.5 at 512px, also a few seconds. On a CPU, minutes.

That difference matters more than it sounds, because image work is iterative. You rarely accept the first result; you adjust and regenerate ten or twenty times. At five seconds that is a working session, and at four minutes it is not.

Where this fits with everything else

Running image generation locally has the same case behind it as running text models locally: no per-image cost, nothing leaving your machine, and no service changing its terms underneath you. Our complete guide to local AI models covers that argument properly, and the ten-chapter tutorial covers the text side end to end.

One practical note for readers in Pakistan: the hosted image services bill in dollars to a card, and those payments fail routinely for reasons unconnected to your balance, as our guide to paying for international software explains. A model on your own hardware sidesteps that entirely.

Written by the WritePures newsroom. Spotted something that needs updating? Tell our editors.