face_swap
Replace the face in the target image with the face from the source image. Provide both image URLs to perform the swap.
Instructions
Replace the face in target_image_url with the face from source_image_url.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_image_url": "<source_image_url>",
"target_image_url": "<target_image_url>"
},
"name": "face_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max upstream wait time in seconds (default 120). | |
| callback_url | No | Optional webhook URL to receive the result asynchronously. | |
| source_image_url | Yes | URL of the image whose face will be transplanted. | |
| target_image_url | Yes | URL of the image that will receive the new face. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |