hackkhai
/
photo-expander
- Public
- 5 runs
Run hackkhai/photo-expander 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.
|
|
extend_left |
integer
|
0
|
Number of pixels to extend the image to the left.
|
extend_right |
integer
|
0
|
Number of pixels to extend the image to the right.
|
extend_top |
integer
|
0
|
Number of pixels to extend the image to the top.
|
extend_bottom |
integer
|
0
|
Number of pixels to extend the image to the bottom.
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image."
},
"extend_top": {
"type": "integer",
"title": "Extend Top",
"default": 0,
"x-order": 3,
"description": "Number of pixels to extend the image to the top."
},
"extend_left": {
"type": "integer",
"title": "Extend Left",
"default": 0,
"x-order": 1,
"description": "Number of pixels to extend the image to the left."
},
"extend_right": {
"type": "integer",
"title": "Extend Right",
"default": 0,
"x-order": 2,
"description": "Number of pixels to extend the image to the right."
},
"extend_bottom": {
"type": "integer",
"title": "Extend Bottom",
"default": 0,
"x-order": 4,
"description": "Number of pixels to extend the image to the bottom."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}