Mindket

Fooocus

Newversion 2 · updated
Star53.8k

Overview

lllyasviel’s open source image generator that runs offline on your own computer. You type a prompt, press Generate, and need little tuning. It is built on Stable Diffusion XL, with routes for Windows, Linux, Mac, Colab and Docker. The project now gets bug fixes only.

Fooocus is an open-source project on GitHub in the Marketing & SEO category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • Windows with an Nvidia GPU: a downloadable archive and run.bat
  • Windows with an AMD GPU: DirectML, through an edited run.bat, in beta
  • Linux: Anaconda, a Python venv or the system Python
  • Linux with an AMD GPU: ROCm, in beta
Start with
git clone https://github.com/lllyasviel/Fooocus.git
cd Fooocus
python3 -m venv fooocus_env

Platform

DockerContainer
WindowsOperating system
LinuxOperating system

About

What it is

Fooocus is image generating software you run on your own computer. The README says it is offline, open source and free, and that you only focus on the prompt and the pictures, as with online generators such as Midjourney. Manual tweaking is not needed. It is built on Stable Diffusion XL and Gradio, so you use it in your browser. An offline GPT-2 based prompt engine expands a short prompt such as “house in garden”, so the result still looks good. From the same page you can upscale a picture, make variations, inpaint or outpaint, use an image as a prompt, or ask for a description of an image. The README says the project is in limited long-term support: bug fixes only, and no current plan to move to newer model architectures.

  1. You type a prompt and press Generate
  2. With the Fooocus V2 style, a GPT-2 model expands your prompt
  3. Stable Diffusion XL draws the images on your computer
  4. You upscale, vary or inpaint the one you like
  5. Images are saved in the outputs folder

Who it suits

People who want pictures from text on their own computer, offline and free. It suits you if you know Midjourney or Leonardo, because the README maps their features to Fooocus’s. It also suits anyone with an Nvidia card who wants a simple browser interface over Stable Diffusion XL.

Who uses it, and how
IndustryWho uses itHow they use itExample
Digital artPeople who want pictures from textType a prompt, press Generate and pick a style under AdvancedSomeone types “house in garden” and lets the prompt engine fill in the detail.
Midjourney and Leonardo usersPeople moving to a local toolLook up each feature in the README’s two comparison listsA Midjourney user opens Input Image, then Upscale or Variation, and picks Vary (Subtle).
Photo editingPeople who fix or extend a pictureInpaint to change part of an image, Outpaint to extend itSomeone opens Input Image, chooses Inpaint or Outpaint, then picks Up, Down, Left or Right.
Local networkPeople who open the interface to other devicesLaunch with --listen, optionally a port, and add a login fileA user runs python entry_with_update.py --listen, sets a port with --port 8888 as the README suggests, and adds an auth.json file with a user and pass.

Skip it if you need newer models such as Flux. The README sends those users to WebUI Forge and ComfyUI. Skip it too if you have no GPU. The README’s table puts a CPU-only run at about 17 times slower than an Nvidia RTX 3XXX and asks for 32 GB of memory.

Where to use it

The README, and the Docker page it links, have a route for each of these.

  • Windows with an Nvidia GPU: a downloadable archive and run.bat
  • Windows with an AMD GPU: DirectML, through an edited run.bat, in beta
  • Linux: Anaconda, a Python venv or the system Python
  • Linux with an AMD GPU: ROCm, in beta
  • Mac with Apple silicon: an unofficial guide, and much slower
  • Google Colab: the official notebook, with a last line you can edit
  • Docker, Docker Compose and Podman: an image for Nvidia GPUs

How to set it up

Get it saves a zip of Minda’s setup notes in your downloads folder, with a page for each platform above, one for models and config, and one for troubleshooting. On Windows with an Nvidia card, the README says to download the archive, uncompress it and run run.bat. On Windows with an AMD card you edit run.bat in the same archive. On Linux and Mac you clone the repository and install its Python packages. Colab runs the official notebook, and Docker or Podman run the ghcr.io/lllyasviel/fooocus image.

