fix_words
Edit transcript words by index to correct text, remove a word, or merge multiple words into one while keeping original timing; then re-render the captioned video with save_video.
Instructions
Sets words by the index get_transcript gave them, keeping their timing; empty text removes a word, and count joins that many words into one spanning them all (two words heard for one). Then save_video writes the video again.
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": {
"project_id": "<project_id>",
"fixes": "<fixes>"
},
"name": "fix_words"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixes | Yes | ||
| project_id | Yes | The project id a caption_video call returned (on this computer, a file's path) |