🏆 Built for CUTC: Transform Hackathon

🌟 Supernova

One product URL. A complete AI marketing campaign in minutes.

Built in 2 Days Next.js FastAPI Genblaze Backblaze B2


The average marketing team juggles 12+ tools and days of work to produce a single campaign. Supernova collapses all of it into one autonomous AI pipeline — paste a URL, walk away, come back to a finished campaign.


🎬 The Problem

Creating a single marketing campaign today is a fragmented, expensive nightmare. You need separate subscriptions for: web scraping, AI copywriting, market research, design software, voice generation, video editing, cloud storage, and analytics dashboards. The result? Days of manual coordination, inconsistent quality, and agency fees that bankrupt startups.

Modern businesses waste hours manually:

  • 🔍 Researching competitors
  • 📊 Analyzing market trends
  • ✍️ Writing marketing copy
  • 🎨 Generating product images
  • 🎙️ Recording voiceovers
  • 🎬 Editing videos
  • 📦 Organizing digital assets

💡 The Solution

Supernova is an autonomous AI marketing agent that unifies the entire campaign workflow into a single platform. Hand it a product URL, and a fleet of specialized AI agents orchestrates everything — research, strategy, copywriting, visuals, voice, video, and cloud storage — automatically.

🔗 Product URL
     ↓
🧠 Market Intelligence (competitors, audience, positioning)
     ↓
✍️ Script Generation (duration-aware ad & b-roll copy)
     ↓
🎨 AI Image Studio (premium ad creatives)
     ↓
🎙️ Voice Generation (natural-sounding TTS)
     ↓
🎬 Video Composition (Remotion-powered, audio-synchronized)
     ↓
☁️ Cloud Storage (Backblaze B2, downloadable ZIP)
     ↓
🚀 Ready-to-Publish Campaign

✨ What It Does

🔗 URL → Intelligence

Drop any product URL (Amazon, Shopify, Etsy, eBay — auto-detected). Supernova scrapes and parses the page into clean structured product data — title, price, description, features, and high-quality images — with a smart cleaning pipeline that strips markdown, HTML artifacts, and duplicates.

🧠 Autonomous Market Intelligence

An AI strategist agent (prompted as "an elite consultant billing $500/hour") produces a complete competitive analysis: ideal target audience (age, gender, income, interests, pain points, buying motivation), competitor profiles (strengths/weaknesses/positioning), marketing angles, emotional hooks, recommended platforms with suitability scores, and a full campaign strategy with CTA — all returned as structured, validated JSON.

✍️ Duration-Aware Script Generation

Not just "write me an ad." Supernova generates scripts tuned to the second: 15s (4 scenes, 35-45 words), 30s (7 scenes, 75-90 words), 45s (10 scenes), or 60s (12-15 scenes) — in two distinct styles: High-Conversion Ad (aggressive paid-social hooks) or Organic B-Roll (TikTok-native storytelling). A multi-model fallback cascade ensures the script always generates.

🎨 AI Image Studio

Generate premium advertising creatives in 6 styles (Bold, Luxury, Minimal, Vibrant, Elegant, Modern) and 4 formats — all running free in-browser via Puter.js image-to-image, transforming your product photo into studio-quality ad visuals.

🎙️ Natural Voice Generation

A script-cleaning engine strips all stage directions, scene markers, and formatting, leaving only pure spoken words — then ElevenLabs turns it into a natural voiceover that syncs perfectly with the video timeline.

🎬 Cinematic Video Composition

A Remotion-powered video engine renders client-side with:

  • Audio-synchronized captions — script segments timed precisely to the voiceover
  • 8 luxury brand palettes (Noir & Gold, Old Money Navy, Emerald & Pearl, and more)
  • 6 caption styles (TikTok highlight, karaoke, cinematic outline…)
  • B-roll mode — alternating Pexels stock clips + product images with a glassmorphic CTA finale
  • Ad mode — branded showcase with particles, bokeh, confetti, and trust badges

☁️ Persistent Cloud Storage

Every campaign auto-saves to Backblaze B2 (S3-compatible) with full asset management — list, search, filter, and download entire campaigns as ZIP packages.


🏗️ Architecture

                         ┌────────────┐
                         │    User    │
                         └─────┬──────┘
                               ▼
┌──────────────────────────────────────────────────────────────┐
│              FRONTEND (Next.js 15 · React 19 · Vercel)        │
│   TypeScript · Tailwind v4 · Framer Motion · Zustand          │
│   ┌─────────────────────────────────────────────────────┐    │
│   │  API Routes — proxy + observability + never-fail     │    │
│   │  layer (timing logs, timeouts, fallback responses)  │    │
│   └──────────────────────┬──────────────────────────────┘    │
└──────────────────────────┼───────────────────────────────────┘
              ┌─────────────┼─────────────┐
              ▼             ▼             ▼
   ┌──────────────┐  ┌────────────┐  ┌──────────────────┐
   │ FastAPI      │  │ Supabase   │  │ Backblaze B2     │
   │ Backend      │  │ Database   │  │ Cloud Storage    │
   │ (Railway)    │  │ & Auth     │  │ (S3-compatible)  │
   └──────┬───────┘  └────────────┘  └──────────────────┘
          ▼
   ┌──────────────────────────────────────────┐
   │  Genblaze → OpenRouter (LLM cascade)    │
   │  Multi-model fallback circuit breaker    │
   └──────────────────────────────────────────┘

