图像生成GPL-3.0Python

Fooocus

Midjourney-like simplicity for SDXL: type a prompt and press Generate.

Star 数
53.4K
Fork 数
8.6K
未关闭 Issue
315
最近提交
2025-12-01

数据来自 GitHub API · 更新于 2026-10-15

Fooocus 是什么?

Fooocus hides the knobs. It ships a tuned SDXL pipeline with automatic prompt expansion, styles, inpainting, upscaling and image prompts, so beginners get good images without learning samplers or CFG. The project is now in limited long-term support (bug fixes only) and focuses on SDXL.

主要功能

  • One-box prompting with GPT-2–based prompt expansion
  • Style presets, image prompt and face swap via references
  • Inpaint/outpaint and 1.5×/2× upscale “Vary” tools
  • Offline and private after the first model download

系统要求

平台
Windows · Linux · macOS
显卡
NVIDIA recommended; AMD and Apple Silicon supported (slower)
显存
4 GB minimum, 6 GB+ recommended
内存
8 GB minimum, 16 GB recommended
磁盘
~15 GB for default models

如何安装 Fooocus

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Windows

  1. 1
    Download the .7z package from the README and extract it with 7-Zip.
  2. 2
    Run run.bat. The first launch downloads the SDXL models automatically.

Linux / macOS

  1. 1
    Clone and create a virtual environment.
    git clone https://github.com/lllyasviel/Fooocus.git
    cd Fooocus
    python3 -m venv fooocus_env
    source fooocus_env/bin/activate
  2. 2
    Install requirements and launch.
    pip install -r requirements_versions.txt
    python entry_with_update.py
  3. 3
    On Apple Silicon, add --disable-offload-from-vram for better speed.

优势

  • Easiest local SDXL setup
  • Great defaults
  • Works offline

不足

  • SDXL only; no FLUX or newer models
  • Limited long-term support — no new features

Fooocus 替代品对比

软件Star 数许可证平台显存
Fooocus

Midjourney-like simplicity for SDXL: type a prompt and press Generate.

53.4KGPL-3.04 GB minimum, 6 GB+ recommended
InvokeAI

Professional creative engine with a unified canvas for Stable Diffusion and FLUX.

28.6KApache-2.04 GB for SD1.5, 8 GB for SDXL, 10 GB+ for FLUX
ComfyUI

Node-based interface for diffusion models — images, video and audio.

137.6KGPL-3.04 GB minimum for SD1.5; 12 GB+ recommended for FLUX and video models
Stable Diffusion WebUI Forge

A faster, leaner fork of the A1111 WebUI with FLUX support.

13.1KAGPL-3.06 GB+ (FLUX NF4/GGUF variants run on 6–8 GB)
DiffusionBee

The simplest way to run Stable Diffusion on a Mac.

13.6KAGPL-3.0—
Stable Diffusion WebUI (AUTOMATIC1111)

The classic browser UI for Stable Diffusion with a massive extension ecosystem.

165.1KAGPL-3.04 GB minimum (with --medvram/--lowvram), 8 GB+ recommended

相关模型

常见问题

Fooocus 免费吗?

是的——Fooocus 是开源软件,采用 GPL-3.0 许可证。商用前请确认软件及模型权重的许可条款。

Fooocus 支持 Windows、Mac 和 Linux 吗?

Fooocus 支持:Windows, Linux, macOS。

运行 Fooocus 需要什么配置?

NVIDIA recommended; AMD and Apple Silicon supported (slower). VRAM: 4 GB minimum, 6 GB+ recommended. RAM: 8 GB minimum, 16 GB recommended

如何安装 Fooocus?

1. Download the .7z package from the README and extract it with 7-Zip. 2. Run run.bat. The first launch downloads the SDXL models automatically.

Fooocus 有哪些好的替代品?

常见替代品包括 InvokeAI, ComfyUI, Stable Diffusion WebUI Forge, DiffusionBee,详见本页对比表。

可以不安装、在线使用 Fooocus 吗?

如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。

不想安装?直接在浏览器里生成图片

无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。