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

topazlabs /dust-and-scratch-v2:f9848c7f

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
Image with dust, scratches, or surface imperfections to restore
grain
boolean
False
Apply film grain effect to the output
grain_model
None
silver rich
Type of grain to apply: silver rich (classic film look), gaussian (uniform noise), or grey (monochromatic grain)
grain_strength
integer
30

Max: 60

Intensity of the grain effect from 0 to 60
grain_density
integer
30

Max: 60

Density of the grain particles from 0 to 60
grain_size
integer
1

Min: 1

Max: 5

Size of the grain particles from 1 to 5
output_format
None
jpg
Output format

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'}