← Back to projects/ClipGen
Full-stack product · Built

ClipGen

Short AI videos from templates or from scratch, with accounts and paid plans.

  • Next.js
  • tRPC
  • Prisma
  • Neon
  • Redis
  • Stripe
Sample generator screen

Overview

ClipGen turns a prompt or a template into a short video. It is a full product rather than a demo: people sign in, are rate-limited, pay for plans, and get their clips stored and delivered.

Architecture

Request path

BrowserReact
Next.jstRPC routes
PrismaORM
NeonPostgres

Authentication

Sign inOAuth
Sessionwritten by hand
Redisrate limiting

Payments

Stripecheckout
Webhookone-time + recurring
Planupdated in database

Media

Promptor template
Gemini Veogeneration
Cloudinarystorage + delivery

SendGrid handles transactional email.

Key features

Templates or scratch

Start from a template or write your own prompt.

Accounts

Sessions and OAuth implemented by hand.

Paid plans

One-time and recurring payments through Stripe webhooks.

Rate limiting

Redis-backed limits on generation requests.

Technical stack

  • Next.js
  • tRPC
  • Prisma
  • Neon
  • Redis
  • Stripe
  • Cloudinary
  • SendGrid
  • Gemini Veo
clipgen · screens
Generator
GeneratorWrite a prompt or pick a template, then generate.
clipgen · screens
Templates
TemplatesStart from a ready-made template.
clipgen · screens
Your clips
Your clipsFinished videos, stored and delivered.
clipgen · screens
Pricing and billing
Pricing and billingOne-time and recurring plans via Stripe.
← PreviousNepSycNext →Chatly