# AI SaaS Starter Kit

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

https://topboilerplates.com/ai-saas-starter-kit

Framework: FastAPI | Pricing: Free | GitHub stars: 12

## Verdict

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.

## Description

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 and cons

+ 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

- 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-included
- rbac-roles
- payments-included
- subscriptions
- customer-portal
- image-generation
- file-storage
- file-uploads
- admin-dashboard
- api-routes
- agents-md
- open-source
- mit-licensed
- free-tier

## Stack

- Supabase
- Stripe
- Tailwind
- shadcn/ui
- Python
- TypeScript

## Links

- Website: https://topboilerplates.com/go/ai-saas-starter-kit
- GitHub: https://github.com/backblaze-labs/ai-saas-starter-kit

## Alternatives

- [SvelteKit AI Chatbot (jianyuan)](https://topboilerplates.com/sveltekit-ai-chatbot-jianyuan)
- [Laravel AI Chat](https://topboilerplates.com/laravel-ai-chat)
- [Cloudflare Agents Starter](https://topboilerplates.com/cloudflare-agents-starter)
