Generative fill, expand and object removal for PhotoCraft and GIMP 3, running on your graphics card. Local generation stays on your computer.

Remove objects, fill a selection from a prompt, and expand the canvas, right inside your editor.
Important
Beta. OpenFill for PhotoCraft is at 0.2.6 (that is OpenFill's version; it works with PhotoCraft 0.12 to 0.20) and the GIMP plug-in is at 2.0.0-beta.7, both now with support for AMD graphics cards. Both work end to end on Windows with an 8 GB NVIDIA laptop GPU, which is what I build and test on, and on Linux. A user has also tested all four operations on an RX 7800 XT; see the report. The GIMP plug-in also runs on macOS. PhotoCraft supports Apple Silicon and passed all four tools on an M3. OpenFill for PhotoCraft 0.2.4 fixes Mac typing and model-menu focus, and can reuse ComfyUI's Python; Mac setup and test results. Most of the rough edges are in what the models draw, not in the plug-in; Status lists them.
I moved to GIMP 3 as my Photoshop replacement after paying Adobe an outrageously expensive cancellation fee. GIMP turned out to be a great alternative, but Adobe's AI image editing tools had become part of my workflow and I wasn't ready to give them up, so I made OpenFill. It now runs in PhotoCraft too. It's meant to feel familiar and easy to use, especially if you're coming from Photoshop. The selection is the mask, the result is a layer you can paint on or delete, and the AI backend (ComfyUI) starts hidden, stays warm while you work, and shuts down when the editor closes. No terminal, no browser tab, no second app to babysit.
Here's what you get:
| Fill with a prompt | Select, type "a red door with brass handles", Enter. The fill lands on a new layer with a soft mask. |
| Remove background | PhotoCraft only: press Cutout. BiRefNet makes the background of the whole image transparent as a new layer. Needs the BiRefNet model (0.4 GB) from the Models tab. |
| Remove object | Select, press Remove. No prompt. It erases the selection at your image's own resolution. |
| Generative Expand | Drag the canvas edges outward or pick a ratio, and it paints the new border. The prompt is optional. |
| Create | A new image or a new layer from a prompt, sized to the selection if there is one. |
Results always go on new layers, in one undo step, so your existing layers are never painted over. In PhotoCraft it's a panel next to your image (and Filter > Plug-ins > OpenFill); in GIMP it's under Filters > OpenFill.
Generation runs in ComfyUI on your machine, listening on 127.0.0.1 only. The network comes into it only when you search for models or press Download (a model, or ComfyUI itself). Every file is checked against its size and SHA-256. No accounts, no telemetry, nothing that phones home. Details in docs/security.md.
If you'd rather not run it locally (no suitable graphics card, say), there's an optional cloud setting: OpenRouter or any OpenAI-compatible image service, with your own API key. It's off unless you pick it, and while it's on, every screen says your image is sent to that service. See docs/cloud.md.
Got a gaming PC and edit on a laptop? Remote GPU runs ComfyUI on the PC and OpenFill on the laptop, over Tailscale or SSH, with a pairing code. Your picture goes only to that PC. See docs/remote-gpu.md.
You need an NVIDIA graphics card or an AMD Radeon RX 7000 or newer (8 GB for the best models; Remove and SD 1.5 run on less) and Windows 10/11 or Linux. Apple Silicon Macs are also supported; see Mac setup. On Windows, OpenFill can download ComfyUI for you, including ComfyUI's version for AMD cards. AMD support is new, with one RX 7800 XT user report; see AMD graphics cards. Older Radeons and Intel Arc are set up the way ComfyUI documents but untested; see Graphics cards.
The model manager in the steps below is where you get models: in PhotoCraft it's the gear icon in the OpenFill panel, Models section (the Open model manager button on the first run goes there too); in GIMP it's Filters > OpenFill > Generative Fill..., Models tab.
PhotoCraft: OpenFill for PhotoCraft 0.2.6 · works with PhotoCraft 0.12 to 0.20
- Install PhotoCraft. You can reuse ComfyUI's Python, or install Python from python.org if you need it.
- Download
openfill-photocraft-0.2.6.zipfrom the Releases page, unzip it and run Install OpenFill for PhotoCraft.cmd (Linux and macOS:sh install.sh). - Open PhotoCraft with OpenFill. The first time, the panel offers Download ComfyUI on Windows (or Choose folder if you have it) and then Open model manager to get LaMa (0.2 GB) and DreamShaper 8 Inpainting (2 GB).
More in photocraft/README.md.
Patchy (prototype)
OpenFill also runs as a companion app of Patchy, from its Plugins > Companions menu, with the same panel. It needs Patchy 1.25 or newer. See patchy/README.md.
GIMP 3.2
- Download
openfill-2.0.0-beta.7.zipfrom the Releases page, unzip it, and runInstall OpenFill.cmd(or drag thegimp-openfillfolder into GIMP's plug-ins folder; macOS and Linux:sh install.sh). - Restart GIMP and run
Filters > OpenFill > Generative Fill.... If ComfyUI isn't found, Download ComfyUI sets it up (Windows), or I already have ComfyUI lets you pick one. - Get LaMa and DreamShaper 8 Inpainting when the model manager opens. The first request starts the backend in about a minute; after that it's seconds.
macOS, Linux, manual install and script options
See docs/install.md.
OpenFill doesn't ship a model. The model manager only recommends models that fit your graphics memory and disk, and also finds your own SD 1.5 inpainting, SDXL and FLUX.1 Fill files (.safetensors and .gguf) in ComfyUI's folders.
| Job | Default model | Graphics memory | Time (RTX 4070 Laptop) |
|---|---|---|---|
| Remove object | LaMa (RORem and a FLUX eraser to compare) | 2 GB | about 5 s |
| Fast fill | DreamShaper 8 Inpainting | 4 GB | about 9 s |
| Quality fill | RealVisXL V5 with the Fooocus inpaint patch | 8 GB | 20 to 45 s |
Each model has its own license. MAT and the FLUX.1 Fill models are non-commercial. Details in docs/models.md.
Where it still falls short:
- FLUX and Qwen fills, Expand and Create work at about 1024 px and are scaled up, so on big images they come back softer. Remove is not affected.
- SD 1.5 often ignores the prompt on flat areas and small selections. Pick an SDXL model.
- FLUX on 8 GB is slow.
Changes are in CHANGELOG.md, photocraft/CHANGELOG.md and patchy/CHANGELOG.md. Bug reports are welcome on Issues.
OpenFill started as a GIMP 3 port of Torben Giesselmann's GIMP plug-in. The backend is ComfyUI. Acly's comfyui-inpaint-nodes do the inpainting, and his krita-ai-diffusion was the reference for how to build the graphs and manage the server. OpenFill is not affiliated with PhotoCraft.
Open, as in open source and on your own machine. Fill, as in the thing everyone else rents you by the month.
Apache-2.0 © 2026 Beckett Harriman.