Cut a clip and caption it
Cut one stretch out of a video and burn in its spoken words as captions
Keeps from to to (seconds) of the video and burns the words spoken in it as captions in the style you name (see style), for example words that light up as they are said. Without a transcript it only cuts. Saves the clip in your files.
What it asks for
- video (Needed, file): The video's identity in your files (1f: then 64 hex), as find_file or list_files returns it
- from (Needed, number): Start of the clip
- to (Needed, number): End of the clip
- transcript (Optional, value): Timed words for the whole video or for the clip
- transcript_from (Optional, number): Where in the video the transcript's zero is: 0 for the whole video, the clip's start for the clip's own words
- style (Optional, value): The caption style (default subtitles): subtitles (Subtitles); emphasis (Large captions); spoken-words (Highlight spoken words); serif-spoken-words (Serif spoken words); white-words-light-up (White words light up). Or an object with id set to one of them and any of font, size, bold, italic, outline, shadow, colours, position, reveal, grouping changed.
Use it from your AI
Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.
Say to your AI: “Use Trillion to cut one stretch out of a video and burn in its spoken words as captions”
What your AI calls: run_tool {"tool_id":"tool:cut-and-caption"}