You're looking at a specific version of this model. Jump to the model overview.
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 containing the face to swap
|
|
| target_image |
string
|
Target image where the face will be swapped
|
|
| source_indexes |
string
|
-1
|
Comma separated list of source face indexes to use (left to right), -1 for all
|
| target_indexes |
string
|
-1
|
Comma separated list of target face indexes to swap (left to right), -1 for all
|
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'}