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

tengfei-wang/hfgi:1e8ae7ea

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 facial image, which will be aligned and cropped to 256*256 before further processing
edit_attribute
string (enum)
smile

Options:

inversion, age, smile, eyes, lip, beard

choose image editing option
edit_degree
number
0.0

Min: -5.0

Max: 5.0

control the degree of editing (valid for 'age' and 'smile').

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