face_swap_video_individual
Replace specific faces in videos by mapping original face IDs to new face images, enabling targeted face swapping within video content.
Instructions
Swap specific faces in a video. Use detect_faces first to get face IDs, then map each original face to a new face image.
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": {
"video_url": "<video_url>",
"face_mappings": "<face_mappings>",
"end_seconds": "<end_seconds>"
},
"name": "face_swap_video_individual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes | URL or local path to the source video | |
| face_mappings | Yes | Array of face mappings (max 5) | |
| start_seconds | No | Start time in seconds | |
| end_seconds | Yes | End time in seconds | |
| name | No | Optional name for the project |