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

cabbagehao /livefaceswap-reference-prep:3239de51

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
Authorized portrait reference image (JPG, PNG, or WebP).
size
None
1024
Square PNG output size in pixels.
focus_x
number
0.5

Max: 1

Horizontal crop focus: 0 is left and 1 is right.
focus_y
number
0.42

Max: 1

Vertical crop focus: 0 is top and 1 is bottom.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}