The Genblaze Orchestration Layer

Genblaze powers the two most critical reasoning stages — script generation and market intelligence. Because chat() is Genblaze's interface for text tasks, we built a production-grade orchestration system around it:

  • Multi-model fallback cascade — if one model fails, the next takes over automatically
  • Intelligent circuit breaker — distinguishes model-not-found errors (safe to retry) from auth/rate-limit errors (fail fast)
  • Centralized provider catalog — easy to add providers or adjust fallback priorities
  • Structured logging — every call logs provider, model, temperature, timing, and token usage

For image generation, voiceover, and video composition, Supernova uses dedicated best-in-class APIs (Puter.js, ElevenLabs, Pexels, Remotion) purpose-built for those modalities. Genblaze focuses on what it does best: orchestrating the reasoning that drives the entire campaign.


🧠 Engineering Highlights

The "Never-Fail" Market Intelligence and Script Pipeline

This is the engineering centerpiece. LLMs are notoriously bad at returning valid JSON. We solved it with a 5-layer defense system that guarantees a valid response every single time:

  1. JSON Schema enforcement via response_format parameter (with graceful fallback for unsupported models)
  2. Comprehensive JSON repair — handles trailing commas, single→double quotes, unquoted keys, quoted booleans, JS-style comments, control characters, and escaped quotes
  3. Regex extraction of embedded JSON objects
  4. Schema validation & fill — ensures all required fields exist with sensible defaults
  5. Minimal fallback object as the absolute last resort

The pipeline never returns None, never raises, and never returns a non-200. The frontend always gets workable data.

The Multi-Model Circuit Breaker

model_1 ──404──→ model_2 ──404──→ model_3 ──✓──→ return
   │
   └──auth/rate-limit──→ FAIL FAST (don't waste the cascade)

It distinguishes model-not-found errors (safe to retry with next model) from auth/rate-limit errors (fail immediately). No wasted API calls, no cascading failures.

Audio-Synchronized Video Rendering

The Remotion video engine parses the script into caption segments timed to the audio duration — so as the voiceover plays, captions highlight in perfect sync. Image transitions, CTA scenes, and brand-palette state changes are all driven by the audio timeline as the master clock.


🛠️ Tech Stack

Layer Technology
Frontend Next.js 15, React 19, TypeScript, Tailwind CSS v4, Framer Motion, Zustand
Backend FastAPI, Python, Pydantic, Uvicorn
AI Orchestration Genblaze, OpenRouter (multi-model cascade)
Image Generation Puter.js (in-browser, free)
Voice Synthesis ElevenLabs TTS
Stock Media Pexels API
Web Scraping Jina AI Reader
Video Composition Remotion (client-side rendering)
Cloud Storage Backblaze B2 (S3-compatible, via boto3)
Database & Auth Supabase
Deployment Vercel (frontend) + Railway (backend)

🚀 Try It

Live App: appsupernova.vercel.app

  1. Sign in (or hit Explore Demo for instant access)
  2. Paste a product URL
  3. Pick your style (Ad / B-Roll), format, duration, and brand palette
  4. Watch the AI agents work through the pipeline
  5. Download your finished campaign

📊 By The Numbers

Metric Value
Build time 7 days, solo, on a Chromebook
React components 68+
API routes 11
Backend endpoints 10
External services integrated 6
AI models in fallback cascade 5
Brand palettes 8
Caption styles 6
Lines of code ~31,000

🎯 What Makes This Different

Most "AI marketing" tools do one thing — write copy, or generate images, or make videos. Supernova is the complete vertical pipeline: it doesn't just generate a script, it researches the market first so the script is grounded in real competitive intelligence, then generates the visuals to match, then the voice, then composes the final video — and stores the entire thing in the cloud, downloadable as a package.

The difference between "AI wrote me a paragraph" and "AI produced my entire campaign" is the difference between a tool and an agent. Supernova is an agent.


🔗 Links


Built solo in a week. Built to ship. → Try Supernova

Supernova — Turn any product into a complete marketing campaign instantly.

Built With

  • ai
  • automation
  • b2
  • backblaze
  • css
  • elevenlabs
  • fastapi
  • framer
  • genblaze
  • generative
  • jina
  • learning
  • machine
  • marketing
  • motion
  • next.js
  • openrouter
  • pexels
  • python
  • railway
  • react
  • supabase
  • tailwind
  • typescript
  • vercel
Share this project:

Updates

Submission history