Skip to content
← All projects
  • My own product
  • SaaS platforms
  • Ads & funnels

Built in

Making the creatives for one product takes days

Paste a product link: angles, images, videos and copy come out at once.

The problem

Producing angles, statics, videos and copy takes days per product. And an AI video platform loses money on its best customers if model spend is not capped.

What I built

A multi-tenant SaaS with credit billing, an enterprise API and an MCP connector. A router picks among 14 AI video models, with fallback chains and a hard budget cap per clip.

Technical details

  1. Idempotent credit ledger: a partial unique index makes a double debit impossible
  2. Postgres row-level security down to column privileges
  3. Scraping hardened against SSRF: DNS revalidated at every redirect
  4. Stripe webhook of over 3,700 lines: upgrades, refunds, disputes, paid trial

Stack

  • React 19
  • Node + BullMQ/Redis
  • Supabase Postgres
  • Claude + Gemini + fal.ai
  • Stripe
  • Cloudflare Workers

The result

Each clip has a hard cost ceiling by plan ($0.30, $1.50 or $2.50). Without it, a $499 plan could cost $512 to serve.

A similar project in mind?

Tell me about your business and when you need it. You get a proposal by email.

I want this system

More projects

AI agents · CreaScale AgentThe customer writes at 3am and nobody answersView the project
1 / 27 : The customer writes at 3am and nobody answers