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 for face manipulation. Image will be aligned and cropped, output aligned and manipulated images.
|
|
target_class |
string
(enum)
|
Bangs
Options: 5_o_Clock_Shadow, Arched_Eyebrows, Attractive, Bags_Under_Eyes, Bald, Bangs, Big_Lips, Big_Nose, Black_Hair, Blond_Hair, Blurry, Brown_Hair, Bushy_Eyebrows, Chubby, Double_Chin, Eyeglasses, Goatee, Gray_Hair, Heavy_Makeup, High_Cheekbones, Male, Mouth_Slightly_Open, Mustache, Narrow_Eyes, Beard, Oval_Face, Pale_Skin, Pointy_Nose, Receding_Hairline, Rosy_Cheeks, Sideburns, Smiling, Straight_Hair, Wavy_Hair, Wearing_Earrings, Wearing_Hat, Wearing_Lipstick, Wearing_Necklace, Wearing_Necktie, Young |
Choose manipulation direction.
|
manipulation_amplitude |
number
|
0.3
Min: -0.5 Max: 0.5 |
When set too strong it would result in artifact as it could dominate the original image information.
|
T_step |
integer
(enum)
|
100
Options: 50, 100, 125, 200, 250, 500 |
Number of step for generation.
|
T_inv |
integer
(enum)
|
200
Options: 50, 100, 125, 200, 250, 500 |
An enumeration.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'properties': {'image': {'format': 'uri',
'title': 'Image',
'type': 'string'}},
'required': ['image'],
'title': 'ModelOutput',
'type': 'object'},
'title': 'Output',
'type': 'array'}