graph TD
A[Start] --> B[Receive Input Variables]
B --> C[Topic Description]
B --> D[Avatar Description]
C --> E[ScriptGenAgent]
E --> F[Generate 100-300 Word Script]
F --> G[Output Script Text]
G --> H[VoiceOverAgent]
H --> I[Convert Script to MP3]
I --> J[Output Voiceover MP3]
D --> K[AvatarImageGen]
K --> L[Generate Avatar PNG]
L --> M[Output Avatar Image]
J --> N[TalkingHeadAssembler]
M --> N
N --> O[Get MP3 Transcription with Timings]
O --> P[Generate Lip-Synced Video]
P --> Q[Output Final MP4]
Q --> R[End]