@@ -125,18 +125,23 @@ def generate_icon_prompt(name, platform, description):
125125- Platform accent: { color_scheme }
126126- Use 2-3 colors maximum for clarity
127127
128+ CRITICAL Format Requirements:
129+ - MUST have transparent/alpha channel background (no white background!)
130+ - Dimensions: 800x800 pixels (fits within 1000x800 max constraints)
131+ - File format: PNG with transparency
132+ - File size: under 100KB (optimize/compress after generation)
133+
128134Composition Requirements:
129135- Square or circular centered layout (NOT horizontal/linear)
130136- Radial or symmetrical arrangement of elements
131137- All elements should be contained within a compact, balanced shape
132138- Avoid left-to-right flow - think logo/badge style composition
133- - 128x128px square format with 16px padding from edges
139+ - 16px padding from edges
134140
135141Style Requirements:
136142- Enterprise-grade professional appearance
137143- Simple geometric shapes with clean lines
138144- Flat design (no gradients, shadows, or 3D effects)
139- - Transparent background (PNG with alpha channel)
140145- Iconography should be instantly recognizable at small sizes
141146- Think app icon or logo style, not illustration
142147
@@ -145,7 +150,9 @@ def generate_icon_prompt(name, platform, description):
145150- Platform-appropriate symbolism for { platform .upper ()} (e.g., cloud, containers, security, databases, etc.)
146151- Balance between abstract and literal representation
147152- Professional, trustworthy aesthetic suitable for enterprise documentation
148- - Compact, centered, icon-first design"""
153+ - Compact, centered, icon-first design
154+
155+ IMPORTANT: Ensure the background is fully transparent (alpha channel), not white or any solid color."""
149156
150157 return prompt
151158
0 commit comments