remove_background
Removes solid or off-white backgrounds from images using corner flood fill. Converts to transparent RGBA PNG with adjustable tolerance and feathering.
Instructions
네 모서리 flood fill 로 단색/오프화이트 배경을 투명화(배경제거 모델 폴백).
Args: src: 입력 이미지 경로. dst: 출력 경로(RGBA PNG). tolerance: 배경으로 간주할 색 차이 임계값(0-255). feather: 경계 한 줄의 알파 감쇠(0=칼같이, 1=완전투명).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"src": "<src>",
"dst": "<dst>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | ||
| src | Yes | ||
| feather | No | ||
| tolerance | No |