You're looking at a specific version of this model. Jump to the model overview.
ddvinh1 /faceswap-photo-id:7ef8163d
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 |
---|---|---|---|
input_image |
string
|
Target image
|
|
swap_image |
string
|
Swap image
|
|
negative_prompt |
string
|
|
Negative prompt
|
source_face_id |
integer
|
0
|
Source face ID (0-indexed, left to right)
|
target_face_ids |
string
|
0
|
Target face IDs (comma-separated, 0-indexed, left to right)
|
enhance_face |
boolean
|
False
|
Enhance face
|
output_ext |
None
|
jpg
|
Output extension: jpg or png
|
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'}