๐จ AI Logo Studio
June 29, 2026 ยท View on GitHub
Design professional brand logos from text prompts or sketch references in seconds. A production-ready, self-hostable Next.js SaaS boilerplate with text-to-logo and image-to-logo generation, brand identity concepts, and built-in Stripe billing. A free open-source alternative to Looka, Brandmark.io, LogoAI, Wix Logo Maker, and Canva AI โ powered by the MuAPI Nano Banana Pro engine.
Tech stack: Next.js 14 (App Router) ยท Prisma ยท PostgreSQL ยท NextAuth (Google OAuth) ยท Stripe ยท Tailwind CSS ยท MuAPI Nano Banana Pro Use cases: Startup branding ยท Small business logos ยท Freelance designers ยท Agency rapid prototyping ยท Product launch identity ยท App icon design ยท Social media branding ยท Ecommerce store branding

https://github.com/user-attachments/assets/92a4749e-7bed-4333-954a-960bbc9d6179
๐ Try the Live Engine
Hosted Demo: ai-logo-studio-rho.vercel.app
Experience the full dark-mode, responsive interface. Sign in with Google to explore the Logo Generation Workstation, advanced aspect ratio options, custom sketch overlay uploads, and credit tiers directly from your browser.
AI Logo Studio is a production-ready, highly-optimized AI web application. Out of the box, it seamlessly manages User Authentication, Credits & Billing, Creations Persistence, and asynchronous AI logo generation using a sleek Next.js (App Router) architecture. It empowers you to build professional-grade AI workflows with built-in mobile optimization, making it the perfect starting point for your next AI SaaS.
Why use AI Logo Studio?
- Production-Ready SaaS โ Complete with Google OAuth and Stripe Checkout workflows built-in.
- Advanced Logo Workstation โ Input text prompt descriptors, select custom resolution sizes (1K, 2K, 4K), choose aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4, 21:9), and toggle Smart Prompt Expansion.
- Sketch-to-Logo Engine โ Upload your own draft concepts or sketch ideas to guide the generation (routed automatically to
nano-banana-pro-edit). - History Archive & Live Viewer โ Review previously generated logos in a unified grid, view draft inputs alongside final results in the detail panel, and download high-resolution outputs.
- Responsive UX โ Custom styled dropdowns, micro-animations, loading state counters, and mobile-ready overlays.
โจ Core Features
- Logo Workstation โ Convert textual ideas into professional brand identities. Automatically routes to Nano Banana Pro for text inputs and Nano Banana Pro-Edit when a reference sketch or image is uploaded.
- Resolution & Credits Tiering โ Generate 1K Standard or 2K High-Res logos for 18 credits per request, or go up to 4K Studio resolution for 36 credits.
- Interactive Sketch Uploads โ Easily drag-and-drop or select JPG/PNG files up to 5MB to serve as logo layouts. High-end comparison detail modal renders the sketch concept overlaid on the generated final logo for perfect visual validation.
- Creations History โ Persist all generation details, input images, status states, and final images to PostgreSQL. Real-time background polling handles async callbacks from MuAPI automatically.
- Credit Billing โ Fully integrated Stripe checkout workflows. Top up account credits through flexible, tier-based pricing packs ($1 = 200 credits) to support continuous logo creation.
- Beautiful & Dynamic UI โ Dark-mode glassmorphic dashboard styled with Tailwind CSS, complete with custom styled dropdown selectors and full mobile menu navigation.
โก Deployment: Vercel & Production
Deploying an instance of AI Logo Studio to the web requires minimal configuration. The architecture is engineered explicitly for Vercel serverless environments.
One-Click Deploy
๐ Required Environment Variables
To successfully deploy and run, populate the following environment variables in your Vercel project settings:
| Service | Variable | Description & Source |
|---|---|---|
| Database | DATABASE_URL | PostgreSQL connection string (Supabase or Neon) |
DIRECT_URL | Direct DB connection for Prisma migrations | |
| NextAuth / Google | NEXTAUTH_SECRET | Secure random string generated via openssl rand -base64 32 |
NEXTAUTH_URL | Your production domain (e.g. https://your-app.vercel.app) | |
GOOGLE_CLIENT_ID | Get from Google Cloud Console | |
GOOGLE_CLIENT_SECRET | Get from Google Cloud Console | |
| Stripe Billing | STRIPE_SECRET_KEY | Get from Stripe Dashboard |
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | Get from Stripe Dashboard | |
STRIPE_WEBHOOK_SECRET | Webhook secret for resolving credit purchases | |
| AI Generator | MUAPIAPP_API_KEY | Create an account and get key from muapi.ai/access-keys |
WEBHOOK_URL | Public domain URL (e.g. https://your-app.vercel.app) for async generation webhooks |
๐ Launching on Vercel: Step-by-Step
- Database Provisioning: Create a new Postgres database (via completely free tiers on Vercel Postgres, Supabase, or Neon). Retrieve the pooling connection string (
DATABASE_URL) and direct connection string (DIRECT_URL). - Project Creation: Import your GitHub fork into the Vercel dashboard.
- Configure Environment Variables: Copy the variables above into the Vercel project settings environment tab.
- Deploy: Hit "Deploy". Vercel will automatically run the build steps (
npm run build). - Database Push: Since Prisma does not automatically migrate via Vercel builds by default, you may want to append
npx prisma db push &&to your Vercel build command, or manually run it locally pointing to your production database URL. - Integrations Setup:
- Establish a Google Cloud OAuth app, enabling the callback URL:
https://your-app.vercel.app/api/auth/callback/google - Setup a Stripe Webhook, pointing to
https://your-app.vercel.app/api/stripe/webhookand selecting thecheckout.session.completedevent to grab your webhook signing secret. - Configure a webhook receiver on your app at
/api/webhook/muapifor async AI generation updates.
- Establish a Google Cloud OAuth app, enabling the callback URL:
๐ ๏ธ Local Development
Ready to iterate locally? Setup is straightforward.
Prerequisites
- Node.js (v18 or higher)
- A local PostgreSQL instance or a free cloud Database URL.
Setup
# 1. Clone the repository
git clone https://github.com/SamurAIGPT/ai-logo-studio
cd ai-logo-studio
# 2. Install dependencies
npm install
# 3. Setup Environment
cp .env.example .env
# Open .env and insert your specific keys. You can use a local DB or your dev cloud DB.
# 4. Initialize Database Schema
npx prisma generate
npx prisma db push
# 5. Start the Development Server
npm run dev
The workstation should now be running on http://localhost:3000.
๐๏ธ Database Setup (Prisma Introspection Cycle)
โ ๏ธ Database Safety Warning: This application shares a single PostgreSQL database instance on Supabase with other applications in this workspace. Follow the cycle below to synchronize models safely:
- Pull all existing tables:
npx prisma db pull(introspects all active tables)- Declare relation changes: Inject the
LogoCreationmodel in your localschema.prismaand link it inside theUsermodel.- Push to database: Run
npx prisma db pushto merge changes safely.- Local Schema Cleanup: Strip away other applications' models from your local
schema.prisma, leaving onlyAccount,Session,User,VerificationToken, andLogoCreation.- Compile local client: Run
npx prisma generateto build your local Prisma client.
๐๏ธ Technical Architecture
This application decouples visually rich UI elements from core business logic layers, emphasizing modularization.
ai-logo-studio/
โโโ prisma/
โ โโโ schema.prisma # Postgres tables: Users, Accounts, Sessions, LogoCreations
โโโ src/
โ โโโ app/ # Next.js App Router
โ โ โโโ api/ # Backend API Routes
โ โ โ โโโ auth/ # NextAuth credentials handling
โ โ โ โโโ logo/ # Credit deduction and MuAPI generation trigger
โ โ โ โโโ logos/ # GET (fetch history) and DELETE creations endpoints
โ โ โ โโโ upload/ # Proxy uploads for image sketches
โ โ โ โโโ stripe/ # Stripe checkout sessions & webhook routing
โ โ โโโ dashboard/ # Detailed gallery dashboard for user creations
โ โ โโโ pricing/ # Interactive subscription & packaging tiers
โ โ โโโ globals.css # Styling system and Tailwind directives
โ โ โโโ layout.js # Core layout configuration
โ โ โโโ page.js # Main Workstation logo generator page
โ โโโ components/
โ โ โโโ layout/
โ โ โ โโโ Navbar.jsx # Sticky responsive navigation component
โ โ โโโ Providers.js # NextAuth SessionProvider wrapper
โ โโโ lib/
โ โโโ prisma.js # Shared ORM client singleton
โ โโโ auth.js # NextAuth adapter configuration
โ โโโ config.js # Central config mapping Google, Stripe, MuAPI keys
โ โโโ stripe.js # Stripe instance initializer
โ โโโ services/
โ โโโ user.js # Credit management service
โ โโโ billing.js # Stripe checkout and webhook event parser
โโโ next.config.mjs # Next Configuration
โโโ package.json
๐ Related Templates
Check out other open-source SaaS templates from the same ecosystem:
| Template | Description | GitHub |
|---|---|---|
| My Podcast Studio | Lifelike voice narration and speech generator SaaS | github.com/SamurAIGPT/my-podcast |
| TryOn AI | AI Virtual Try-On & Outfit Fitting SaaS | github.com/SamurAIGPT/ai-tryon |
| AI Social Post Generator | High-conversion AI social feed manager | github.com/SamurAIGPT/social-post |
| AI Kissing Video Generator | Photorealistic romance video generator | github.com/SamurAIGPT/ai-kissing-video-generator |
| Nano Banana Generator | Multi-model AI image generator platform | github.com/SamurAIGPT/nano-banana-generator |
๐ License
MIT Licensed. Fork it, brand it, and start earning.
AI Logo Studio: A premium, dark-mode, fully responsive AI vector brand logo workstation built for agencies, designer professionals, and brand builders.