yan-ops
/
multi_face_swap
- Public
- 4.6M runs
Run yan-ops/multi_face_swap 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 |
---|---|---|---|
target_image |
string
|
target image
|
|
source_image |
string
|
source image
|
|
all_face_swap |
boolean
|
False
|
all face swap
|
request_id |
string
|
|
request_id
|
det_thresh |
number
|
0.1
|
det_thresh default 0.1
|
local_target |
string
|
local target image
|
|
local_source |
string
|
local source image
|
|
cache_days |
integer
|
10
|
cache days default 10
|
{
"type": "object",
"title": "Input",
"properties": {
"cache_days": {
"type": "integer",
"title": "Cache Days",
"default": 10,
"x-order": 7,
"description": "cache days default 10"
},
"det_thresh": {
"type": "number",
"title": "Det Thresh",
"default": 0.1,
"x-order": 4,
"description": "det_thresh default 0.1"
},
"request_id": {
"type": "string",
"title": "Request Id",
"default": "",
"x-order": 3,
"description": "request_id"
},
"local_source": {
"type": "string",
"title": "Local Source",
"x-order": 6,
"description": "local source image"
},
"local_target": {
"type": "string",
"title": "Local Target",
"format": "uri",
"x-order": 5,
"description": "local target image"
},
"source_image": {
"type": "string",
"title": "Source Image",
"x-order": 1,
"description": "source image"
},
"target_image": {
"type": "string",
"title": "Target Image",
"x-order": 0,
"description": "target image"
},
"all_face_swap": {
"type": "boolean",
"title": "All Face Swap",
"default": false,
"x-order": 2,
"description": "all face swap"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"title": "Output"
}