Cast swap
cast_swapReplace the people in a 4–30 s clip with the people in your photos.
subjects: [{photos: [file ids], kind?: person|object, label?, slot?:
left|center|right|main, placement?}], up to 4 subjects / 9 photos.
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_video_file": "<source_video_file>",
"subjects": "<subjects>"
},
"name": "cast_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| subjects | Yes | ||
| resolution | No | 720p | |
| confirm_credits | No | ||
| source_video_file | Yes | ||
| keep_original_sound | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||