Photoshop’s Generative Fill is one of the most useful AI features in any image editor, but it needs an Adobe subscription and sends your images to the cloud. OpenFill brings the same idea to free, open-source editors. It adds Generative Fill, Remove Object, Generative Expand and Create to GIMP 3.2 and to the Rust editor PhotoCraft, and runs everything on your own GPU through a hidden ComfyUI backend. This guide covers what OpenFill can do, how to install it on Windows, Linux and macOS, which models to download and exactly where they go, which custom nodes it needs, and how to get the best results on 4 GB to 16 GB graphics cards.
- What it is: a free, Apache-2.0 generative fill plug-in by Beckett Harriman for GIMP 3.2 (2.0.0-beta.6) and PhotoCraft (0.2.4), released October 26, 2026.
- Tools: Fill (select and prompt), Remove Object (no prompt), Generative Expand (extend the canvas) and Create (new image or layer).
- Runs locally: ComfyUI starts and stops with the editor, listens only on 127.0.0.1, and your images never leave your PC.
- Start with two models: LaMa (0.2 GB, removal) and DreamShaper 8 Inpainting (2 GB, fill). Both work on 4 GB cards.
- Best quality: RealVisXL V5 with the Fooocus inpaint patch on 8 GB, or FLUX.1 Fill and Qwen-Image-Edit-2511 on 12 to 16 GB.
- GPUs: NVIDIA, AMD Radeon RX 7000 or newer, and Apple Silicon (tested on an M3).
What Is OpenFill?
OpenFill is a plug-in that puts an AI panel inside your image editor. You select an area, type what you want, and the result appears on a new layer. Under the hood it builds a ComfyUI workflow, sends it to a local ComfyUI server, and brings the image back. You never see ComfyUI. It starts when the editor opens, stays running while you work, and stops when you close the editor.
It is a GIMP 3 port of Torben Giesselmann’s older gimp-stable-boy plug-in, and its inpainting graphs are built on Acly’s comfyui-inpaint-nodes, the same work behind the popular Krita AI Diffusion plug-in. Both builds shipped on October 26, 2026 and are still marked beta.
Privacy is a big part of the appeal. The ComfyUI backend only listens on 127.0.0.1, so nothing outside your PC can reach it. The only network traffic is model search and the downloads you ask for, and every download is checked by size and SHA-256.
The Four Tools
| Tool | What it does | Prompt needed? |
|---|---|---|
| Fill | Select a region, type a prompt, press Enter. Keep or discard up to five variations. | Yes |
| Remove object | Removes what you select and continues the background at the image’s own resolution. | No |
| Generative Expand | Drag the canvas edges or pick a ratio, and it paints the new area. | Optional |
| Create | Makes a new image or layer from a prompt, sized to your selection if there is one. | Yes |
Every result lands on a new layer in one history step, so your original pixels are never painted over. Undo works as normal. In GIMP the tools are under Filters > OpenFill. In PhotoCraft they are in a panel next to the canvas and under Filter > Plug-ins > OpenFill.
What You Need
- Editor: GIMP 3.2 or newer (Windows, Linux or macOS), or PhotoCraft 0.12 to 0.16.
- Graphics card: 8 GB or more for the SDXL and FLUX models, from NVIDIA or AMD Radeon RX 7000 or newer. LaMa and the SD 1.5 models run on less. Apple Silicon works. Without a usable GPU it runs on the CPU, which takes minutes per fill.
- ComfyUI: on Windows, OpenFill can download it for you (about 2 GB, 7 GB unpacked). On Linux and macOS you set it up once, or point OpenFill at the one you have.
- Disk space for models: from 0.2 GB (LaMa) to about 13 GB (FLUX.1 Fill Q6).
- PhotoCraft only: Python 3.10 or newer with Pillow. ComfyUI’s own Python works.
Install OpenFill for GIMP 3.2
Windows
- Install GIMP 3.2, open it once, then close it so your profile folder exists.
- Download
openfill-2.0.0-beta.6.zipfrom the OpenFill releases page, unzip it, and double-clickInstall OpenFill.cmd. Or drag thegimp-openfillfolder into%APPDATA%\GIMP\3.2\plug-ins. - Restart GIMP and open
Filters > OpenFill > Generative Fill... - If ComfyUI is not found, click Download ComfyUI. It checks your GPU, disk space and port 8188, downloads the official portable build into
%LOCALAPPDATA%\OpenFill\ComfyUI, verifies its SHA-256, and adds the inpaint nodes and OpenCV. Git is not needed. If you already have ComfyUI, click I already have ComfyUI instead. - In the model manager (the Models tab), download LaMa (0.2 GB) and DreamShaper 8 Inpainting (2 GB).
The first request takes about a minute while the backend starts. After that it is much faster. Keep ComfyUI near the drive root, such as C:\AI\ComfyUI. Deep folder paths can cause missing-file errors at startup on Windows.
Linux (including the GIMP Flatpak)
Start GIMP once so the profile exists, set up ComfyUI if you do not have it (see the macOS steps below for the commands), then from the unzipped OpenFill folder run:
sh install.sh --comfy-dir ~/ComfyUI
The script finds your GIMP 3 profile, including the Flatpak one at ~/.config/GIMP/3.2. It was tested on Fedora with the GIMP 3.2.6 Flatpak, where ComfyUI starts from inside the sandbox and stops when GIMP closes.
macOS (Apple Silicon)
The Download ComfyUI button is Windows-only, so set up ComfyUI once in Terminal. The macOS system Python is too old, so install Python 3.13 from python.org or with brew install python@3.13:
git clone https://github.com/comfyanonymous/ComfyUI.git ~/ComfyUI
cd ~/ComfyUI
python3.13 -m venv venv
venv/bin/pip install torch torchvision torchaudio
venv/bin/pip install -r requirements.txt opencv-python-headless
Then run sh install.sh in the unzipped OpenFill folder (it finds ~/ComfyUI on its own), restart GIMP, and open Filters > OpenFill > Generative Fill.... On an M3 MacBook Air, a 512 px fill with DreamShaper 8 took 50 to 90 seconds once warm, and Remove with LaMa took about 5 seconds.
Install OpenFill for PhotoCraft
PhotoCraft is a newer open-source image editor written in Rust. OpenFill is not affiliated with it.
- Install PhotoCraft (the
.msion Windows, or the DMG on macOS). - Unzip
openfill-photocraft-0.2.4.zip. On Windows, double-click Install OpenFill for PhotoCraft.cmd. On Linux and macOS, runsh install.sh. - Open PhotoCraft with OpenFill from the Start menu, desktop or Applications.
- When the panel asks, press Download ComfyUI (Windows) or Choose folder and pick the folder that has
main.pyin it (or your portable folder). - Press Open model manager and get LaMa and DreamShaper 8 Inpainting.
If you do not want a second Python install, point OpenFill at ComfyUI’s Python before running the installer. On macOS or Linux, for example:
OPENFILL_PYTHON="$HOME/ComfyUI/.venv/bin/python" sh install.sh
On Windows portable ComfyUI, set OPENFILL_PYTHON to C:\ComfyUI_windows_portable\python_embeded\python.exe in Command Prompt, then run the installer from the same window.
Use Your Existing ComfyUI
If you already use ComfyUI, you can share its models instead of downloading them twice:
- Find the folder you start ComfyUI from. A portable install has both
python_embededandComfyUI. A manual install hasmain.pyand avenvor.venvfolder. - In GIMP choose I already have ComfyUI (or change it later in Generative Fill Settings). In PhotoCraft use Choose folder, or later the gear icon, Engine, Browse.
- Open Models. OpenFill lists the supported files it finds: SD 1.5 inpainting, SDXL and FLUX.1 Fill checkpoints in
.safetensorsor.gguf.
Three warnings from the docs:
- Do not point it at Krita AI Diffusion’s managed server. OpenFill may install nodes or packages that affect Krita. Use a separate ComfyUI.
- ComfyUI Desktop (the older Electron layout) is not supported by Choose folder. Use a portable or manual ComfyUI.
- Models stored only through
extra_model_paths.yamlare not all detected yet.
Which Models to Download (and Where They Go)
OpenFill ships no models. Its model manager recommends weights that fit your GPU and disk and downloads them into the right ComfyUI folders. If you prefer to download by hand, or want to know what is on your disk, these are the exact files and folders from OpenFill’s model catalogue:
| Model | Job | Min VRAM | File and folder |
|---|---|---|---|
| LaMa (big-lama) | Remove object | 2 GB | ComfyUI/models/inpaint/big-lama.pt (0.2 GB) |
| MAT Places512 | Remove (compare) | 2 GB | ComfyUI/models/inpaint/MAT_Places512_G_fp16.safetensors |
| DreamShaper 8 Inpainting | Fast fill, expand, create | 4 GB | ComfyUI/models/checkpoints/DreamShaper_8_INPAINTING.inpainting.safetensors (2.1 GB) |
| Realistic Vision V6 Inpainting | Fast photo fill | 4 GB | ComfyUI/models/checkpoints/Realistic_Vision_V6.0_NV_B1_inpainting_fp16.safetensors |
| RealVisXL V5 + Fooocus patch | Quality fill | 8 GB | ComfyUI/models/checkpoints/RealVisXL_V5.0_fp16.safetensors, plus ComfyUI/models/inpaint/fooocus_inpaint_head.pth and ComfyUI/models/inpaint/inpaint_v26.fooocus.patch (1.3 GB) |
| Juggernaut XL v9 + Fooocus patch | Quality fill | 8 GB | ComfyUI/models/checkpoints/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors |
| RORem | Remove (SDXL) | 8 GB | ComfyUI/models/unet/RORem-unet.safetensors, ComfyUI/models/clip/RORem-clip-g.safetensors |
| FLUX.1 Fill dev GGUF Q4_0 | Fill, expand | 8 GB | ComfyUI/models/unet/flux1-fill-dev-Q4_0.gguf (6.8 GB), ComfyUI/models/clip/t5-v1_1-xxl-encoder-Q5_K_M.gguf, ComfyUI/models/clip/clip_l.safetensors, ComfyUI/models/vae/ae.safetensors |
| FLUX.1 Fill dev GGUF Q6_K | Fill, expand | 12 GB | ComfyUI/models/unet/flux1-fill-dev-Q6_K.gguf (9.9 GB) plus the same encoders and VAE |
| Qwen-Image-Edit-2511 GGUF Q4_K_M | Fill, expand, edit | 12 GB | ComfyUI/models/unet/qwen-image-edit-2511-Q4_K_M.gguf (13.2 GB), ComfyUI/models/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors, ComfyUI/models/vae/qwen_image_vae.safetensors |
The SD models also use tiny preview decoders in ComfyUI/models/vae_approx/ (taesd_decoder.pth, taesdxl_decoder.pth, taef1_decoder.pth). The model manager adds these for you. If you use the Windows automatic install, ComfyUI/ means %LOCALAPPDATA%\OpenFill\ComfyUI\ComfyUI inside the portable build.
The default speeds on the author’s 8 GB RTX 4070 Laptop GPU:
| Job | Default model | VRAM | Time |
|---|---|---|---|
| Remove object | LaMa | 2 GB | about 5 s |
| Fast fill | DreamShaper 8 Inpainting | 4 GB | about 9 s |
| Quality fill | RealVisXL V5 + Fooocus inpaint patch | 8 GB | 20 to 45 s |
Custom Nodes OpenFill Needs
The model manager installs the right custom nodes at pinned versions when a model needs them, so most people never touch this. For reference, and for manual installs:
| Node pack | Needed for | Install folder |
|---|---|---|
| comfyui-inpaint-nodes (Acly) | LaMa, MAT, Fooocus inpaint patch (SDXL models) | ComfyUI/custom_nodes/comfyui-inpaint-nodes/ |
| ComfyUI-GGUF (city96) | FLUX.1 Fill and Qwen-Image-Edit GGUF files | ComfyUI/custom_nodes/ComfyUI-GGUF/ |
| openfill-nodes | OpenFill’s own helpers (bundled) | ComfyUI/custom_nodes/openfill-nodes/ |
To install the two public packs by hand (on a portable build, use python_embeded/python.exe -m pip instead of pip):
cd ComfyUI/custom_nodes
git clone https://github.com/Acly/comfyui-inpaint-nodes.git
git clone https://github.com/city96/ComfyUI-GGUF.git
pip install -r ComfyUI-GGUF/requirements.txt
pip install opencv-python-headless
OpenCV matters: without it, Generative Expand paints the new border from a flat colour. OpenFill installs it in the background the first time a fill needs it, and tells you.
Best Setup for Your GPU
- 4 to 6 GB (GTX 1660, RTX 3050, older laptops): LaMa for removal and DreamShaper 8 Inpainting or Realistic Vision V6 Inpainting for fills. These are SD 1.5 models, so keep selections small to medium.
- 8 GB (RTX 3060 Ti, 4060, 4070 Laptop): add RealVisXL V5 with the Fooocus patch for much better photo fills. FLUX.1 Fill Q4 works but is slow at this size.
- 12 GB (RTX 3060 12 GB, 4070): FLUX.1 Fill Q6 or Qwen-Image-Edit-2511 Q4 for the most prompt-accurate fills and expands.
- 16 GB (RTX 4080, 5080): everything above runs comfortably, including the full FLUX.1 Fill safetensors loaded as fp8.
- AMD: RX 7000 or newer. On Windows the Download ComfyUI button fetches ComfyUI’s AMD build automatically. Support is new, with one RX 7800 XT report so far.
- Mac: M-series with 16 GB works, but larger fills are slow. Fill big areas in a few smaller pieces.
Tips for Better Results
- Use Remove, not Fill, to delete things. LaMa needs no prompt and works at the image’s full resolution, so it stays sharp.
- Use SDXL or FLUX for small or flat areas. SD 1.5 models often ignore the prompt on flat areas and small selections.
- Select a little extra. Including some surrounding pixels helps the model blend lighting and texture.
- Generate several variations. Keep the best of up to five.
- Expand in steps. Expanding by a moderate amount, then again, looks more natural than one huge expand.
- Watch resolution. FLUX, Qwen, Expand and Create work at about 1024 px and are scaled up afterwards, so big images can come back softer in the filled area. The author says higher-resolution support is in progress.
OpenFill vs Photoshop Generative Fill
| OpenFill (GIMP / PhotoCraft) | Photoshop Generative Fill | |
|---|---|---|
| Price | Free and open source | Adobe subscription with generative credits |
| Where it runs | Your own GPU, offline | Adobe’s cloud |
| Privacy | Images stay on your PC | Images are uploaded |
| Models | Your choice: LaMa, SD 1.5, SDXL, FLUX, Qwen | Adobe Firefly |
| Content limits | Set by the model you choose | Adobe’s content policy |
| Ease of setup | Installer plus model downloads | Built in |
| Maturity | Beta | Mature |
Photoshop is still smoother and more polished, especially at high resolution. OpenFill wins on cost, privacy and choice, and for object removal LaMa is already excellent.
Limitations and Licences
- Beta software. Expect rough edges. The author says most of them are in the model output rather than the plug-in.
- Soft results on large images with FLUX, Qwen, Expand and Create, which work at about 1024 px. One Reddit user saw a blurred patch after removing a car using the RealVisXL demo at that size.
- FLUX is slow on 8 GB cards.
- Licences: OpenFill itself is Apache-2.0. Each model keeps its own licence. FLUX.1 Fill and MAT are non-commercial, so do not use them for paid work. LaMa, Qwen-Image-Edit-2511 and RORem are Apache-2.0. The SD 1.5 and SDXL models use CreativeML OpenRAIL licences.
FAQ
Is OpenFill free?
Yes. OpenFill is Apache-2.0 and all its models are free downloads. It runs on your own hardware, so there are no credits or subscriptions.
Does OpenFill work offline?
Yes, once the models are downloaded. ComfyUI runs locally on 127.0.0.1 and only goes online when you search for or download a model.
Which GIMP version do I need?
GIMP 3.2 or newer. The plug-in uses GIMP 3’s Python and needs no extra packages. It does not support GIMP 2.10.
Where does OpenFill put the models?
In your ComfyUI’s model folders, for example ComfyUI/models/inpaint/big-lama.pt for LaMa and ComfyUI/models/checkpoints/ for DreamShaper and RealVisXL. The full list is in the table above.
Can I use it with an AMD GPU?
Yes, Radeon RX 7000 or newer. The Windows installer fetches ComfyUI’s AMD build automatically.
Which model is best for removing objects?
LaMa. It is tiny (0.2 GB), needs no prompt, runs in about 5 seconds and keeps the image at full resolution.
Final Thoughts
OpenFill finally gives GIMP users a real Generative Fill, and it does it the right way: local, private and free. The two starter models cover most everyday edits on almost any GPU, and you can step up to RealVisXL, FLUX or Qwen when your card allows. It is still beta and soft at very high resolutions, but for removing objects, fixing backgrounds and extending photos, it is already worth installing today.
More guides:
- ComfyUI-RMBG 3.3: Canvas Studio and Video Background Removal
- Best Open Source Text-to-Image Models in 2026
- How Much VRAM Do You Need for ComfyUI?
Sources
- GitHub: beckettharriman/openfill (README, docs/install.md and models/catalog.json, read October 31, 2026)
- ComfyUI Wiki: OpenFill Brings ComfyUI Generative Fill to PhotoCraft and GIMP
- GitHub: Acly/comfyui-inpaint-nodes
- GitHub: PhotoCraft