Skip to main content

Documentation 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.

Fooocus is a free, offline image generation tool built on Stable Diffusion XL. Inspired by Midjourney’s simplicity, it lets you focus entirely on your prompts and images — the software handles all the technical details automatically. From first download to first generated image takes fewer than 3 mouse clicks.

Introduction

Learn what Fooocus is, how it works, and what makes it different from other SDXL tools.

Quickstart

Generate your first image in minutes with the default Windows installer.

Core Features

Explore text-to-image, inpainting, image prompts, upscaling, and styles.

CLI Flags Reference

Full reference for all command-line arguments and launch options.

Install on Your Platform

Fooocus runs on Windows, Linux, macOS, and in Docker. Choose your platform below.

Windows

One-click installer with embedded Python — no setup required.

Linux

Install with Anaconda, Python venv, or system Python. Supports Nvidia and AMD GPUs.

Mac

Runs on Apple M1/M2 via PyTorch MPS acceleration.

Docker

NVIDIA CUDA 12.4 image with persistent volume support.

Key Features

Prompt Expansion

Offline GPT-2 engine automatically enriches your prompts for better results — no prompt engineering needed.

Inpaint & Outpaint

Custom inpaint algorithm and models that outperform standard SDXL inpainting methods.

Image Prompt

Use any image as a style or composition reference with Fooocus’s custom IP-Adapter implementation.

Upscale & Variation

Upscale images 1.5x or 2x, or generate subtle and strong variations of any output.

100+ Styles

Choose from over 100 curated SDXL styles across multiple style packs.

Performance Modes

Quality, Speed, Extreme Speed (LCM), Lightning, and Hyper-SD modes for any hardware.
1

Download Fooocus

Grab the latest Windows installer or clone the repository for Linux/Mac.
2

Run the launcher

On Windows, double-click run.bat. On Linux/Mac, run python entry_with_update.py. Models download automatically.
3

Type a prompt

Enter your prompt in the text box and click Generate. Fooocus handles everything else.
4

Explore advanced features

Once comfortable, try Image Prompts, Inpaint/Outpaint, custom styles, and LoRA models.
Fooocus is in Limited Long-Term Support (LTS) mode — it receives bug fixes only. It is built exclusively on Stable Diffusion XL and there are no plans to support newer architectures like Flux.

Build docs developers (and LLMs) love