
Open-source AI headshot generator built on Next.js and Astria
By Tanmay Verma, Founder · Last verified 01 Jun 2026
Affiliate disclosure: We earn a commission when you use our links. Editorial picks are independent. How we choose.
A solid launchpad for devs wanting to build an AI headshot SaaS, but not a turnkey solution. Requires self-hosting and configuring multiple services (Astria, Supabase, Stripe). Best for developers who want full control.
Compare with: HeadshotGenerator.io vs MimicPC, HeadshotGenerator.io vs Novelai, HeadshotGenerator.io vs HeadshotPro
Last verified: June 2026
This starter kit is a developer-first tool, best suited for those who want to build and customize an AI headshot generator from scratch. It leverages open-source technologies and provides a clear architecture with Next.js, Supabase, and Astria. The biggest advantage is the ability to modify every aspect of the app, from training prompts to billing. However, it requires significant setup: you need an Astria API key (paid plan), configure Supabase, Stripe, and Vercel Blob environment variables. Non-developers will find it inaccessible. The closest alternative is a fully managed service like HeadshotPro, but that comes with less flexibility and higher per-use costs. Real-world caveats: training models only works on Astria paid plans, so expect costs. Also, the project hasn't been updated recently (last commit shows 'Incoming changes' and PRs). So while it's a great educational resource, using it for production may require extra effort. For developers wanting to learn or quickly prototype, it's a strong choice.
Skip HeadshotGenerator.io if Skip HeadshotGenerator.io if you need a ready-to-use AI headshot service without any coding, or if you don't have a paid Astria API key for model training.
How likely is HeadshotGenerator.io to still be operational in 12 months? Based on 6 signals including funding, development activity, and platform risk.
HeadshotGenerator.io is an open-source starter kit for building a professional AI headshot generator SaaS. Powered by Next.js, Astria.ai, Supabase, and Vercel, it allows developers to quickly create apps that train custom AI models on user photos and generate high-quality headshots. The project is ideal for developers and makers looking to launch an AI application with minimal setup. Key features include Astria-based model training and inference, Supabase for authentication and database management, Stripe for credit-based billing, and optional email notifications via Resend. Image uploads are handled via Vercel Blob, and styling uses Shadcn with Tailwind CSS. Compared to closed alternatives, this open-source template gives full control over code and deployment, but requires manual setup of environment variables and third-party services like Astria and Stripe. It is not a ready-to-use product for non-developers.
Tell us what you want to build — we'll match the AI tools that fit your goal, budget & existing stack.
Concrete scenarios for the personas HeadshotGenerator.io actually fits — and what changes day-one when you adopt it.
Fork the repo, click the Vercel Deploy button, connect Supabase, and configure Astria API key.
Outcome: Deploy a working headshot generator within 30 minutes, then customize billing and UI.
Clone the repo, modify branding and pricing, integrate custom Stripe plans, and add analytics.
Outcome: Launch a branded service without building from scratch, leveraging pre-built auth and billing.
Use the template as a reference for integrating Astria's API, Supabase, and Stripe into an existing Next.js app.
Outcome: Add AI headshot features to an existing product with minimal additional infrastructure.
Requires development expertise to customize and maintain. AI model training only available on Astria's paid plans. Costs from Astria, Vercel, and Supabase are separate and not included. No built-in user authentication or payment processing – you must integrate Supabase auth and Stripe yourself. Performance depends on your Vercel plan and Astria API latency. The base template does not include multi-user management or enterprise features.
Project the real annual outlay, including the implied monthly cost when only an annual tier is published.
Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.
For each published HeadshotGenerator.io tier: who it actually fits, and what it adds vs. the previous tier. Cross-reference the cost calculator above for projected annual outlay.
Classic Tier
$19
Ideal for
Developers testing the waters or building a minimal viable product with basic AI headshot generation
What this tier adds
Starting tier at $19 — likely a single credit or basic access to the headshot generation feature
Classic & Fun Tier
$29
Ideal for
Solo creators who want additional style options or higher-quality generations for a portfolio launch
What this tier adds
Adds 'fun' prompt packs or extra generation credits compared to Classic Tier, priced at $29
Bulk Tier
$290
Ideal for
Small teams or agencies needing to generate headshots for multiple clients at scale
What this tier adds
Volume pricing at $290 for bulk credits — ideal for high-volume use cases
The company stage and team size where HeadshotGenerator.io's pricing actually pencils out — and where peers do it cheaper.
The template itself is free and open-source. You pay for the underlying services: Astria (paid plan for training), Vercel (Hobby free or Pro $20/mo + usage), Supabase (free tier or Pro $25/mo), and Stripe (transaction fees). Compared to managed services like HeadshotPro ($29/mo for 100 headshots) or Aragon.ai ($39/mo for 50 headshots), self-hosting can be cheaper at scale but has higher upfront setup costs. Best for developers who can manage infrastructure trade-offs.
How long it actually takes to get something useful out of HeadshotGenerator.io — broken out by persona, not the marketing-page minute.
For a solo developer familiar with Next.js and Vercel: 15-30 minutes to deploy via the Vercel template and connect Supabase. Configuring Astria and Stripe adds another 30-60 minutes. Non-developers should expect several hours of setup and learning.
How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.
Pricing, brand, ownership, or deprecation changes worth knowing before you commit. Most-recent first.
Common stack mates teams adopt alongside HeadshotGenerator.io, with the specific reason each pairing earns its keep.
Used HeadshotGenerator.io? Help shape our editorial sentiment research.
© 2026 RightAIChoice. All rights reserved.
Built for the AI community.
Last calculated: June 2026
In-depth guides, videos, and tutorials for building and deploying with Vercel. Covers AI agents, frameworks, SDKs, backend, security, and more.
AI headshot generator creating professional headshots from 1-3 selfies in minutes.