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

tengfei-wang/hfgi:f9a6d26e

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 first
edit_attribute
string (enum)
smile

Options:

inversion, age, smile, eyes, lip, beard

choose image editing option
edit_degree
number
0.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'}