Transform your photos with the power of AI! Pictoria AI is your ultimate solution for creating/generating professional AI-generated photos, similar to the popular PhotoAI platform. Perfect for LinkedIn headshots, Instagram content, dating profile pictures, and professional portraits. Train AI model on your personal images and generate stunning, high-quality AI-generated photos within minutes.
If you want to learn how to create it please follow below tutorialπ:
β‘ Tutorial Link π: How to Build a $1M PhotoAI Sass Clone
β‘ Final Source Codeπ: https://dub.sh/wYWBX9z (Get 40% discount with code NEWYEAR40 Offer ends December 31st)
π― For customised solutions or deployment please contact: https://tally.so/r/wdlj0N
- π οΈ Complete SaaS built in modern Next.js
- π» Beautiful landing page included
- π€ Train AI model on your personal images
- π₯οΈ Clean & intuitive event monitoring dashboard
- π― AI-Powered Professional Photo Generation
- π¨ Custom AI Model Training
- πΌ Professional LinkedIn Headshots
- π Clean, modern UI on top of shadcn-ui
- π± Social Media Content Generation
- π³ Integrated Payment System
- βοΈ Email Notifications
- π Usage Analytics
- π ...much more
- Framework: Next.js 15 (App Router)
- Styling: Tailwind CSS, Shadcn UI
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth
- AI Integration: Replicate AI API
- Payment Processing: Stripe
- Email Service: Resend
- Language: TypeScript
Before you begin, ensure you have:
- Node.js installed (v20.x recommended, v18+ supported)
- A Supabase account
- A Replicate account
- A Stripe account
- A Resend account
git clone [your-repo-url]
cd Pictoria-AI-Starter-Code
npm install
# or
yarn install
# or
pnpm install
Create a .env.local
file in the root directory. Check .env.example
for required variables.
- Create a new Supabase project
- Create a new storage bucket named
generated_images
- Execute the SQL queries from
supabase-queries.md
in your Supabase SQL editor (You can also follow the tutorial video to setup the database) - Set up the database triggers and functions
- Make sure to setup the right RLS policies (You can also follow the tutorial video to setup the RLS policies)
Visit these links to set up your AI models:
For stock images (not for training), I have used Lummi AI
When training your custom model, ensure:
- 10-15 images in total
- Recommended breakdown for 12 images:
- 6 face closeups
- 3-4 half body closeups
- 2-3 full body shots
- No accessories on face/head
- Different expressions, clothing, backgrounds
- 1:1 resolution (1048x1048 or higher)
- Images under 45MB total size
Watch our detailed video tutorial for Stripe integration setup: Stripe Setup Tutorial
npm run dev
# or
yarn dev
# or
pnpm dev
Visit http://localhost:3000
to see your app.
βββ app/ # Next.js 15 app directory
βββ components/ # React components
βββ lib/ # Utility, Supabase & Stripe functions
βββ public/ # Static assets
βββ globals.css # Global styles
- Hobby: 1 trained model/month, 100 images/month
- Pro: 2 trained models/month, 300 images/month
- Enterprise: 5 trained models/month, unlimited images
For a complete setup walkthrough, check out our video tutorial.
Give a βοΈ if this project helped you!
If you have any question or want a custom build for your business, you can reach out to me via:
- E-mail : codebucks27@gmail.com
- Twitter: https://twitter.com/code_bucks
- Instagram: https://www.instagram.com/code.bucks/
MyChannel: https://www.youtube.com/codebucks My Website: https://devdreaming.com/