| name | video_text_to_text |
| description | When the user needs to transcribe video (such as .mp4, .mkv, .avi) into text, use the python_repl tool to generate text. |
Use this if the backend supports video input natively
from skills.builtin.core.video_text_to_text.scripts import vtt
if __name__ == '__main__':
video_path: str = "{placeholder}"
query: str = "{placeholder}"
res = vtt(video_path, query)
print(res)
Use the fallback when video input is unsupported but image input is accepted
from skills.builtin.core.video_text_to_text.scripts import vtt_fackback
if __name__ == '__main__':
video_path: str = "{placeholder}"
query: str = "{placeholder}"
interval_sec: float = float(
"{placeholder}")
res = vtt_fackback(video_path, query, interval_sec)
print(res)