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 file
|
|
object_type |
string
(enum)
|
hairs-like
Options: hairs-like, object |
Type of object to process
|
seg_mask_size |
integer
(enum)
|
640
Options: 320, 640 |
Size of segmentation mask (640 for Tracer B7, 320 for U2Net)
|
trimap_dilation |
integer
|
30
Min: 1 Max: 100 |
Size of the offset radius from object mask in pixels
|
trimap_erosion |
integer
|
5
Min: 1 Max: 20 |
Number of erosion iterations for object mask
|
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'}