klax_get_video_transcript
Fetches subtitles or STT transcripts for lecture videos from indexed material IDs or local paths, with optional timecode filtering. Falls back to local speech-to-text when subtitle files are missing.
Instructions
색인된 강의자료(material_id) 또는 로컬 동영상 경로의 자막/STT 전사를 타임코드 구간으로 조회합니다.
material_id_or_video_id가 로컬 색인 저장소(SQLite)에 존재하면 저장된 time:HH:MM:SS 청크를
사용하고, 존재하지 않으면 로컬 동영상 경로로 간주해 같은 파일명의 자막(.vtt/.srt) 또는 로컬
STT(faster-whisper/whisper)로 즉시 전사를 시도합니다. start_time/end_time(HH:MM:SS 또는
MM:SS)을 지정하면 해당 구간과 겹치는 청크만 반환합니다. STT 라이브러리 미설치 시
unsupported 상태와 사유를 반환하며, 원격 URL 다운로드나 외부 클라우드 API는 호출하지 않습니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ||
| start_time | No | ||
| material_id_or_video_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |