TRANSCRIPTYouTube Captions APILLM SUMMARYstream to UIFig. E1 — 処理の流れFig. E1 — processing sketch

— Exp. 01 / Summarization

AI YouTube Summary

youtube-summary · experiments

YouTube の公開動画 URL を入力するだけで、字幕テキストを取得し AI が要約して返します。Dify ワークフローと連携済みで、実際に動作します。Paste a public YouTube URL — captions are fetched and summarized via a Dify workflow. Fully wired and working.

Typeインタラクティブ実験Interactive experiment
Interface動画 URL → 要約テキスト表示Video URL → summarized text
StackYouTube Transcript API · Dify · LLM
StatusDify ワークフロー接続済み・動作中Live · Dify workflow connected
YouTubeCaptionsDifyLLM

Live UI · prototype

字幕が取得できる公開動画であれば要約が返ります。字幕のない動画には対応していません。Works with public videos that have captions available. Videos without captions are not supported.

要約結果Summary

URL を入力して「要約を生成」を押すと、ここに要約が表示されます。Enter a URL and press Summarize — the result will appear here.
01 / Goal

Purpose

長尺の技術講義・カンファレンス・アーカイブを、後追いレビューや議事への転用できる短い知識に圧縮する。「見る時間がないときに、論点だけを安全に掬い取れる」ことを優先すると、モデルだけでなく転写経路や引用・出典ポリシーまで設計対象になる。Compress long technical talks into reviewable briefing notes. Prioritizing recovering arguments without watching the clock forces design beyond the model — transcript sources, grounding and citation policy matter too.

02 / Flow

Pipeline sketch

N° 01入力検証・動画参照の解決Validate URL & resolve video referencePublic watch / youtu.be
N° 02字幕の取得Fetch captionsYouTube Transcript API
N° 03整形・チャンキング・要約Normalize, chunk & summarizeToken budget · hallucination guards
N° 04UI へのストリーム/表示Stream render to UISSE or chunked JSON · this surface
03 / Notes

Design notes

  1. AIが生成した要約は動画そのものではない。「公式字幕をもとに要約しています」といった出典情報をUIに表示し、ユーザーが判断できるようにする。AI-generated summaries are not the source — show users where the transcript came from (e.g. official captions) so they can judge reliability themselves.
  2. 字幕テキストはYouTube Transcript APIで取得し、そのままDifyワークフローに渡して要約する。字幕が存在しない動画には非対応。Captions are fetched via YouTube Transcript API and passed directly to a Dify workflow for summarization. Videos without captions are not supported.
  3. YouTubeの利用規約やAPIの呼び出し制限・コストを考慮すると、処理対象の動画をあらかじめ決めておく運用が現実的。Given YouTube's TOS, rate limits and API costs, it's practical to pre-define which videos or channels are allowed to be processed.

一覧へExperiment index

See more experiments

実験トップへExperiments hub