计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
rembg【效率与协作】Rembg - Remove Background | AI Background Removal. Remove backgrounds from images automatically. Triggers: rembg, remove background, background removal, bg remove, transparent background
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Remove backgrounds from images automatically using Rembg. Simply provide an image and receive a transparent background version.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "rembg",
"version": "0.0.1",
"input": {
"image": "https://example.com/product-photo.jpg"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| image | string | - | Input image to remove background from |
Remove background from product photo:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "rembg",
"version": "0.0.1",
"input": {
"image": "https://example.com/sneaker-on-table.jpg"
}
}'
Remove background from portrait:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "rembg",
"version": "0.0.1",
"input": {
"image": "https://example.com/headshot-outdoor.jpg"
}
}'