BinerAI · Models · Docs · Pricing

851-labs / background-remover

Remove backgrounds from images.

Run 851-labs/background-remover with the API

curl -s https://binerai.biner.dev/v1/predictions \
  -H "Authorization: Bearer $BINERAI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"851-labs/background-remover","input":{"image":"https://example.com/input.png"}}'

Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.

Input

FieldTypeDescription
imagestringInput image
formatstring, default "png"Output format (e.g., png, jpg). Defaults to png.
reverseboolean, default falseIf True, remove the foreground instead of the background.
thresholdnumber, default 0Threshold for hard segmentation (0.0-1.0). If 0.0, uses soft alpha.
background_typestring, default "rgba"Background type: 'rgba', 'map', 'green', 'white', [R,G,B] array, 'blur', 'overlay', or path to an image.

Examples

Example runs from Replicate.

Description via replicate.