Website Development Case Study: AI Portrait Platform
A custom AI platform.
Built from zero.
How Goliath Raider designed and engineered a full-stack AI portrait generation and print fulfillment platform for Alter8 — a product category that didn't exist in any template.
A bold idea.
No template for it.
Alter8's founder came to Goliath Raider with a concept: let anyone upload a photo, transform it into a professional illustrated portrait in a theme of their choice — Samurai, Cyberpunk, Viking, Royalty, and dozens more — then order it printed on canvas, metal, or framed luster paper, shipped directly to their door.
This wasn't a Shopify store with a product catalog. It was a generative AI application with a commerce layer on top — a product that required custom engineering from the ground up. No off-the-shelf solution existed.
The platform needed to handle image uploads, AI generation via a third-party model, watermarking and preview delivery, Stripe payment processing, automated print order placement, real-time address validation, and customer email notifications — all as a seamless experience the customer never sees the complexity of.
Every layer.
Custom engineered.
The platform runs on WordPress with a purpose-built plugin (alter8-core) handling all business logic. Nothing was borrowed from a page builder. Everything was written specifically for this product.
Upload to doorstep.
Fully automated.
Every step from photo upload to physical print delivery happens automatically. The customer interacts with a clean UI. The complexity is invisible.
Printful does not automatically notify customers when orders are placed through the raw API — that feature only exists for native storefront integrations. We built a custom Printful webhook handler that fires a branded tracking email the moment an order ships, from info@usealter8.com, with carrier and tracking number. Zero manual steps.
Purpose-built.
Not patched together.
Every tool was chosen to solve a specific problem. Nothing was included because it was familiar — everything was included because it was right for this product.
- No page builder dependency — the entire shop and generation flow is hand-coded HTML, CSS, and JavaScript embedded in WordPress HTML blocks, giving full control over every interaction and zero plugin conflicts.
- Cloudflare-aware architecture — error responses use HTTP 400 instead of 500 to prevent Cloudflare from intercepting them; sleep() calls avoided in request handlers to prevent 502 gateway timeouts.
- WPEngine constraint handling — SFTP unavailable on WPEngine; all file edits routed through WP File Manager. Base64 image encoding used to bypass WPEngine hotlinks protection on Replicate input images.
- dbDelta workaround — WordPress's native table creation utility is unreliable for post-activation column additions; a custom /repair-db endpoint forces table updates on demand.
- iOS Safari tab-visibility polling fix — generation polling resumes immediately when the tab becomes visible again after a background switch, preventing the appearance of a failed generation on mobile.
A full product.
Ready to scale.
Alter8 launched as a complete, production-ready platform. Every component of the customer journey — from first preview to physical delivery — runs without manual intervention.
- AI generation pipeline live — 40+ themes across Warriors, Adventurers, Power, Culture, Cinematic, and Children arcs. Each with hand-crafted prompts for Male, Female, Group, and Pet subjects.
- Three print products — Canvas (12×12, 16×16, 20×20), Framed Luster (black, white, red oak frame in 12×12 and 16×16), and Glossy Metal (12×12). Eight bundle SKUs combining digital downloads with physical prints.
- Fully automated fulfillment — Printful orders fire automatically on payment. Customers receive a branded confirmation email immediately, and a tracking email the moment Printful ships.
- Fraud and abuse prevention — preview attempt limits enforced per email per theme, signed download tokens, Stripe webhook signature verification, replay attack protection, and idempotency guards on all fulfillment paths.
- Address validation before payment — shipping addresses are validated against Printful's live API before the customer reaches Stripe, preventing failed orders on bad addresses after payment has already cleared.
- Real-time mockup compositor — customers see their actual portrait composited onto the product template (canvas, metal, or framed luster in their chosen frame color) before they pay, using HTML5 Canvas rendering in the browser.
Have a complex idea?
Let's build it.
Whether you need an SEO-driven content site, a custom web application, or something that doesn't fit a template — Goliath Raider builds it right.
Start a Conversation →