Detect scene changes
detect_scenesIdentify abrupt scene changes in videos and return cut timestamps. Use these times to split or re-edit video segments with trim and concat tools.
Instructions
Find timestamps where the picture changes abruptly (cuts between scenes/shots). Returns a list of cut times you can feed into trim_video/concat_videos to split or re-edit the video.
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": {
"input_path": "<input_path>"
},
"name": "detect_scenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Sensitivity 0.1–1; lower finds more cuts (default 0.4) | |
| input_path | Yes | Path to the source video |