ddvinh1/faceswap-photo-id

Public
12.9K runs

Run ddvinh1/faceswap-photo-id 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_image
string
Source image
target_image
string
Target 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
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}