If you want to wipe a photobomber, a lamp post or a blemish out of a picture on a Windows PC, you already have two free AI options that work on your own machine. Microsoft's Photos app has a built-in Generative erase tool, and IOPaint is a free, open-source app that runs AI inpainting models locally. This comparison is based on Microsoft's and IOPaint's own documentation.
At a glance
IOPaint | Windows Photos Generative erase | |
|---|---|---|
What it is | Open-source inpainting app you run as a local server and use in your browser | Erase tool built into the Microsoft Photos app |
Cost | Free (Apache-2.0) | Free with Windows |
Where it runs | On your PC: CPU, GPU or Apple Silicon | On your PC; Microsoft says your data never leaves your device |
Operating systems | Windows, macOS and Linux (via Python) | Windows 11, plus Windows 10 and Arm64 PCs |
Setup | 1-click Windows package or pip install | Already installed; keep Photos updated |
AI models | Choice of erase models (LaMa, MAT, MIGAN and others) plus Stable Diffusion models | No model choice offered |
Selection | Brush, plus optional Segment Anything click-to-select plugin | Brush with adjustable size and masks |
Replace or extend images | Yes, with diffusion models (replace objects, outpainting) | No, erase only |
Batch processing | Yes, from the command line | No |
How Windows Photos Generative erase works
Microsoft began rolling out Generative erase to Windows Insiders in February 2024 as an AI upgrade of the Photos app's old Spot fix tool, saying it creates a more seamless and realistic result, even when erasing large areas. In the same announcement, Microsoft said Generative erase and its other AI edits were also coming to Windows 10 and to Arm64 devices.
To use it, open a photo in Photos, select Edit image (Ctrl+E), choose Erase and drag the brush over the area you want to remove, adjusting the brush size to suit. With Auto apply on, the area is erased as soon as you finish brushing. Turn Auto apply off and you can use Add mask and Remove mask to build up several areas before selecting Erase, or Clear to start again.
Microsoft's support page says the process is done locally on your device, so your data never leaves it, and warns that the AI infill may not be perfect or what you expect. Its support page doesn't list any special hardware for the feature. We cover the rest of the app's AI tools in our guide to the AI features in the Photos app.




