graph TD A[Start: Receive safe-keywords-and-image-description] --> B1[Generate First Design] A --> B2[Generate Second Design] subgraph Variation1 B1 --> C1[Ideogram API Call] C1 --> D1[Check Design with Vision API] D1 --> E1{Background Check} E1 -->|Has Background| F1[Remove Background] E1 -->|Transparent| G1[Upscale Image] F1 --> G1 G1 --> H1[Final Design 1: 4500x5400 300dpi PNG] end subgraph Variation2 B2 --> C2[Ideogram API Call] C2 --> D2[Check Design with Vision API] D2 --> E2{Background Check} E2 -->|Has Background| F2[Remove Background] E2 -->|Transparent| G2[Upscale Image] F2 --> G2 G2 --> H2[Final Design 2: 4500x5400 300dpi PNG] end H1 --> I[Package Both Designs] H2 --> I I --> J[Log API Usage] J --> K[End: Return generated-tshirt-image] style A fill:#f9f,stroke:#333 style K fill:#f9f,stroke:#333 style H1 fill:#bbf,stroke:#333 style H2 fill:#bbf,stroke:#333