graph TD
A[User Input: Topic/Theme] --> B[SILO 1: Prompt Engineering]
B --> C[LLM Processes Input]
C --> D[Optimized Image Prompt]
D --> E[SILO 2: Initial Generation]
E --> F[Create Base Avatar]
F --> G[Initial Avatar PNG]
G --> H[SILO 3: Quality Control]
H --> I[GPT Vision Analysis]
I --> J{Meets Requirements?}
J -->|No| K[SILO 4: Refinement]
K --> L[Regenerate Avatar]
L --> G
J -->|Yes| M[SILO 5: Formatting]
M --> N[Resize to 1024x1024]
N --> O[Add Transparency]
O --> P[Final Themed Avatar PNG]