zf-kbot/md-me-image-deblur
Public
3.1K
runs
Run zf-kbot/md-me-image-deblur 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 |
|---|---|---|---|
| apikey |
string
|
访问密钥
|
|
| input_image |
string
|
A single static image to enhance.
|
|
| upscale |
integer
|
4
Min: 1 Max: 4 |
Integer upscale factor applied to both image dimensions.
|
| seed |
integer
|
0
|
Random seed. Set 0 for a new random seed on every prediction.
|
| output_resolution |
None
|
upscale
|
Approximate output long edge. Target modes use up to two native VOSR passes.
|
| file_format |
None
|
jpg
|
Output format. Transparent inputs always return PNG to preserve alpha.
|
{
"type": "object",
"title": "Input",
"required": [
"apikey",
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"minimum": 0,
"x-order": 3,
"description": "Random seed. Set 0 for a new random seed on every prediction."
},
"apikey": {
"type": "string",
"title": "Apikey",
"format": "password",
"x-order": 0,
"writeOnly": true,
"description": "\u8bbf\u95ee\u5bc6\u94a5",
"x-cog-secret": true
},
"upscale": {
"type": "integer",
"title": "Upscale",
"default": 4,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Integer upscale factor applied to both image dimensions."
},
"file_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "file_format",
"description": "Output format. Transparent inputs always return PNG to preserve alpha.",
"default": "jpg",
"x-order": 5
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "A single static image to enhance."
},
"output_resolution": {
"enum": [
"upscale",
"2K",
"4K",
"8K",
"16K"
],
"type": "string",
"title": "output_resolution",
"description": "Approximate output long edge. Target modes use up to two native VOSR passes.",
"default": "upscale",
"x-order": 4
}
}
}
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"
}