face_swap_video
Replace a face in any video with a provided image. Upload source video and face image, specify timing, and receive project ID for tracking.
Instructions
Swap a face onto a video. Provide a source video (file path or URL) and a face image. Returns the project ID to check status.
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_image_url": "<face_image_url>",
"end_seconds": "<end_seconds>"
},
"name": "face_swap_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes | URL or local path to the source video | |
| face_image_url | Yes | URL or local path to the face image to swap onto the video | |
| start_seconds | No | Start time in seconds | |
| end_seconds | Yes | End time in seconds | |
| name | No | Optional name for the project |