You're looking at a specific version of this model. Jump to the model overview.

vetkastar /rem-bg:146ece23

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image to remove background from
model_type
string (enum)
tracer_b7

Options:

high_level, u2net, basnet, deeplabv3, tracer_b7

Model to use for segmentation
seg_mask_size
integer
1024

Min: 320

Max: 2048

Segmentation mask size (higher = better quality but slower)
matting_mask_size
integer
2048

Min: 1024

Max: 4096

Matting mask size (higher = better quality but slower)
trimap_dilation
integer
30

Min: 5

Max: 50

Trimap dilation radius
trimap_erosion
integer
5

Min: 1

Max: 10

Trimap erosion iterations

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}