graph TD
A[Start Image Generation Process] --> B[Receive Module Info]
B --> C{Need Custom Prompt?}
C -->|Yes| D[Generate Image Prompt]
C -->|No| E[Use Direct Prompt]
D --> F[Create AI Images]
E --> F
F --> G{Need Additional Images?}
G -->|Yes| H[Web Image Search]
G -->|No| I[Skip Web Search]
H --> J[Collate All Images]
I --> J
J --> K[Format Image URLs]
K --> L[Return Structured Output]
subgraph Skill 223
D
end
subgraph Skill 222
F
end
subgraph Skill 187
H
end
subgraph Input Data
M[Module Title] --> B
N[Module Description] --> B
O[Style Guidelines] --> B
end
subgraph Output Format
L --> P[JSON Array of Image URLs]
end