PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 图片

图片背景移除.

在浏览器中移除图片背景:自动去除纯色背景,支持框选,并使用本地 AI 识别人物和物体。优化边缘后,下载透明 PNG 或添加新背景。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Background remover · processed on your deviceNo upload
Examples

JPG, PNG, WebP, BMP, GIF (first frame) or AVIF · up to 30 MiB and 60 megapixels · exported up to 16 megapixels. Images are processed in this browser and never uploaded.

根据照片选择合适的方法

方法适用场景
Solid colour(纯色)标志、白色或纯色背景上的商品、截图
Box select(框选)背景杂乱的物体:先画框,再用 Keep(保留)或 Erase(擦除)笔刷修正
People(人像)人像照和自拍(正面人物)
Click object(物体)点击一个或多个物体进行抠图

人像模型(约 28 MB)和物体模型(约 18 MB)首次使用时会从本站下载一次;纯色和框选方法无需下载。

优化边缘并导出

  • 使用边缘工具去除零星斑点、收缩或扩展蒙版并柔化边缘。头发、毛发、玻璃和烟雾通常需要手动补几笔。
  • 下载透明背景的 PNG 或 WebP,或换上新背景的 JPG:纯色、照片的模糊副本或您自己的图片。
  • 可按主体加边距裁剪,适合商品图。撤销功能保留最近 25 步操作。
  • 输入图片最大 30 MiB、6000 万像素;更大的结果会缩小到 1600 万像素。照片始终不会离开您的设备。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

JPG, PNG, WebP, BMP, GIF (first frame) or AVIF; up to 30 MiB and 60 megapixels; output up to 16 megapixels (larger images are reduced). Masks are computed on a preview of up to 1,024 px and refined to full resolution with a guided filter, so fine hair, fur, glass, smoke and subjects coloured like their background need manual correction. The people model targets front-facing people; distant or very small subjects are approximate. The AI models download about 28 MB (people) or 18 MB (objects) once from this site; Solid colour and Box select need no model.

Four methods. Solid colour removes the edge colour or clicked colours by CIELAB distance, either connected to the borders and clicks or everywhere, with colour-fringe removal on semi-transparent edges. Box select runs GrabCut (Gaussian colour models and a Boykov–Kolmogorov minimum cut) in a local worker and recalculates with your Keep and Erase strokes. People uses the MediaPipe Selfie Multiclass model and Click object uses MediaPipe MagicTouch, both Apache 2.0, running with WebAssembly in the browser; several clicks select several objects. Edge tools: guided-filter refinement, speck removal, shrink or grow and softening. Export PNG or WebP with transparency, or JPG; crop to the subject with a margin; replace the background with a colour, a blurred copy of the photo or your own image; copy a PNG to the clipboard. Undo keeps the last 25 changes. Images are never uploaded.

Load the mug example: Box select separates the mug from the patterned background. Paint Erase over any leftover, choose a white background, crop to the subject and download a JPG for a product listing.

常见问题

抠图真的免费且保护隐私吗?

是的。四种方法都在浏览器中运行;AI 模型是由本站提供的开源文件(Apache 2.0),您的照片绝不会上传。

为什么头发边缘不够完美?

蒙版先在最大 1,024 像素的预览图上计算,再按原尺寸细化。细发或与背景颜色相近的主体可能需要用 Keep 和 Erase 笔刷修正。

如何给商品换成白色背景?

先去除背景,选择白色背景,围绕商品裁剪,然后下载 JPG。