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

menghanxia /reversiblehalftoning:aa0216c7

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. Output will be the dithered input image (halftone) and the restored image from the generated halftone.
halftone_only
boolean
True
choose to only output the dithered input image (halftone), or both halftone and the restored image

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