← All work
Multi-tenant SaaS Deploy-ready

Virtua

A metered storefront for AI ad creative.

The storefront layer of the creative suite. Authenticated brands generate on-brand AI image and video, metered per generation, delivered as private signed media, and billed on a subscription.

Virtua interface

The live Virtua site.

Overview

Virtua is the part a customer actually logs into. It wraps generative image and video behind a real product: accounts, credits, subscriptions, and private delivery, across fourteen industry presets so a jeweler and a gym get sensible defaults out of the box.

It is the most process-mature system in the suite. The money path is production-grade, and the whole thing was built through a genuine pull-request and continuous-integration workflow rather than one long solo commit.

What it does
  • Per-brand AI image and video generation across fourteen industry presets.
  • Credit metering on every heavy route, with an atomic charge and an automatic refund when a generation fails.
  • True multi-tenant isolation: every record is scoped to its owner, and responses will not even confirm that another tenant’s data exists.
  • Subscriptions billed through Stripe with idempotent, signature-verified webhooks.
  • Private media delivered over signed, hard-to-guess URLs, behind a fetch layer hardened against server-side request forgery.
  • A stuck-job reaper recovers hung generations, and updates stream to the browser in real time.
How it works

A Node and Express backend runs on MongoDB with websockets for live updates and ffmpeg for media, in front of a dependency-free vanilla-JavaScript frontend. Images and video come from several generative providers behind one interface. It deploys as Docker with health-gated rolling releases, so a bad build never fully takes the service down.

  • Node
  • Express
  • MongoDB
  • Socket.IO
  • Stripe
  • ffmpeg
  • Docker
By the numbers

Real figures from the build, not marketing math.

41K Lines of code Backend, frontend, and the billing path
176 Hermetic tests No live network calls needed
14 Industry presets Sensible defaults per vertical
0 Cross-tenant leaks Isolation enforced and tested

Want something like this?

Tell me what you are trying to run without more staff. I will show you what a system like this looks like for your business.