D3 Design Centre — Pipeline Rules (MUST FOLLOW)¶
⚠️ CRITICAL RULES — NEVER BREAK¶
1. Prompt Rules¶
- ❌ NEVER use: "t-shirt", "hat", "mug", "hoodie" in prompts
- ❌ NEVER use: "mockup", "template", "product photo"
- ✅ ALWAYS use: "isolated on transparent background"
- ✅ ALWAYS use: "no backdrop", "no scenery", "no product"
- ✅ Focus on: pure illustration, graphic design, art
2. Background Removal (CRITICAL)¶
- USE
rembg(local, free, preserves size) - NEVER use remove.bg API (downsizes to 500×500!)
- Command:
from rembg import remove; remove(img) - Result: 1024×1024 → 1024×1024 (size preserved)
3. Size Requirements¶
| Product | Required Size | Status |
|---|---|---|
| T-shirt | 4500x5400 px | MANDATORY |
| Hoodie | 4500x4050 px | MANDATORY |
| Mug | 2700x1125 px | MANDATORY |
| Hat | 2400x1600 px | MANDATORY |
4. Quality Check (MUST PASS ALL)¶
- [ ] Size: width ≥ 4500, height ≥ 5400
- [ ] Format: RGBA (not RGB)
- [ ] Background: 70%+ edges transparent
- [ ] No mockup: no t-shirt frame, no model
- [ ] Design centered, not cropped
5. Anti-Duplicate (PER PLATFORM)¶
- Check Etsy SEPARATELY from eBay
- Same design CAN be on BOTH platforms
- Skip ONLY if already on THAT platform
6. Trend Research¶
- Check current season themes
- Use trending colors and subjects
- Avoid saturated/overused designs
PIPELINE STEPS (In Order)¶
1. Trend Research → Get themes
2. Generate Prompts → NO product names
3. AI Generate Image → 1024x1024
4. Remove Background → rembg (preserve size)
5. Quality Check → All 5 checks must pass
6. Resize → 4500x5400 for t-shirts
7. Upload to Printify
8. Publish to Etsy (if not duplicate)
9. Publish to eBay (if not duplicate)
10. Update Registry
ERROR HANDLING¶
If ANY step fails:
- Log error
- Retry up to 3 times
- If still failing, skip design and move to next
- Report failure in daily summary
DAILY LIMITS¶
- Remove BG: unlimited (
rembglocal) - Etsy: 40 products/month (free tier)
- eBay: 250 products/month (free tier)
SUCCESS METRICS¶
- Designs published per day
- Quality score (pass rate)
- Platform coverage (Etsy + eBay)
- Trend relevance score