graph TD
A[Input: Topic & Script Context] --> B[SILO 1: PROMPT ENGINEERING]
B --> C[Skill #223: Generate Optimal Prompt]
C --> D[SILO 2: INITIAL GENERATION]
D --> E[Skill #182: Create Avatar Image]
E --> F[Skill #176: Analyze Image]
F --> G{Image Suitable?}
G -->|No| H[SILO 3: REFINEMENT]
H --> I[Skill #222: Generate Refined Image]
I --> F
G -->|Yes| J[Check Size]
J --> K{Correct Size?}
K -->|No| L[Skill #191: Resize Image]
L --> M[Final Output: 1024x1024 PNG]
K -->|Yes| M