Find and replace in a video
replace_video_textReplaces a word or phrase across a whole video in one save — e.g. renaming a company or product everywhere ("Globex" → "Acme"): every scene's text variables (headlines, callouts, buttons, list items, labels…, including copy still at its default), scene labels, the narration scripts with includeNarration (default true; their audio then needs generate_video_voiceovers), and the video title. Case-insensitive unless matchCase; wholeWord skips matches inside longer words; dryRun only counts and lists. Images, colors and asset keys are never touched. Words typed into a custom scene's markup instead of a variable can't be replaced here: the answer lists those scenes (rewrite them with write_scene).
Requires: demos:read, demos:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| dryRun | No | Only count and list the places; nothing is saved. | |
| replace | Yes | ||
| videoId | Yes | Video id (from list_videos), e.g. "v_Ab12Cd34Ef56Gh78". | |
| sceneIds | No | Only these scenes (default: all). | |
| matchCase | No | ||
| wholeWord | No | ||
| includeTitle | No | Also the video title. | |
| includeNarration | No | Also the narration scripts. |