Windows is the easiest way to get started with Fooocus. The official release ships as a self-containedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/lllyasviel/Fooocus/llms.txt
Use this file to discover all available pages before exploring further.
.7z archive that includes an embedded Python runtime — no Python installation, no virtual environment, and no dependency management required. Download the archive, extract it, and double-click a batch file to start generating images.
Hardware Requirements
The table below shows the minimum hardware needed to run Fooocus on Windows. System Swap (Virtual Memory) is required in all cases.| GPU | Minimal GPU Memory | Minimal System Memory | Notes |
|---|---|---|---|
| Nvidia RTX 4XXX | 4 GB | 8 GB | Fastest |
| Nvidia RTX 3XXX | 4 GB | 8 GB | Usually faster than RTX 2XXX |
| Nvidia RTX 2XXX | 4 GB | 8 GB | Usually faster than GTX 1XXX |
| Nvidia GTX 1XXX | 8 GB (6 GB uncertain) | 8 GB | Only marginally faster than CPU |
| Nvidia GTX 9XX | 8 GB | 8 GB | Faster or slower than CPU |
| Nvidia GTX < 9XX | Not supported | — | — |
| AMD GPU | 8 GB | 8 GB | Via DirectML, ~3× slower than RTX 3XXX |
Installation Steps
Download the release archive
Download the latest Fooocus Windows package:Fooocus_win64_2-5-0.7zAlways download from the official GitHub releases page. There are many fake Fooocus websites — the GitHub repository is the only legitimate source.
Extract the archive
Open the
.7z file with 7-Zip and extract it to a folder of your choice (for example, C:\Fooocus). Do not extract to a path inside Program Files or any folder that requires elevated permissions.Launch Fooocus
Inside the extracted folder, run one of the following batch files by double-clicking it:
You can also switch presets directly in the browser after Fooocus 2.3.0 without restarting.
| Batch file | Preset | Main model |
|---|---|---|
run.bat | General (default) | juggernautXL_v8Rundiffusion |
run_anime.bat | Anime | animaPencilXL_v500 |
run_realistic.bat | Realistic | realisticStockPhoto_v20 |
Wait for automatic model download
On the first launch, Fooocus will automatically download the required Stable Diffusion XL checkpoint to
Fooocus\models\checkpoints. The download size is several gigabytes — allow time for it to complete before the web UI opens. If you already have the model files, copy them into that folder to skip the download.If you later use the Inpaint feature, Fooocus will also download inpaint_v26.fooocus.patch (~1.28 GB) to Fooocus\models\inpaint the first time you inpaint an image.Once the UI loads, open your browser to http://127.0.0.1:7865.AMD GPU Support (DirectML)
AMD GPU support on Windows uses the
torch-directml backend. It is in beta and approximately 3× slower than an Nvidia RTX 3XXX. ROCm for Windows is currently on hold.run.bat in a text editor and replace its contents with the following:
Troubleshooting
System Swap / Virtual Memory — Fooocus requires Microsoft’s Virtual Swap (paging file) to be enabled. Windows enables this automatically in most cases. If you see a
RuntimeError: CPUAllocator error, verify that Virtual Memory is turned on and that each drive has at least 40 GB of free space. You can find the Virtual Memory settings under System Properties → Advanced → Performance Settings → Advanced → Virtual Memory.MetadataIncompleteBuffer / PytorchStreamReader errors — If you see either of these errors at startup, one or more model files are corrupted, most likely due to an interrupted download. Delete the affected files from
Fooocus\models\checkpoints (or the relevant model subfolder) and relaunch Fooocus to trigger a fresh download.