MODULE_02 // AI STUDIO SUITE

Just Breathe FLX

Cannabis Dispensary AI Studio

Role
Lead Engineer
Period
2024–2026
Status
PRODUCTION
Domain
AI Studio Suite

// STACK_MANIFEST

React 19ViteTypeScriptExpress 5Gemini Livefal.aiVeo 3.1KlingLuma Ray2HeyGenD-IDElevenLabs

// OUTCOME_METRICS

AI Studios
8
T3 Domains
6
Status
PROD

Problem

Just Breathe is a New York licensed cannabis dispensary in the Finger Lakes region. The founder, Danny, wanted a digital presence that did more than display a product catalog — he wanted customers to interact with the brand: generate their own artwork, explore a botanical encyclopedia, talk to a voice agent about strain profiles, and watch AI-generated video content.

Constraints were non-trivial. Cannabis is regulated. The site needs age-gating and regional compliance. And the brand identity is specifically calm — the opposite of a hype-saturated dispensary website. Everything has to feel considered and premium.

Approach

Just Breathe FLX is a full-stack React 19 + Express SPA with an 8-studio AI suite orchestrated via a 6-domain Hierarchical Orchestration Architecture — the same pattern I pioneered on Prohibition Prophets.

The 8 studios are distinct surfaces that share a common orchestrator:

  • Image Studio — multi-provider image generation (Gemini, Flux, Ideogram)
  • Video Studio — Veo 3.1, Kling, and Luma Ray 2 for long-form video
  • Voice Agent — real-time Gemini Live voice chat about strains and products
  • Voice Studio — ElevenLabs generation for branded voice content
  • Avatar Studio — HeyGen + D-ID for talking-head video
  • Edit Studio — canvas-based edit tools layered on generated content
  • Herbarium — interactive botanical encyclopedia
  • Admin Dashboard — PEP (Platform Engagement Pipeline) for staff
// ARCHITECTURE6-Domain HOA Studio Suite
USERage-gatedNY COMPLIANCE GATEage + regionJB ORCHESTRATORHOA 6-domain managerIMAGE STUDIOGemini · Flux · IdeogramVIDEO STUDIOVeo 3.1 · Kling · LumaVOICE STUDIOElevenLabs · Gemini LiveAVATAR STUDIOHeyGen · D-IDEDIT STUDIOCanvas + LayersHERBARIUMbotanical encyclopediaGEMINI LIVE AGENTreal-time chat + voiceADMIN DASHBOARDPEP pipelineLOCALSTORAGE + EXPRESSsession state

Build Notes

Gemini Live for the voice agent. Real-time bidirectional voice over WebSocket. Customers can ask "what strain helps me sleep?" and get a spoken response grounded in the Herbarium data. It feels like calling a budtender, not a chatbot.

fal.ai as the video orchestrator. Veo 3.1 for cinematic, Kling for faster iteration, Luma Ray 2 for specific motion profiles. The Video Studio picks based on the user's brief. Cost per generation is tracked and capped.

Age-gating + NY compliance on the edge. Before the orchestrator ever sees a request, a compliance gate checks age verification and geo-fencing. New York's rules are strict; the gate is the line of defense.

State-based routing without a router. The original v1 of the site was built without React Router — just a currentView state machine. That was the right call for a single-user SPA, but it made deep-linking impossible. Later iterations layered real routing on top while keeping the state machine for studio transitions.

HOA with 6 T3 domains. The orchestrator brokers between Studio (image/video/voice/avatar/edit), Voice Agent, Content, Herbarium, Admin, and PEP. Each domain is independently developed and independently deployed. Adding a new studio = adding a new T3 domain, not touching the orchestrator.

Results

Production site running at justbreatheflx.com. Real customers, real generations, real compliance. The 8-studio suite is the most ambitious per-site AI integration in the portfolio.

The HOA pattern has now shipped on three production sites (Prohibition Prophets, Just Breathe, Mooney's BBQ at smaller scale). It's the reusable architecture that makes client onboarding repeatable.