Inpaint Anything
Click an object to remove, fill or replace it using SAM + inpainting.
- Star 数
- 7.7K
- Fork 数
- 664
- 未关闭 Issue
- 114
- 最近提交
- 2026-08-22
数据来自 GitHub API · 更新于 2026-11-30
Inpaint Anything 是什么?
Inpaint Anything combines Segment Anything for click-based masks with LaMa and Stable Diffusion inpainting, so you can remove objects, fill them with prompted content or replace backgrounds in images, video and 3D scenes.
主要功能
- Click-to-segment masks via SAM
- Remove, fill or replace anything
- Video and 3D scene support
- Gradio demo
系统要求
- 平台
- Linux · Windows
- 显卡
- NVIDIA recommended
- Python
- 3.8+
如何安装 Inpaint Anything
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
From source
- 1Clone, install dependencies and download the SAM and LaMa checkpoints listed in the README.
git clone https://github.com/geekyutao/Inpaint-Anything.git cd Inpaint-Anything python -m pip install -e segment_anything python -m pip install -r lama/requirements.txt
优势
- Intuitive click-based workflow
不足
- Research-grade setup
Inpaint Anything 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| Inpaint Anything Click an object to remove, fill or replace it using SAM + inpainting. | 7.7K | Apache-2.0 | — | |
| IOPaint Erase objects, watermarks and people with AI inpainting (formerly Lama Cleaner). | 23.3K | Apache-2.0 | — | |
| LaMa Resolution-robust large-mask inpainting with Fourier convolutions. | 10.4K | Apache-2.0 | — | |
| Segment Anything (SAM) Meta’s promptable segmentation model — click to cut out any object. | 55.2K | Apache-2.0 | — | |
| Upscayl Free desktop app that upscales images with AI. | 53.4K | AGPL-3.0 | — | |
| Real-ESRGAN Practical image and video super-resolution models. | 37.8K | BSD-3-Clause | — |
常见问题
Inpaint Anything 免费吗?
是的——Inpaint Anything 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
Inpaint Anything 支持 Windows、Mac 和 Linux 吗?
Inpaint Anything 支持:Linux, Windows。
运行 Inpaint Anything 需要什么配置?
NVIDIA recommended
如何安装 Inpaint Anything?
1. Clone, install dependencies and download the SAM and LaMa checkpoints listed in the README.
Inpaint Anything 有哪些好的替代品?
常见替代品包括 IOPaint, LaMa, Segment Anything (SAM), Upscayl,详见本页对比表。
可以不安装、在线使用 Inpaint Anything 吗?
如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。
不想安装?直接在浏览器里生成图片
无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。