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

jweek /mask_maker:afb65959

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 default one-per-term). Infix operators (left-to-right): `&` → AND, `|` or `+` → OR, `A - B` → A AND NOT(B), `-term` → NOT(term), `XOR`. Example: 'rider: man + horse; dog: 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'}