You're looking at a specific version of this model. Jump to the model overview.
jingyunliang /swinir:e84006b8
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
|
|
task_type |
string
(enum)
|
Real-World Image Super-Resolution-Large
Options: Real-World Image Super-Resolution-Large, Real-World Image Super-Resolution-Medium, Grayscale Image Denoising, Color Image Denoising, JPEG Compression Artifact Reduction |
Choose a task
|
noise |
integer
(enum)
|
15
Options: 15, 25, 50 |
noise level, activated for Grayscale Image Denoising and Color Image Denoising. Leave it as default or arbitrary if other tasks are selected
|
jpeg |
integer
|
40
|
scale factor, activated for JPEG Compression Artifact Reduction. Leave it as default or arbitrary if other tasks are selected
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'properties': {'file': {'format': 'uri',
'title': 'File',
'type': 'string'},
'text': {'title': 'Text', 'type': 'string'}},
'title': 'BackwardsCompatibleOutput',
'type': 'object'},
'title': 'Output',
'type': 'array',
'x-cog-array-type': 'iterator'}