You're looking at a specific version of this model. Jump to the model overview.
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 |
string
(enum)
|
Face Restoration
Options: Face Restoration, Face Colorization, Face Inpainting |
Choose a task.
|
output_individual |
boolean
|
False
|
whether outputs individual enhanced faces.
|
broken_image |
boolean
|
True
|
whether the input image is broken, valid for Face Inpainting. When set to True, the output will be the 'fixed' image. When set to False, the image will randomly add brush strokes to simulate a broken image and the output will be broken + fixed image
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}