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

microsoft /bringing-old-photos-back-to-life:7c0dc620

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
HR
boolean
False
whether the input image is high-resolution
with_scratch
boolean
False
whether the input image is scratched

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