What you need first
NeedDetail
A GPUAn Nvidia RTX card with 4 GB of GPU memory is the README’s minimum. A GTX 1XXX or 9XX card needs 8 GB, and older GTX cards are not supported. An AMD card needs 8 GB, and a Mac uses shared memory
System memory8 GB, plus system swap. On Windows the swap is usually automatic. If you still see “RuntimeError: CPUAllocator”, keep 40 GB free on each drive
PythonOnly on the Linux and Mac routes: Python 3.10 for the venv and system routes, and conda for the Anaconda and Mac routes (Mac also needs PyTorch nightly)
Disk spaceRoom for the models. The first launch downloads them, and your first inpaint adds one more file of 1.28 GB
  1. Check your GPU first. Compare it with the README’s table of minimal requirements before you download anything.
  2. Get the code. On Windows, download the archive from the repository. On Linux and Mac, clone the repository.
  3. Install it. On Windows, uncompress the archive and run run.bat. On Linux and Mac, install the packages, in a conda or venv environment unless you use the system Python.
  4. Launch it and wait. The first launch downloads the default models for you.
  5. Type a prompt on its page. Open the page in your browser first.
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

That is the README’s venv route for Linux. It launches with these two lines.

source fooocus_env/bin/activate
python entry_with_update.py

How to use it

Type a prompt and press Generate. Most other controls sit in two places. Input Image holds what you do with a picture: upscale it, vary it, inpaint or outpaint it, use it as an image prompt or ask for a description. Advanced holds the style, quality, image number, negative prompt, aspect ratios and guidance. The README maps Leonardo’s Prompt Magic to the Fooocus V2 style under Advanced.

Where a Midjourney habit lives in Fooocus
MidjourneyFooocus
V1 to V4Input Image, Upscale or Variation, then Vary (Subtle) or Vary (Strong)
U1 to U4Input Image, Upscale or Variation, then Upscale (1.5x) or Upscale (2x)
Inpaint and PanInput Image, Inpaint or Outpaint, then Inpaint, Up, Down, Left or Right
Image PromptInput Image, Image Prompt
--styleAdvanced, Style
--qualityAdvanced, Quality
--repeatAdvanced, Image Number
--noAdvanced, Negative Prompt
--arAdvanced, Aspect Ratios
DescribeInput Image, Describe

Example

You want one flower in three colors. Type the line below in the prompt box and raise the image number to 3. Fooocus makes one image for red, one for green and one for blue.

[[red, green, blue]] flower

A wildcard works the other way round. The prompt __color__ flower picks one random color from the file wildcards/color.txt, and the pick follows the seed. A LoRA goes in the prompt too: flower <lora:sunflowers:1.2> applies it when its file is in the models/loras folder.

For newcomers and experts

If you are new. Fooocus is a program, not a website. A model is the file that holds what the drawing system learned, and your graphics card does the work. Fooocus fetches the models it needs when you first start it. The README warns that fake Fooocus sites exist, so get it from the repository. On Windows, run_realistic.bat and run_anime.bat load different models than run.bat. Start with run.bat, write a plain sentence and press Generate. If the console shows “RuntimeError: CPUAllocator”, a crash such as Segmentation Fault or Killed, or closes in a flash, the troubleshooting page blames too little system swap. A “CUDA Out Of Memory” on an Nvidia card with 8 GB, or 4 GB with Float16 support, is a bug to report. On 6 GB it says very likely a bug.

For experts. The README lists the sampling work as tricks, and says they are based on SDXL and are not very up to date with the latest models. They include a refiner swap inside a single k-sampler, negative ADM guidance, a tuned form of self-attention guidance, and CFG scale with TSNR correction above 10. Prompt weights use A1111’s reweighting, which the README says suits prompts copied from Civitai. After the first launch, config.txt sets the defaults, and the usage line lists many flags, from --always-high-vram to --preset and --language. The lines below are an excerpt of the README’s example of an edited config.txt.

{
    "default_model": "realisticStockPhoto_v10.safetensors",
    "default_cfg_scale": 3.0,
    "default_sampler": "dpmpp_2m",
    "default_scheduler": "karras"
}

Good to know

Fooocus runs on your machine, and a few paths reach out.

  • Status: the README says it is in limited long-term support, with bug fixes only. For newer models it names WebUI Forge, ComfyUI and SwarmUI
  • Official source: the README says its GitHub page is the only official source. It lists fooocus.com, fooocus.net, fooocus.co, fooocus.ai, fooocus.org, fooocus.pro and fooocus.one as fake sites with no tie to the maker
  • Network: --listen and --share expose the interface, and both are unauthenticated unless you add an auth.json file with a user and a pass for each login
  • Downloads: the first launch downloads models, and the README names a Hugging Face address for the inpaint model. It does not cover the licenses of the models you download
  • Flags: the README’s flag list includes --disable-analytics, --disable-image-log and --disable-metadata, and does not describe them
  • Hardware: Nvidia is the main route. AMD support is in beta, Mac is unofficial, and the troubleshooting page blames too little system swap for most crashes
  • Removal: the README gives no steps. On Windows you delete the folder you extracted
  • License: GPL-3.0. The LICENSE file is the standard GNU General Public License version 3 text, with no copyright line for the maker

