synthesys-ai
/
synthesys-facefusion
- Public
- 64 runs
Run synthesys-ai/synthesys-facefusion with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
---|---|---|---|
source_paths |
string
|
source image that contains faces to use
|
|
target_path |
string
|
target video/image file to use
|
|
face_analyser_order |
string
|
left-right
|
None
|
face_analyser_age |
string
|
None
|
|
face_analyser_gender |
string
|
None
|
|
face_detector_model |
string
|
retinaface
|
None
|
face_detector_size |
string
|
640x640
|
None
|
face_detector_score |
number
|
0.5
|
None
|
face_selector_mode |
string
|
reference
|
None
|
face_mask_types |
string
|
box
|
None
|
frame_processors |
string
|
face_swapper
|
None
|
face_swapper_model |
string
|
inswapper_128
|
None
|
face_enhancer_model |
string
|
gfpgan_1.4
|
None
|
frame_enhancer_model |
string
|
real_esrgan_x2plus
|
None
|
{
"type": "object",
"title": "Input",
"required": [
"source_paths",
"target_path"
],
"properties": {
"target_path": {
"type": "string",
"title": "Target Path",
"format": "uri",
"x-order": 1,
"description": "target video/image file to use"
},
"source_paths": {
"type": "string",
"title": "Source Paths",
"format": "uri",
"x-order": 0,
"description": "source image that contains faces to use"
},
"face_mask_types": {
"type": "string",
"title": "Face Mask Types",
"default": "box",
"x-order": 9
},
"frame_processors": {
"type": "string",
"title": "Frame Processors",
"default": "face_swapper",
"x-order": 10
},
"face_analyser_age": {
"type": "string",
"title": "Face Analyser Age",
"x-order": 3
},
"face_detector_size": {
"type": "string",
"title": "Face Detector Size",
"default": "640x640",
"x-order": 6
},
"face_selector_mode": {
"type": "string",
"title": "Face Selector Mode",
"default": "reference",
"x-order": 8
},
"face_swapper_model": {
"type": "string",
"title": "Face Swapper Model",
"default": "inswapper_128",
"x-order": 11
},
"face_analyser_order": {
"type": "string",
"title": "Face Analyser Order",
"default": "left-right",
"x-order": 2
},
"face_detector_model": {
"type": "string",
"title": "Face Detector Model",
"default": "retinaface",
"x-order": 5
},
"face_detector_score": {
"type": "number",
"title": "Face Detector Score",
"default": 0.5,
"x-order": 7
},
"face_enhancer_model": {
"type": "string",
"title": "Face Enhancer Model",
"default": "gfpgan_1.4",
"x-order": 12
},
"face_analyser_gender": {
"type": "string",
"title": "Face Analyser Gender",
"x-order": 4
},
"frame_enhancer_model": {
"type": "string",
"title": "Frame Enhancer Model",
"default": "real_esrgan_x2plus",
"x-order": 13
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}