AI SaaS Starter Kit
A Next.js + FastAPI monorepo for shipping AI image-generation SaaS products

- Best for
- Teams building an AI image-generation SaaS who want auth, billing, and file storage pre-wired across a Next.js frontend and FastAPI backend.
- Skip if
- You don't want a two-language (TS + Python) monorepo, or you need a different AI provider than NVIDIA NIM out of the box.
AI SaaS Starter Kit by Backblaze Labs pairs a Next.js 16/React 19 frontend with a Python FastAPI backend in one pnpm monorepo. It bundles Supabase auth, Stripe subscription billing, NVIDIA NIM-powered text-to-image generation, and Backblaze B2 file storage with an admin console for users, jobs, and files.
Pros
- Full-stack: Next.js frontend and FastAPI backend both included, not just one side
- Stripe billing with Free/Pro/Team plans and a customer portal already built
- AI image generation pipeline wired end-to-end with Backblaze B2 storage
- Structured for AI coding agents with AGENTS.md and architecture docs
Cons
- Backed by Backblaze, so storage is opinionated toward B2 rather than S3/R2
- Two-language monorepo (TypeScript + Python) raises the setup bar
- Image generation tied to NVIDIA NIM/Genblaze SDK, less flexible if you want another model provider
Features
Auth and access
- Auth included
- RBAC / roles
Payments and billing
- Payments included
- Subscriptions
- Customer portal
AI capability
- Image generation
AI-friendliness
- AGENTS.md
What's in the box
- Admin dashboard
- File uploads
- API routes
Data and infra
- File storage
Licensing and commercial
- Open source
- Free tier
- MIT licensed
Alternatives

SvelteKit AI Chatbot (jianyuan)
An open-source SvelteKit port of Vercel's AI Chatbot template

Laravel AI Chat
Laravel + Inertia AI chat starter with streaming responses across 9 model providers

Cloudflare Agents Starter
An AI chat agent starter on Cloudflare Workers with Auth0 authentication