graph TD
A[Text Script Input] --> B[Initial Audio Generation]
B --> C[Generate MP3 with #170]
C --> D[Quality Verification Process]
D --> E[Get Timing Data #198]
D --> F[Create Waveform #179]
D --> G[Analyze Quality #176]
E & F & G --> H{Quality Check}
H -->|Pass| I[Final MP3 Output]
H -->|Fail| J[Audio Refinement]
J --> K[Convert to WAV #178]
K --> L[Process Audio #219]
L --> M[Final Processing]
M --> I
I --> N[Return MP3 URL]