Beginner 11 minImage

Fooocus: install the AI image generator free

Direct response

Fooocus is a free, open-source image generator (GPL-3.0) based on SDXL: extract the approximately 2 GB Windows archive, run run.bat, and the interface opens in the browser. It requires 4 GB of VRAM NVIDIA and at least 8 GB of RAM. Two limitations in 2026: the project now receives only bug fixes, and its bundled PyTorch does not support RTX 50 cards, which several users have reported as failing.

Fooocus is free, open-source software that generates AI images on your computer with the simplicity of an online service: a text field, a button, and good default settings. It is based on Stable Diffusion XL. As of September 28, 2026, it remains one of the fastest ways to get a first image on Windows with a NVIDIA 40-series or earlier GPU, but its development is in maintenance mode. This guide covers installation, your first image, lesser-known features, the RTX 50 issue, and cases where it is better to choose another tool.

By Mohamed Meguedmi·Update 2026-09-29·Tested on Windows, macOS, and Linux

#What is Fooocus?

Fooocus was released in August 2023 by lllyasviel, the author of ControlNet, under the GPL-3.0 license. The repository has surpassed 50,000 stars on GitHub. Its design principle: hide the technical details. Where other interfaces expose dozens of sliders, Fooocus automatically applies the settings that produce good results with SDXL and enriches your prompt behind the scenes using a GPT-2-based prompt-processing engine that runs offline. The README compares it to Midjourney, while noting that everything runs locally: no account, no subscription, and no image sent to a server.

Its status matters as much as its features. The README describes it as “limited long-term support (LTS) with bug fixes only,” with no plan to support new architectures. The latest release, 2.5.5, dates from August 12, 2024. Fooocus remains an excellent SDXL tool, not a platform that will keep up with tomorrow’s models.

#Requirements

The Local Image AI Kit

AI images and videos on your own machine, no subscription and no credits: ComfyUI, Flux, Z-Image and Wan 2.2 with ready-to-load workflows, VRAM tiers, LoRA training and the legal frame.

  • Lifetime online access
  • PDF + files
  • Lifetime updates

The README provides a table of minimums by platform, along with speed comparisons from the project, most of them dating from 2023. Treat them as rough estimates, not current measurements.

Minimums stated in Fooocus's README, with its own speed comparisons
HardwareMinimum VRAMRAM and swapProject note
NVIDIA RTX 2000, 3000 or 4000 (Windows or Linux)4 GB8 GB, swap memory requiredThe newer the generation, the faster it is
NVIDIA GTX 10008 GB (6 GB uncertain)8 GB, swap requiredOnly slightly faster than the processor
NVIDIA GTX 9008 GB8 GB, swap requiredFaster or slower than the processor
AMD card on Windows8 GB8 GB, swap requiredThrough DirectML, about 3 times slower than a RTX 3000; beta support
AMD card on Linux8 GB8 GB, swap requiredAbout 1.5 times slower via ROCm; beta support
Mac M1 or M2Shared memorySharedAbout 9 times slower than a RTX 3000; not extensively tested
CPU only0 GB32 GB, swap requiredApproximately 17 times slower than a RTX 3000

Plan generously for disk space: the default model, juggernautXL_v8Rundiffusion, weighs 7.11 GB on Hugging Face, and the inpainting model downloaded for the first edit adds 1.28 GB. The README recommends at least 40 GB of free space on each disk if the “RuntimeError: CPUAllocator” error appears. With 4 GB of VRAM, Fooocus relies on Windows virtual memory, which is enabled in most cases: that is what makes execution possible—and slow.

!
RTX 50 cards: the Windows version does not work as-is
The Windows 2.5.0 archive bundles PyTorch 2.1.0 for CUDA 12.1. However, RTX 50 cards (Blackwell architecture, sm_120) have required, since PyTorch 2.7, versions compiled for CUDA 12.8. On a RTX 5090, a RTX 5060, or a RTX 5050 laptop, several user reports, including one from August 24, 2026 that remains open, describe the error « no kernel image is available for execution on the device ». See the troubleshooting section before downloading.

