graph TD A[User Input: Topic & Avatar Description] --> B[ScriptMaster Start] B --> C[Parse Topic Requirements] C --> D[Generate Script Draft] D --> E[Check Word Count 100-300] E --> F{Script Length OK?} F -->|No| D F -->|Yes| G[Review Content Quality] G --> H{Quality Check Pass?} H -->|No| D H -->|Yes| I[Format Final Script] I --> J[Output: Finalized Voice-Over Script] subgraph Script Validation E F G H end subgraph Content Generation C D end subgraph Output Processing I J end