graph TD
A[Input Video File MP4] --> B{Video Processing Subagent}
B -->|Extract Video Section| C[Extracted Video Section MP4]
C --> D[Convert MP4 to MP3]
D --> E{Transcription and Section Breakdown Subagent}
E -->|Generate Transcription| F[Timestamped Transcription JSON]
E -->|Identify Key Sections| G[Section Breakdown JSON]
F --> H{Transcription Refinement Subagent}
G --> H
H -->|Refine Transcription| I[Refined Transcription TXT]
G --> J{Thumbnail Extraction Subagent}
C --> J
J -->|Extract Thumbnails| K[Thumbnail Images JPEG]
I --> L{Article Assembly Subagent}
G --> L
K --> L
L -->|Assemble Article| M[HTML Article]
M --> N{Article Assembly Subagent}
N -->|Summarize and Return| O[Final Output HTML Article]