{ "id": "ocr-subtitle", "name": "字幕OCR提取", "description": "抽帧并 OCR 提取视频烧录字幕,经 LLM 过滤无意义内容后生成带时间轴的 SRT 基准数据。", "version": 4, "definition": { "name": "字幕OCR提取", "version": 4, "nodes": [ { "id": "extract", "node_type": "frame-extract", "params": { "interval_seconds": 0.5, "crop": [ 0, 0.82, 1, 0.18 ] }, "inputs": { "video_uri": "input.video_uri" } }, { "id": "ocr", "node_type": "subtitle-ocr", "params": { "prompt": "提取图像中的文字,不要描述图片中的内容", "pool_min_workers": 1, "pool_max_workers": 1 }, "inputs": { "frames_manifest": "extract.frames_manifest" } }, { "id": "filter", "node_type": "llm-filter", "params": { "pool_min_workers": 1, "pool_max_workers": 1 }, "inputs": { "srt_uri": "ocr.srt_uri" } } ], "edges": [ { "from": "extract", "to": "ocr" }, { "from": "ocr", "to": "filter" } ], "entry_inputs": { "video_uri": "file" }, "final_outputs": { "srt": "filter.srt_uri" } } }