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

catio-apps /cog-faceswap-catio:c803ef76

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
target_image
string
Input body image
source_image
string
Input face image
enable_face_swap
boolean
True
Enable face_swap
threshold_face_swap
number
1

Max: 1

Threshold for face detection
fusion_alpha
number
0.9

Max: 1

Face fusion strength
output_format
None
png
Format of the output images
output_quality
integer
80

Min: 1

Max: 100

Set the quality of the output image for jpg and webp (1-100)

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