graph TD
start[Start DesignGeneratorBot] --> input[Receive compliant-text-and-keywords]
subgraph Silo1[Design Generation Pipeline]
input --> step1[Generate Initial Design]
step1 --> checkGen{Design Generated?}
checkGen -->|No| step1
checkGen -->|Yes| step2[Remove Background]
step2 --> checkBG{Background Removed?}
checkBG -->|No| step2
checkBG -->|Yes| step3[Upscale Image]
step3 --> checkScale{Upscaled Successfully?}
checkScale -->|No| step3
checkScale -->|Yes| step4[Resize to 4500x5400]
step4 --> checkSize{Correct Size?}
checkSize -->|No| step4
checkSize -->|Yes| validate[Validate Final Specs]
end
validate --> checkFinal{Meets All Requirements?}
checkFinal -->|No| step1
checkFinal -->|Yes| output[Output new-tshirt-design-png]
output --> end[End DesignGeneratorBot]