README and files

README

Fooocus: setup notes

This kit holds setup notes only. Mindket wrote them. Fooocus itself comes from its maker's repository: https://github.com/lllyasviel/Fooocus

These notes are not made or endorsed by lllyasviel. The GitHub description reads "Focus on prompting and generating". The README calls Fooocus "an image generating software (based on Gradio)" and says it is "offline, open source, and free".

License: GPL-3.0. The LICENSE file (https://github.com/lllyasviel/Fooocus/blob/main/LICENSE) is the standard GNU General Public License version 3 text, dated 29 June 2007, and its closing appendix keeps the placeholder line Copyright (C) <year> <name of author>, so it names no holder. The kit holds none of Fooocus's code.

Read this first

  • Project status. The README says Fooocus is built on the Stable Diffusion XL architecture and is now in "limited long-term support (LTS) with bug fixes only". It says there are no current plans to move to newer model architectures. For newer models such as Flux, it points to WebUI Forge and ComfyUI or SwarmUI.
  • One official source. The README says many fake websites show up on Google when you search "fooocus" and that the GitHub page is the only official source. It lists these as fake: fooocus.com, fooocus.net, fooocus.co, fooocus.ai, fooocus.org, fooocus.pro and fooocus.one. Download only from the repository.
  • A GPU is the main route. The README's minimum is an Nvidia RTX card with 4 GB of GPU memory and 8 GB of system memory. AMD GPUs, Apple silicon and CPU-only runs (32 GB of system memory, about 17x slower than an RTX 3XXX) work with limits, listed in setup/models-and-config.md.

What installs

  • On Windows, one .7z archive from the repository's Releases that holds the program, its own Python and the launch files run.bat, run_anime.bat and run_realistic.bat. Source: https://github.com/lllyasviel/Fooocus/blob/main/readme.md
  • On Linux and Mac, the repository's code from git clone, plus the Python packages from requirements_versions.txt. On the Anaconda and Mac routes they go into a conda environment made from environment.yaml first.
  • On Colab, nothing on your computer: the official notebook runs Fooocus in a Colab session.
  • With Docker or Podman, the image ghcr.io/lllyasviel/fooocus, or one you build from the repository.
  • On first launch, the models. The README says Fooocus downloads the default models for the preset you start, and downloads its own inpaint model the first time you inpaint. The README gives that file as 1.28 GB.

What you need first

  • An Nvidia RTX card with 4 GB of GPU memory or more is the README's minimum. GTX 1XXX and 9XX need 8 GB, and older GTX cards are not supported. The Docker page also asks for proprietary Nvidia drivers.
  • 8 GB of system memory. The troubleshooting page asks for at least 40 GB of system swap and says Windows 10 and 11 make it for you, so there you keep at least 40 GB free on each disk.
  • Python 3.10 on Linux without conda. Source: README, "Linux (Using Python Venv)".

Per-platform notes

  • setup/windows.md: the .7z archive, the three launchers and AMD GPUs through DirectML
  • setup/linux.md: conda, venv, system Python and AMD GPUs through ROCm
  • setup/mac.md: Apple silicon, unofficial
  • setup/colab.md: the official notebook
  • setup/docker.md: Docker, Docker Compose and Podman
  • setup/models-and-config.md: default models, presets, config.txt, flags, network access, wildcards and arrays
  • setup/troubleshooting.md: the maker's list of common errors

Update or remove

The README gives no separate update steps. Its launch lines use entry_with_update.py, and the README does not say what that file updates. For older releases, the README points to https://github.com/lllyasviel/Fooocus/discussions/1405 and says the update log is update_log.md in the repository.

The README gives no uninstall steps. On the Windows route, the program, its python_embeded folder and the Fooocus\models folder sit in the folder you extracted, so deleting it removes them. On Linux and Mac, delete the folder you cloned and the conda or venv environment you made. On the system-Python route, the packages from requirements_versions.txt stay in your system Python, and the README gives no steps to remove them. Anywhere else you pointed Fooocus's model or output paths, in config.txt, stays until you delete it.

Sources

Files
README.md  5 KB
setup/colab.md  2 KB
setup/docker.md  6 KB
setup/linux.md  3 KB
setup/mac.md  2 KB
setup/models-and-config.md  9 KB
setup/troubleshooting.md  4 KB
setup/windows.md  3 KB

8 files, 33 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-03

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

somenameformeChatGPT Images 2.5Should probably mention this as a root comment, but various local image gen models like fooocus [1] run on basically any remotely modern hardware, have phenomenal output quality, and cost basically nothing. I think companies trying to sell image gen at this point are just banking on ignorance. [1]…@quon-echosphere.bsky.socialまず褒める側。Fooocus公式は offline, open source, free、初回画像まで3クリック未満・最低4GB VRAM と明記。Ollama公式もローカル実行自体は本当。ここは盛りすぎじゃない。https://github.com/lllyasviel/Fooocus https://docs.ollama.com/faq1 reply@cyrilXBTAgencies charge $3,000 a month to run an Instagram page. This stack does it for almost NOTHING. 10 open source repos that turn one idea into a posted reel: 1. ComfyUI: generate the visuals https://t.co/xHdCsQKRFV 2. Fooocus: pro images in one prompt https://t.co/plpYUkhvo8 3. ControlNet: lock in…r/StableDiffusionI built a Fooocus-style local studio for Qwen-Image 2.1: masks, annotations, outpainting, OpenPose poses and sketches as references. Looking for honest…somenameformeI love LLMs, I hate hypeSure, for a balance between usability and power I'd recommend fooocus. [1] AmuseAI [2] is an alternative that is extremely plug-and-play which can be especially handy with AMD hardware, but is a bit less powerful and also censored by default. ComfyUI [3] is an advanced tool for rich customization…ChiefGyk3DI just starred lllyasviel/Fooocus on GitHub: https://github.com/lllyasviel/Fooocus1 like@Crypto_QianXun2. Ollama GPT-4 级别的 AI 模型,直接跑在自己电脑上。 无需调用 API,无需付费。 https://t.co/KVqIgn52LDvunderbaGreatest irony of the AI age: Humans hired to clean AI slopMinor correction. FOOCUS [1] isn't a LoRA - it's a Gradio-based frontend (in the same vein as Automatic1111, Forge, etc.) for image generation. And most SOTA models (Imagen, Qwen 20b, etc) at this point can actually already handle a fair amount of text in a single T2I generation. Flux Dev provided…EUVD Bot🚨 EUVD-2025-210684 📊 9.3/10 🏢 lllyasviel 📝 Fooocus is an image generating software. In versions 2.5.5 and prior, the Fooocus web UI is vulnerable to remote code execution due to the unsafe use... 🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-210684 #cybersecurity #infosec #cve #euvd@AsWill11Top 10 Open Creative Media Tools: 1. SD WebUI - https://t.co/bU2MftMMLh 2. ComfyUI - https://t.co/il7DyLf4SY 3. MoneyPrinterTurbo - https://t.co/rCp1zg8WAS 4. VoiceStudio - https://t.co/bHOHpeZJz9 5. HyperFrames - https://t.co/r0ckNK9nRf 6. GPT-SoVITS - https://t.co/8tTq9atGJb 7. whisper.cpp -…ykAI model for near-instant image creation on consumer-grade hardwareFor runtime, I use ComfyUi [0] which is node based and therefore a bit hard to learn. But you can just look at the examples on their github. Foocus [1] also seems to be popular and a bit more conventional perhaps, though I didn't try it. For models, Flux [2] is pretty good and quite…STACKFLAGCVE-2025-31114 - fooocus The Fooocus image generating software has a security issue in its web interface. This means an attacker could potentially take control of the software if they gain access to it.… Too many irrelevant or confusing CVEs? Use stackflag.com #fooocus #lllyasviel #CVE #infosec

Searched

More from Mindket

See all from Mindket

Nanosaur2-670M

well9472 · Kit

Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…

New

Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.

New

Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.

New

Similar in Marketing & SEO

See all in Marketing & SEO

Flux.2-Klein-9B-MatchingPose

nhathoangfoto · Kit

A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…

New

Generates images from text on modest GPUs, using quantized Z-Image-Turbo files made for stable-diffusion.cpp. For people who run image models on their own comp…

New

HiDream-I1-Full

HiDream-ai · Kit

Generates images from text prompts with a 17B-parameter open model that scores at the top of the card's prompt-following tables. For designers, marketers and d…

New