graph TD
A[Start] --> B[Receive Input: URL]
B --> C[DataExtractionBot]
C --> D[Use Amazon API to Extract Data]
D --> E[Parse Product Details]
E --> F[Store Title, Bullets, Description, Image URL]
F --> G[ComplianceCheckerBot]
G --> H[Check Text via Trademark API]
G --> I[Check Image via Vision API]
H --> J[Filter Flagged Terms]
I --> J
J --> K[DesignGeneratorBot]
K --> L[Generate Image via Ideogram API]
L --> M[Process via Background Removal API]
M --> N[Upscale via AI Upscaler API]
J --> O[ListingTextCreatorBot]
O --> P[Generate New Listing Text]
N --> Q[FinalOutputBot]
P --> Q
Q --> R[Final Compliance Check]
R --> S[Package Design PNG and Listing Text]
S --> T[End]
style A fill:#f9f,stroke:#333,stroke-width:2px
style T fill:#f9f,stroke:#333,stroke-width:2px
style C fill:#bbf,stroke:#333,stroke-width:2px
style G fill:#bbf,stroke:#333,stroke-width:2px
style K fill:#bbf,stroke:#333,stroke-width:2px
style O fill:#bbf,stroke:#333,stroke-width:2px
style Q fill:#bbf,stroke:#333,stroke-width:2px