peter942
/
ghost_face_swap
Swaps ghost 👻 faces - experimental/buggy
- Public
- 24K runs
Run peter942/ghost_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 |
---|---|---|---|
source_path |
string
|
Path to an image to take the face from
|
|
target_path |
string
|
Path to an image or a video to put the fac in
|
|
use_sr |
boolean
|
True
|
use super resolution for face enhancement
|
{
"type": "object",
"title": "Input",
"required": [
"source_path",
"target_path"
],
"properties": {
"use_sr": {
"type": "boolean",
"title": "Use Sr",
"default": true,
"x-order": 2,
"description": "use super resolution for face enhancement"
},
"source_path": {
"type": "string",
"title": "Source Path",
"format": "uri",
"x-order": 0,
"description": "Path to an image to take the face from"
},
"target_path": {
"type": "string",
"title": "Target Path",
"format": "uri",
"x-order": 1,
"description": "Path to an image or a video to put the fac in"
}
}
}
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"
}