You're looking at a specific version of this model. Jump to the model overview.
jweek /mask_maker:2c3e7552
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 path or URL
|
|
mask_prompt |
string
|
Comma-separated names of the objects to be detected
|
|
threshold |
number
|
0.2
Max: 1 |
Confidence level for object detection
|
mask_output |
string
|
|
Single-line DSL defining composite masks; overrides the default identity. Format: '<name>:OP(term)[ OP(term)...][; <name2>:OP(term)...]'. Operators: NOT, AND, OR, XOR. Example: 'inverted_horse:NOT(horse) OR man; horse_and_dog:AND(horse) AND(dog)'
|
mask_format |
string
|
coco_rle
|
RLE encoding format for masks. 'coco_rle' (default) or 'custom_rle'
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'object'}