Meet Headshot AI: An Open-Source App That Generates Professional Headshots in Minutes.
Introducing Headshot AI, an open-source project from Astria AI that generates Professional AI Headshots in minutes.
Introducing Headshot AI, an open-source project from Astria AI that generates Professional AI Headshots in minutes.
Live Demo & Repository
- Experience the live demo here.
- Dive into the code by visiting the GitHub repository.
How It Works
The app is powered by:
- 🚀 Astria AI for AI model training
- 🚀 Astria AI to generate headshots
- ▲ Next.js for app and landing page
- 🔋 Supabase for DB & Auth
- 📩 Resend to email user when headshots are ready
- ⭐️ Shadcn with Tailwind CSS for styles
- 🔥 Replit for 1-click app run in the browser
Just add Stripe and you have a Headshot AI SaaS in a box.
Running Locally
To create your own Headshot AI app, follow these steps:
- Clone the repository:
git clone https://github.com/leap-ai/headshots-starter.git
2. Enter the headshots-starter
directory:
cd headshots-starter
3. Install dependencies:
For npm:
npm install
For yarn:
yarn
4. Create a new Supabase project and create the tables required for the app:
- Rename
.env.local.example
to.env.local
and update the values forNEXT_PUBLIC_SUPABASE_URL
andNEXT_PUBLIC_SUPABASE_ANON_KEY
from your Supabase project's API settings - For full
5. Create a Astria AI account
In your .env.local
file:
- Fill in
your_api_key
with your Astria AI - Fill in
your-webhook-secret
with a random string
6. Create a Resend account
- Fill in
your-resend-api-key
with your Resend API Key
7. Start the development server:
For npm:
npm run dev
For yarn:
yarn dev
Visit http://localhost:3000
in your browser to see the running app.
One-Click Deploy
Deploy the example using Vercel:
Or fork the repo and Deploy using Replit.
Additional Use-Cases
Headshot AI can be easily adapted to support many other use-cases on Astria AI including:
- AI Avatars
- Anime
- Portraits
- Story Illustrations
- Pet Portraits
- Product Shots
- Food Photography
& more!
Contributing
We welcome collaboration and appreciate your contribution to Headshot AI. If you have suggestions for improvement or significant changes in mind, feel free to open an issue!
Resources and Support
- Discord Community: Astria Discord
- Help Email: support@astria.ai
License
Headshot AI is released under the MIT License.