FrameFusion is a cutting-edge AI-powered image generation platform that combines state-of-the-art artificial intelligence with an intuitive user interface. It allows users to transform text descriptions into stunning visual content, making professional-grade image generation accessible to everyone.
- Multiple AI Models
- Flux (Default general-purpose model)
- Flux-realism (Photorealistic outputs)
- Any-dark (Dark artistic style)
- Flux-anime (Anime/manga style)
- Flux-3D (3D rendered graphics)
- Turbo (Fast generation)
- Advanced NSFW Detection
- Comprehensive content filtering
- Pattern matching system
- Multi-language support
- Real-time validation
- Modern Interface
- Clean, responsive design
- Toast notifications
- Loading states
- Image preview
- Gallery Features
- Personal image collection
- Generation history
- Image metadata
- Framework: Next.js 13 with App Router
- Language: TypeScript
- Styling:
- Tailwind CSS
- Shadcn UI components
- Animations: Framer Motion
- State Management: React Hooks
- Authentication: NextAuth.js with Google Provider
- Runtime: Next.js API Routes
- Database: PostgreSQL with Prisma ORM
- Image Processing: Sharp
- Payment Integration: Razorpay
- Security:
- Content safety checks
- Rate limiting
- Input validation
- Clone the repository:
git clone https://github.com/yourusername/framefusion
cd framefusion- Install dependencies:
npm install- Set up environment variables:
Create
.envfile with:
DATABASE_URL=your_postgresql_url
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_secret- Initialize database:
npx prisma generate
npx prisma db push- Start development server:
npm run devThe platform integrates with Pollinations AI for image generation with features like:
- Multiple model support
- Customizable image dimensions
- Seed-based generation
- No watermark option
Integrated for secure payment processing with:
- Order creation
- Payment verification
- Subscription management
- Secure checkout
- Navigate to Create page
- Enter your image description
- Select desired AI model
- Click Generate
- View and save your creation
- Sign in with Google
- View your generation history
- Manage subscription
- Access premium features
- Basic (Free)
- Limited generations
- Standard models
- Pro
- Unlimited generations
- All models access
- Priority processing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.