Skip to content

How-ToCPU

How to Generate AI Images on a CPU With FastSD CPU

FastSD CPU runs fast, few-step Stable Diffusion and FLUX models on an ordinary processor. Here's how to install it on Windows, pick the desktop GUI or web UI, choose a model, and use Intel integrated graphics or a Core Ultra NPU through OpenVINO.

By , Systems & Technical Editor

4 min read

How to Generate AI Images on a CPU With FastSD CPU

You don't need a graphics card to try local AI image generation. FastSD CPU is a free, open-source app that runs fast, few-step Stable Diffusion and FLUX models on an ordinary processor, and it can also use Intel integrated graphics or the NPU in Intel Core Ultra chips through OpenVINO. Any timings are the developer's own figures. If you'd rather use a GPU-focused tool, see how to install ComfyUI on Windows.

What you need

  • A Windows, Linux or Mac PC. FastSD CPU also runs on Android through Termux and on the Raspberry Pi 4, but this guide covers Windows.

  • Python and uv. The README says you must have a working Python and uv installation, and recommends Python 3.10 or higher. uv is a fast Python package and project manager.

  • Enough system RAM for your model. The README's minimums are 2GB in LCM mode and 4GB in LCM-LoRA mode with small test settings, and 8GB for OpenVINO FLUX.2. FLUX.1 schnell at 512 x 512 needs around 30GB. Our guide to how much RAM you need for local AI explains why memory matters.

  • An internet connection for the install, which downloads the Python packages FastSD needs, and for fetching models, some of which are several gigabytes.

Step 1: Download FastSD CPU

Go to the FastSD CPU GitHub page and either clone the repository or download a release from its releases page. The latest release at the time of writing is v1.0.0-beta.620, published on 31 October 2026. Extract it to a folder with plenty of free space, such as a folder on a roomy SSD, because models can be several gigabytes each.

Step 2: Run the installer

Double-click install.bat. The README warns that this takes some time, depending on your internet speed, because it downloads the Python packages FastSD needs.

Step 3: Pick the desktop GUI or the web UI

  • Desktop GUI: double-click start.bat. This is the simpler, faster interface for basic text-to-image.

  • Web UI: double-click start-webui.bat. This has the advanced features, including LoRA, ControlNet, image-to-image and image editing.

There's also a command-line mode for advanced users, and an experimental real-time mode, started with start-realtime.bat, that generates images as you type.

Step 4: Choose a mode and model

FastSD offers several modes. LCM and LCM-LoRA modes use PyTorch, while the OpenVINO modes use Intel's OpenVINO toolkit, which the README says gives around a 2x speed improvement. A sensible first choice is a small turbo model in OpenVINO mode, such as SD Turbo, which the developer lists at 1.7 seconds for a 512 x 512 image on a Core i7-12700 when paired with the tiny autoencoder (TAESD). The tiny autoencoder trades some quality for speed and saves memory.

Bigger, newer models are available in OpenVINO mode too, including FLUX.2 klein 4B and FLUX.3 Image Klein. The README lists FLUX.3 Image Klein at 5.6GB in its int4 form, needing around 8 to 9GB of system RAM for a 512 x 512 image, with a latency of about 36 seconds on the same Core i7-12700.

Type your prompt, set the image size (FastSD supports 256, 512, 768 and 1024 sizes) and click generate. FastSD saves each image along with the settings used to make it.

Step 5: Use Intel integrated graphics or the NPU (optional)

If you have Intel graphics, the README says to set the device to GPU before starting the web UI, using set device=GPU in a Command Prompt. Our guide to increasing shared GPU memory on Intel Core Ultra may help integrated graphics cope with bigger models.

To use the NPU on an Intel Core Ultra processor, first make sure the NPU driver is current (see how to update the Intel NPU driver). Then follow the README's steps:

  1. In a Command Prompt, set the device with set DEVICE=NPU, then start the web UI from that same window.

  2. Select LCM-OpenVINO mode.

  3. On the models settings tab, select the OpenVINO model rupeshs/sd15-lcm-square-openvino-int8, which is currently the model FastSD supports on the NPU.

The README says this is heterogeneous computing: the text encoder and UNet run on the NPU and the VAE runs on the GPU. The tiny autoencoder doesn't work in NPU mode. FastSD lists Core Ultra Series 1 (Meteor Lake) and Series 2 (Lunar Lake) as the NPUs it has been tested with. You can confirm the NPU is busy with Task Manager's NPU graph.

Step 6: Try image editing

In the web UI, select OpenVINO mode, choose an editing model such as FLUX.2-klein-4B or FLUX.3 Image Klein and open the Edit Image tab. FastSD includes prompt presets for restoring an old photo, restoring and colourising, colourising, enhancing a photo and making a professional headshot. Note that the Fibo 2.0 Edit Turbo model is licensed for non-commercial use only.

Troubleshooting

  • You're running out of memory. Use a smaller model, enable the tiny autoencoder, which the README says saves around 2GB, and keep guidance scale at 1, because the README notes higher values increase RAM use and slow inference.

  • You want to use FastSD in GIMP or ComfyUI. Its engine is built into Intel's OpenVINO AI Plugins for GIMP, and there's a ComfyUI-FastSDCPU node; see FastSD CPU vs OpenVINO AI Plugins for GIMP.

For more options, see our pick of the best local AI image generators that don't need a graphics card, and for chatbots on the same PC, how to run a local LLM without a GPU.

The bottom line

Install Python and uv, download FastSD CPU from GitHub, run install.bat and start either the desktop GUI with start.bat or the web UI with start-webui.bat. Begin with a small OpenVINO turbo model for quick results, move up to FLUX.2 klein or FLUX.3 Image Klein if you have the RAM, and on an Intel Core Ultra PC set DEVICE=NPU with the supported SD 1.5 LCM model to run generation on the NPU.

Sources

  1. 01GitHub, rupeshs/fastsdcpu (FastSD CPU README)
  2. 02GitHub, FastSD CPU releases

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free Software to Test a Used Graphics Card in 2026

Best Picks

Best Free Software to Test a Used Graphics Card in 2026

Bought a second-hand graphics card? These are the best free Windows tools to check it: GPU-Z to confirm the specs, HWiNFO for sensors, memtest_vulkan and OCCT for video memory, and OCCT and FurMark 2 for stress testing.

Hannah Vance4 min