graph TD
A[User Input: Script & Guidelines] --> B[Overlay Instruction Generator]
B --> C[Process Input]
C --> D[Extract Script Content]
C --> E[Parse Guidelines]
D --> F[Identify Hook]
D --> G[Identify CTA]
D --> H[Identify Hashtags]
E --> I[Apply Timing Rules]
E --> J[Apply Style Rules]
F & G & H --> K[Format Content]
I & J --> K
K --> L[Generate Timeline]
L --> M[Format as Overlay Plan]
M --> N[Output: Timed Text Overlay Plan]
subgraph Input Processing
C
D
E
end
subgraph Content Analysis
F
G
H
I
J
end
subgraph Output Generation
K
L
M
end