#Install Fooocus

  1. 01
    Download the archive
    From Fooocus's official GitHub page, follow the Windows download link: the .7z archive (Fooocus_win64_2-5-0.7z, about 2 GB) contains Python and all dependencies. The README warns that fake sites are circulating: download only from the lllyasviel/Fooocus repository.
  2. 02
    Extract
    With 7-Zip, in a folder with a short path and no accented characters, such as C:\Fooocus. Avoid the Desktop and folders synced to the cloud.
  3. 03
    Run run.bat
    On first launch, Fooocus automatically downloads its default model to Fooocus\models\checkpoints. If you already have these files, copy them there to save time. Allow ten minutes to half an hour, depending on your connection.
  4. 04
    Open the interface
    The browser opens on its own at port 7865, defined in the launch code. If it doesn't, the address is displayed in the terminal's black window, which must remain open.

Two other launchers have been provided since version 2.1.60: run_realistic.bat loads realisticStockPhoto_v20, focused on photography, and run_anime.bat loads animaPencilXL_v500, focused on illustration. Since version 2.3.0, you can also change the preset in the browser. Each model is downloaded on first use. On Linux, the README offers installation through Anaconda or a venv with Python 3.10:

Terminal
git clone https://github.com/lllyasviel/Fooocus.git
cd Fooocus
python3 -m venv fooocus_env && source fooocus_env/bin/activate
pip install -r requirements_versions.txt
python entry_with_update.py

#Your first image

Describe the image in the bottom field, preferably in English, then click Generate. By default, Fooocus produces two images, according to its configuration code. Check Advanced to reveal the settings that matter.

Performance
Speed for everyday use, Quality for a final image, and three quick modes for iteration. The table below shows the number of steps for each mode.
Aspect Ratios
The image format. The code defines a list of SDXL formats, including 1152 × 896 by default and 1024 × 1024. Stick to these formats: SDXL was trained on specific dimensions and degrades outside them.
Styles
The default preset checks three styles: Fooocus V2, Fooocus Enhance, and Fooocus Sharp. Add only a few: stacking ten of them muddies the result.
Seed
Uncheck Random to fix the seed and reproduce the same image while changing only one prompt detail.
The five performance modes, based on Fooocus's code
ModeNumber of stepsAcceleration LoRAUsage
Quality60NoneFinal image, the slowest
Speed (default)30NoneDaily use: half as many steps as Quality
Extreme Speed8sdxl_lcm_loraIterate quickly on a prompt
Lightning4sdxl_lightning_4step_loraNear-instant drafts
Hyper-SD4sdxl_hyper_sd_4step_loraQuick drafts, another acceleration method

These modes are a tradeoff between time and quality: fewer steps means less refinement. Iterate in fast mode on the prompt, then rerun the best seed in Speed or Quality.

#The features that make the difference

Upscale or Variation
Upscale a successful image or request closely related variations.
Image Prompt
Provide reference images—four by default according to the configuration—to guide the style, composition, or a face, without training a model.
Inpaint or Outpaint
Repaint an area you mask with the mouse, or extend the image beyond its edges. The first use downloads Fooocus's dedicated inpainting model.
LoRA
Five SDXL LoRA slots are available in the Model tab. Place the files in the models/loras folder.

#Three prompting tips documented in the README

The README describes a little-known syntax, illustrated in the block below. Wildcards: a line such as __color__ flower picks a random color from the wildcards/color.txt file. Arrays: double brackets around a list produce one image per element, provided you set the number of images to 3 for three elements. Inline LoRAs: the lora tag, with the filename and a weight, applies a LoRA to the prompt, provided the file is in models/loras. These three syntaxes let you explore variants at scale without rewriting the prompt.

README syntax examples
__color__ flower
[[red, green, blue]] flower
flower <lora:sunflowers:1.2>

#Models, configuration, and network access

After the first launch, Fooocus generates a config.txt file, where you can move model folders using keys such as path_checkpoints and path_loras. This is the right way to reuse models already downloaded for another interface without duplicating them. The README recommends thinking carefully before modifying this file and deleting it if it breaks: Fooocus then returns to its default values.

