f9e42d/nq3b09
Public
4K
runs
Run f9e42d/nq3b09 with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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
|
|
| output_type |
None
|
embedding
|
None
|
| box |
string
|
|
[x1,y1,x2,y2] or x1,y1,x2,y2
|
| blur_ksize_proportion |
number
|
0.03
|
None
|
| mask_threshold |
number
|
0
|
None
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"box": {
"type": "string",
"title": "Box",
"default": "",
"x-order": 2,
"description": "[x1,y1,x2,y2] or x1,y1,x2,y2"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"output_type": {
"enum": [
"embedding",
"mask"
],
"type": "string",
"title": "output_type",
"description": "An enumeration.",
"default": "embedding",
"x-order": 1
},
"mask_threshold": {
"type": "number",
"title": "Mask Threshold",
"default": 0,
"x-order": 4
},
"blur_ksize_proportion": {
"type": "number",
"title": "Blur Ksize Proportion",
"default": 0.03,
"minimum": 0,
"x-order": 3
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}