AI Genie is a personal project that harnesses the power of artificial intelligence to generate various types of content, including images, music, code, and videos.
- Multi-modal AI Generation: Create images, music, code, and videos using advanced AI algorithms.
- Unlimited Generations: Subscribe for unlimited access to all generation features.
- Secure Authentication: User authentication powered by Clerk.js.
- Stripe Integration: Seamless subscription payments through Stripe.
- Frontend: Next.js 13 with TypeScript
- Authentication: Clerk.js
- Database: PostgreSQL
- Payment Processing: Stripe
-
Clone the repository:
git clone https://github.com/sankarkalla2/Genie.git cd ai-genie
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.local
file in the root directory and add the following environment variables:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key CLERK_SECRET_KEY=your_clerk_secret_key NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up OPENAI_API_KEY=your_openai_api_key REPLICATE_API_TOKEN=your_replicate_api_token DATABASE_URL=your_database_url STRIPE_SECRET_KEY=your_stripe_secret_key STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret NEXT_PUBLIC_APP_URL=http://localhost:3000 UPLOADTHING_SECRET=your_uploadthing_secret UPLOADTHING_APP_ID=your_uploadthing_app_id
Replace the placeholder values with your actual API keys and credentials.
-
Run the development server:
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.