851-labs/background-remover 🖼️📝✓🔢 → 🖼️
About
Remove backgrounds from images.
Example Output
Output
Performance Metrics
0.65s
Prediction Time
0.67s
Total Time
All Input Parameters
{
"image": "https://replicate.delivery/pbxt/MAqakpYnuaS5IxU4WZAh5irkSn92wuYc5bdU1TNV5xzIJ8sM/gzp35qt55t4aatwznmccv2ssgds2.png",
"format": "png",
"reverse": false,
"threshold": 0,
"background_type": "rgba"
}
Input Parameters
- image (required)
- Input image
- format
- Output format (e.g., png, jpg). Defaults to png.
- reverse
- If True, remove the foreground instead of the background.
- threshold
- Threshold for hard segmentation (0.0-1.0). If 0.0, uses soft alpha.
- background_type
- Background type: 'rgba', 'map', 'green', 'white', [R,G,B] array, 'blur', 'overlay', or path to an image.
Output Schema
Output
Version Details
- Version ID
a029dff38972b5fda4ec5d75d7d1cd25aeff621d2cf4946a41055d7db66b80bc- Version Created
- December 19, 2024