个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证免费、注重隐私的在线 AI 图像处理工具箱(包含一键抠图、去水印、老照片修复等)。无水印,免注册。| A free, privacy-first online AI image toolkit featuring one-click background removal, watermark remover, and old photo restoration. No signup required. 🔗 https://miaocut.app
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗MiaoCut is a free, no-signup online AI image toolkit. Its core feature is one-click background removal — upload any photo and an AI segmentation model (BiRefNet) erases the background in about a second and returns a transparent PNG. It also ships a small family of related tools: ID photo maker, watermark remover, old-photo restoration, and format converters.
🔗 Remove backgrounds online with MiaoCut's free background remover — no account, no credit card, no watermark.
Every tool is available in MiaoCut's free AI image toolkit:
| Tool | Link | What it does |
|---|---|---|
| AI Background Remover | Free AI Background Remover | One-click background removal. Two modes: Sharp (fast, hard edges) and Fur (fine hair / fur / soft edges). |
| Product Photo Background Remover | /product-photo-background-remover/ | Clean white-background and square-canvas product shots for e-commerce. |
| Portrait Background Remover | /portrait-background-remover/ | Headshots, profile pictures, and social media cutouts. |
| ID / Passport Photo Maker | /id-photo-maker/ | Auto cutout + background color swap + print layout for common ID photo specs. |
| Watermark Remover | /watermark-remover/ | Brush over a watermark and let AI inpaint it away (LaMa). |
| Old Photo Restoration | /old-photo-restoration/ | Repair fading, reduce noise, and enhance detail in old photos. |
| JPG → Transparent PNG | /jpg-to-transparent-png/ | Turn a JPG into a true transparent PNG with a real alpha channel. |
| PNG → JPG (white background) | /png-to-jpg-white-background/ | Flatten a transparent PNG onto white (or any color) and export as JPG. |
📚 Guides: step-by-step tutorials on how to remove a background in PowerPoint, GIMP, and more.
The background-removal pipeline picks one of two profiles per request:
sharp (default, ~1s) — BiRefNet produces the mask, followed by gentle gamma correction and 1px anti-aliasing. Best for people, products, and logos with hard edges.fur (~3–5s) — adds alpha matting (closed-form solve on the trimap's unknown band) plus foreground-color estimation to remove background-color contamination on semi-transparent pixels. Best for white cats, curly hair, feathers, and other soft edges.┌─────────────────────────────────┐ ┌────────────────────────────────────┐
│ Frontend (static) │ │ Backend (API) │
│ HTML + Tailwind CSS + vanilla │ ───▶ │ FastAPI + BiRefNet (rembg) │
│ JS, deployed on Cloudflare │ │ on Hugging Face Docker Spaces ×3 │
│ Pages │ │ (miao_cut / miao_cut2 / miao_cut3) │
└─────────────────────────────────┘ └────────────────────────────────────┘
index.html + compiled output.css) with EN/ZH/HI/ID/PT-BR/BN/FIL/UR i18n, client-side image compression, XHR upload with real progress. Served by Cloudflare Pages.Requirements: Python 3.11+ (backend), Node.js 18+ (frontend build only).
pip install -r requirements.txt
# Start the dev server. ⚠️ Use `python main.py`, NOT `uvicorn main:app`
# (the string form re-imports main.py and loads BiRefNet twice).
python main.py
# First run downloads the model weights to .u2net/. Serves on http://127.0.0.1:8000
Don't pass
--reload(onnxruntime's thread pool deadlocks after fork) or--workers 2+(rate-limit and concurrency budgets live in process memory).
npm install
npm run build # builds output.css + generates localized pages + sitemap
npm run watch:css # watch mode while editing HTML
After changing any class in an HTML file, re-run
npm run build:cssand commit the updatedoutput.css— production serves it as-is.
docker build -t miaocut-api .
docker run --rm -p 7860:7860 -e PORT=7860 -e MAX_CONCURRENCY=1 -v miaocut-data:/data miaocut-api
| Variable | Default | Description |
|---|---|---|
PORT | 8000 | Port to listen on |
TRUST_PROXY | 0 | Set 1 to read the real client IP from X-Forwarded-For |
ALLOWED_ORIGINS | empty (skips check) | Comma-separated allowed frontend origins |
MAX_CONCURRENCY | 1 | Max concurrent inferences (key knob against OOM) |
CUTOUT_PROFILE | sharp | Default cutout profile (sharp / fur) |
DATA_DIR | . | Directory for persisted feedback data |
ENABLE_DOCS | 1 | Set 0 to disable the /docs endpoint |
Issues and pull requests are welcome. If MiaoCut is useful to you, a ⭐ on GitHub and a link back to the free AI background remover are hugely appreciated — they help more people find a free, privacy-respecting background remover.
Released under the MIT License. You're free to use, modify, and self-host it. Attribution back to miaocut.app is appreciated but not required.
The free tools, the website front end, and the CPU background-removal backend (main.py) in this repository are MIT-licensed. The paid batch service behind miaocut.app (credits, subscriptions, the GPU pipeline, and its API gateway) is developed in a separate private repository and is not open source.