D3 Design Centre¶
Spec Trading Limited — Print-on-Demand (PoD) Pipeline
Overview¶
The D3 Design Centre is the autonomous Print-on-Demand engine for Spec Trading Limited. It researches trends, generates AI designs, removes backgrounds, resizes for print, and publishes products to Etsy and eBay via Printify — with zero human touch per cycle.
- Trigger: Every 18 hours via cron
- Product focus: T-shirts, tank tops, hoodies, mugs, hats
- Platforms: Printify → Etsy + eBay
- AI Engine: Gemini-2.5-flash-image (primary), FAL.ai Flux (fallback)
Pipeline at a Glance¶
| Stage | Tool | Output |
|---|---|---|
| Trend Research | Gemini Flash prompt + deterministic fallback | SEO brief |
| Image Generation | gemini-2.5-flash-image |
1024×1024 PNG |
| Background Removal | rembg (local) |
Transparent PNG |
| Quality Check | verify_design.py |
Pass / Reject |
| Resize | PIL bicubic upscaling | 4500×5400 (t-shirt) |
| Upload | Printify REST API | image_id + product_id |
| Publish | Printify → Etsy/eBay | Live listings |
| Registry | product_registry.json |
Permanent record |
Quick Stats¶
| Metric | Value |
|---|---|
| Total designs generated | See Product Registry |
| Etsy listings published | See Product Registry |
| eBay listings published | See Product Registry |
| Last sweep (D1) | See Pipeline Status |
| Latest sweep strategies | See Pipeline Status |
Navigation¶
- Pipeline Rules — MUST-FOLLOW critical rules for prompts, background removal, sizing, and quality checks.
- Loop Spec — Phase 6 autonomous loop specification (§4.11.4 compliant).
- Architecture — Agent roles, workflow diagram, and seasonal calendar.
- Ops / Workflow — Step-by-step agent workflow, QI checklist, and CLI commands.
- Printify OAuth — Instructions for re-authenticating Etsy/eBay connections.
- Live Status — Auto-updated product registry and pipeline status.
Access¶
This documentation is gated behind Cloudflare Access (Zero Trust SSO). If you are seeing this page without authentication, check the Zero Trust policy.
See README.md for deployment and access configuration details.