zf-kbot/md-xy-video-face-swap
Public
34.2K
runs
Run zf-kbot/md-xy-video-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 |
|---|---|---|---|
| api_key |
string
|
API key
|
|
| source |
string
|
Source
|
|
| target |
string
|
Target
|
|
| max_workers |
integer
|
18
|
max_workers
|
| upscale |
integer
|
1
|
upscale
|
| face_enhance |
boolean
|
False
|
face_enhance
|
| keep_fps |
boolean
|
True
|
Keep FPS
|
| keep_frames |
boolean
|
True
|
Keep Frames
|
{
"type": "object",
"title": "Input",
"required": [
"api_key"
],
"properties": {
"source": {
"type": "string",
"title": "Source",
"format": "uri",
"x-order": 1,
"description": "Source"
},
"target": {
"type": "string",
"title": "Target",
"format": "uri",
"x-order": 2,
"description": "Target"
},
"api_key": {
"type": "string",
"title": "Api Key",
"x-order": 0,
"description": "API key"
},
"upscale": {
"type": "integer",
"title": "Upscale",
"default": 1,
"x-order": 4,
"description": "upscale"
},
"keep_fps": {
"type": "boolean",
"title": "Keep Fps",
"default": true,
"x-order": 6,
"description": "Keep FPS"
},
"keep_frames": {
"type": "boolean",
"title": "Keep Frames",
"default": true,
"x-order": 7,
"description": "Keep Frames"
},
"max_workers": {
"type": "integer",
"title": "Max Workers",
"default": 18,
"x-order": 3,
"description": "max_workers"
},
"face_enhance": {
"type": "boolean",
"title": "Face Enhance",
"default": false,
"x-order": 5,
"description": "face_enhance"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output",
"x-cog-array-type": "iterator"
}