vetkastar
/
blob
- Public
- 22K runs
Run vetkastar/blob 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_path |
string
|
Изображение
|
|
apply_resize |
boolean
|
True
|
Применять изменение размера?
|
size |
integer
|
512
|
Новый размер изображения
|
apply_mask |
boolean
|
False
|
Применять маску?
|
blur_radius |
number
|
0
|
Радиус размытия для маски
|
apply_background |
boolean
|
False
|
Применять цвет фона?
|
background_color |
string
|
#FFFFFF
|
Цвет фона в формате HEX.
|
{
"type": "object",
"title": "Input",
"required": [
"image_path"
],
"properties": {
"size": {
"type": "integer",
"title": "Size",
"default": 512,
"x-order": 2,
"description": "\u041d\u043e\u0432\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"
},
"apply_mask": {
"type": "boolean",
"title": "Apply Mask",
"default": false,
"x-order": 3,
"description": "\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0430\u0441\u043a\u0443?"
},
"image_path": {
"type": "string",
"title": "Image Path",
"format": "uri",
"x-order": 0,
"description": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"
},
"blur_radius": {
"type": "number",
"title": "Blur Radius",
"default": 0,
"x-order": 4,
"description": "\u0420\u0430\u0434\u0438\u0443\u0441 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u044f \u0434\u043b\u044f \u043c\u0430\u0441\u043a\u0438"
},
"apply_resize": {
"type": "boolean",
"title": "Apply Resize",
"default": true,
"x-order": 1,
"description": "\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430?"
},
"apply_background": {
"type": "boolean",
"title": "Apply Background",
"default": false,
"x-order": 5,
"description": "\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0446\u0432\u0435\u0442 \u0444\u043e\u043d\u0430?"
},
"background_color": {
"type": "string",
"title": "Background Color",
"default": "#FFFFFF",
"x-order": 6,
"description": "\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 HEX."
}
}
}
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"
}