mlscade / image-slicing
image-slicing
- Public
- 1 run
Run mlscade/image-slicing 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 or zip archive with images
|
|
return_zip |
boolean
|
False
|
Return the result as a zip archive
|
output_format |
string
(enum)
|
png
Options: png, jpeg, webp |
Output image format: png, jpeg, webp
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image or zip archive with images"
},
"return_zip": {
"type": "boolean",
"title": "Return Zip",
"default": false,
"x-order": 1,
"description": "Return the result as a zip archive"
},
"output_format": {
"enum": [
"png",
"jpeg",
"webp"
],
"type": "string",
"title": "output_format",
"description": "Output image format: png, jpeg, webp",
"default": "png",
"x-order": 2
}
}
}
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"
}