You're looking at a specific version of this model. Jump to the model overview.

jingyunliang/swinir:ca2de236

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

Options:

Real-World Image Super-Resolution, Grayscale Image Denoising, Color Image Denoising, JPEG Compression Artifact Reduction

image restoration task type
noise
integer (enum)

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 (enum)

Options:

10, 20, 30, 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',
                                   'type': 'string',
                                   'x-order': 0},
                          'text': {'type': 'string', 'x-order': 1}},
           'type': 'object'},
 'type': 'array',
 'x-cog-array-type': 'iterator'}