face_swap
Put the face from the source photo onto the largest face in the target photo and return the result image URL. Costs 5 credits; failed jobs are refunded. Only use photos of people who consented.
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 |
|---|---|---|---|
| source_image_url | Yes | Public URL of the photo with the face to use | |
| target_image_url | Yes | Public URL of the photo to put the face on |