You're looking at a specific version of this model. Jump to the model overview.
catio-apps /cog-faceswap-catio:0ddabd6b
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
|
Target image to apply face swap to
|
|
source_image |
string
|
Source image to get the face from
|
|
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
|
enhance_face |
boolean
|
True
|
Enable additional face enhancement
|
use_advanced_blending |
boolean
|
True
|
Use advanced blending techniques
|
output_format |
string
(enum)
|
png
Options: webp, jpg, 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'}