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

replicatemodel /swinir_t4:6f3a0035

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

Image restoration task type
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 (enum)
40

Options:

10, 20, 30, 40

Scale factor, activated for JPEG Compression Artifact Reduction. Leave it as default or arbitrary if other tasks are selected
out_format
string (enum)
png

Options:

png, jpg

Output image format
out_jpg_quality
integer
95

Min: 40

Max: 100

If the output format is jpg, specify the quality (40...100%)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}