remove_span
Remove an unwanted time span from a hosted video by giving start and end seconds. Trims A-roll, shifts the rest, and re-renders with cached B-roll.
Instructions
Cut a span of time [from_sec, to_sec] out of a hosted Swap & Refine video — e.g. a duplicated opening sentence or a dead pause. The backbone A-roll is trimmed and the rest shifts up; reuses cached B-roll. Re-renders; streams into the editor.
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": {
"from_sec": "<from_sec>",
"to_sec": "<to_sec>"
},
"name": "remove_span"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The Swap & Refine project. Omit to use VIRALSPIN_HOSTED_JOB_ID. | |
| to_sec | Yes | End of the span to remove (seconds). | |
| from_sec | Yes | Start of the span to remove (seconds). |