!
--listen and --share do not require a password
By default, Fooocus listens only on your machine. The README specifies that both the --listen option, which opens the interface to the local network, and the --share option, which creates a public gradio.live address, are unauthenticated by default. To require authentication, create an auth.json file in the main directory containing a list of objects with the user and pass keys. Without this, do not use --share on a workstation containing private images.

#Troubleshooting: RTX 50 and other errors

“no kernel image is available for execution on the device” (RTX 50)
The card is detected, but the bundled PyTorch does not know its architecture. The August 24, 2026 report on a portable RTX 5050 lists PyTorch 2.1.0 for CUDA 12.1 and supported architectures ending at sm_90. The fix documented by users is to install PyTorch for CUDA 12.8 in the python_embeded folder, but the project does not support this, and the report says Fooocus continued using the old version after the update. The most reliable option is to switch to ComfyUI.
“RuntimeError: CPUAllocator”
Windows virtual memory is disabled or insufficient. Re-enable it, and keep at least 40 GB free on each drive, the README recommends.
“MetadataIncompleteBuffer” or “PytorchStreamReader”
A model file is corrupted, often after an interrupted download. Download it again.
Generation far too slow
Check that the GPU is properly detected in the terminal. The README also notes that, in 2023, some NVIDIA drivers later than version 532 could be up to ten times slower than 531: test this only if nothing else explains the slowdown.

The RTX 50 pitfall applies to many other software packages: torch.cuda.is_available() can return True even though the first actual computation fails. Always test with a real computation, not just this indicator.

#Limits to know about in 2026

Fooocus remains limited to the SDXL architecture. Families released since then, such as Flux, Stable Diffusion 3.5, and Z-Image, are not supported, and the README itself points to WebUI Forge or ComfyUI/SwarmUI for recent models. The repository now receives only minor fixes: its last three commits, in January and September 2025, fix a path in the README, remove a link, and update a continuous integration tool. The README mentions forks worth trying, whose maintenance status should be checked case by case.

Which tool for which need
Your needsThe right tool
A first local image, without learning anything, with a NVIDIA card from before the 50 seriesFooocus
Easily retouch, extend, or vary an SDXL imageFooocus
Use Flux, SD 3.5, video, or an RTX 50 cardComfyUI
A classic tabbed interface with plenty of extensionsForge (Neo fork for recent models) or AUTOMATIC1111
A MacDraw Things

#FAQ

FAQ
Is Fooocus really free?+
Yes, completely. The software is open source under the GPL-3.0 license, and the models can be downloaded for free. Beware of sites that sell Fooocus or offer an online version: the README lists fooocus.com, fooocus.net, fooocus.ai, and fooocus.org as all fake and states that the project has only one official source, its GitHub repository.
Does Fooocus work on an RTX 50 card?+
Not with the supplied Windows archive. It bundles PyTorch 2.1.0 for CUDA 12.1, which does not recognize the Blackwell architecture, and several user reports describe the “no kernel image” error. The community has documented updating PyTorch to CUDA 12.8, without any guarantee from the project. ComfyUI, whose documentation targets CUDA 13.0, is the safest option.
Does Fooocus work on Mac?+
Yes on Apple Silicon, through a manual installation with conda and PyTorch nightly, but the README describes it as unofficial and about nine times slower than a RTX 3000. On Mac, the Draw Things app, whose free edition runs calculations offline, is a better choice for getting started.
Does Fooocus work with an AMD card?+
Yes, in beta. On Windows, through DirectML, by modifying run.bat, at a speed approximately three times lower than a RTX 3000 according to the README. On Linux, through ROCm, approximately 1.5 times slower. With an AMD card, ComfyUI delivers better results: its Windows Desktop has officially supported ROCm since January 2026.
Can Fooocus images be used commercially?+
Often, yes. SDXL is licensed under CreativeML Open RAIL++-M, which allows commercial use with usage restrictions. However, check the license of every community model or LoRA you add: many prohibit commercial use. The default model, juggernautXL, has its own model card, which you should read before selling any images.
Does Fooocus need the Internet?+
Only for installation and the first download of each model. After that, everything works offline: the prompt and images do not leave your computer unless you enable --share, which creates a public URL. The README states that this mode and --listen are passwordless by default.
Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.