You're looking at a specific version of this model. Jump to the model overview.
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
|
|
object_type |
string
(enum)
|
hairs-like
Options: hairs-like, object |
Type of object in image
|
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'}