AI-SaaS is an advanced and adaptable Software-as-a-Service (SaaS) application that harnesses the capabilities of cutting-edge technologies, including Next.js, OpenAI, Replicate, Tailwind CSS, Prisma, and Stripe. The primary goal of this application is to empower users by offering AI-powered services that facilitate easy access and utilization of artificial intelligence in their projects and workflows.
-
AI Services: AI-SaaS provides an extensive array of AI services, including conversation, code generation, image generation, music generation, and video generation. These services are accessible through an intuitive and user-friendly interface.
-
Next.js: AI-SaaS is built on the Next.js framework, offering server-side rendering, routing, and other essential features out of the box. This ensures superior performance and search engine optimization (SEO) for the application.
-
OpenAI Integration: The application seamlessly integrates with OpenAI's powerful AI models and APIs, enabling users to leverage state-of-the-art AI capabilities. From generating human-like text to answering questions, AI-SaaS harnesses the full potential of OpenAI.
-
Replicate: AI-SaaS employs Replicate to enhance model reproducibility and facilitate seamless experimentation with various AI models. This ensures the AI models used in the application are robust and reliable.
-
Tailwind CSS: The UI of AI-SaaS is meticulously styled using Tailwind CSS, a utility-first CSS framework. This enables easy customization and consistent design throughout the application.
-
Prisma: The application utilizes Prisma as its ORM (Object-Relational Mapping) tool, simplifying database access and management. This enhances the efficiency of handling user data and preferences.
-
Stripe Integration: AI-SaaS seamlessly incorporates Stripe for secure and efficient payment processing. Users can subscribe to premium plans and access additional AI services based on their subscription level.
![Screenshot 2023-07-30 at 11 33 59 AM](https://private-user-images.githubusercontent.com/61450246/257035742-017f21c8-a8d2-4b70-b21b-60c1d03a28e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NDItMDE3ZjIxYzgtYThkMi00YjcwLWIyMWItNjBjMWQwM2EyOGUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1NGYxM2FmYzBjZTIyODg3MTU2MTAxYjI0MTUzYzBkMDJlOWEzMmJiZTFkMmM2ZjJkMWU2MjhiNzg0ZmUyNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vajlFyhPCIV7uBZmVjfRhyNonnYi-Of820NB7g-H4DA)
![Screenshot 2023-07-30 at 11 40 43 AM](https://private-user-images.githubusercontent.com/61450246/257035754-a232dd89-9a6b-4f6d-bc6b-99ec9281fc78.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NTQtYTIzMmRkODktOWE2Yi00ZjZkLWJjNmItOTllYzkyODFmYzc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFkZDIzODc5Y2MzMDg2NTdjNTFkOWM4NjE3ZTE3OGMxMjU4Mjg5M2FmOTE0NTAyZDliYzE3MzM0ZTFlZjc5NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.11JFKAE4Y5Thm97cEOXQIZi-faiTJpDeGkSy4YqLEf4)
![Screenshot 2023-07-30 at 11 41 18 AM](https://private-user-images.githubusercontent.com/61450246/257035764-a8f04ec9-2a3b-407a-8f18-3c948d1fa592.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NjQtYThmMDRlYzktMmEzYi00MDdhLThmMTgtM2M5NDhkMWZhNTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyMDFjY2ZhNzBmNjg1ZTc2MjM5ZTM4ZDMxMTdmYThkN2MwMWExZjk3NjQxYzhjNTBmNjM5NjEwOGM3OGZjMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Rgo5niI-RJJHcFX3S_vdsERZTaK-xjzX607IH4XLBYM)
![Screenshot 2023-07-30 at 11 41 53 AM](https://private-user-images.githubusercontent.com/61450246/257035777-028ab744-870c-42d5-aa5a-78fa19a6d334.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NzctMDI4YWI3NDQtODcwYy00MmQ1LWFhNWEtNzhmYTE5YTZkMzM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyMDM2OGIwOGFjNjcyMWU5MTdmZDAxM2ViZDJiNWNkYmIxZGIwZjFjYWJlOWEyNzMzOTZhYjY4ODY5MjA0NGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.c01k31wOebKQ1tX-oGM0wJiDjHyCPYGglMDl9WEWuUw)
![Screenshot 2023-07-30 at 11 42 23 AM](https://private-user-images.githubusercontent.com/61450246/257035791-46e095c6-b369-4eb2-9e1e-e219e1703565.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTEtNDZlMDk1YzYtYjM2OS00ZWIyLTllMWUtZTIxOWUxNzAzNTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0ODYxNDQ1NGQ4NDJiZjlhNjYyNDdmOGQzMDg2NmRiNWEyZDVjODU2MTQ2NmQ3Y2QzZTExZDRhZDE4MmEyYzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Br3OZzJWWIzXMwBmEkOtLu5aGCifwelTPOo5SGilTSc)
![Screenshot 2023-07-30 at 11 42 38 AM](https://private-user-images.githubusercontent.com/61450246/257035799-18f5b2d2-25b0-4b41-ad5b-1c47301a3196.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTktMThmNWIyZDItMjViMC00YjQxLWFkNWItMWM0NzMwMWEzMTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQwZWI2MDMyODk1Y2ZhMDJhZGMwYTg0MTZhNTk2YzEwOTFmNDc1YmRhYjkzYTE4NWUzYWNhOTZlOTk3MzJhOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.neo47Xy3Lu_KuFJ_H2dQAWwJyXAOPI8Dj1qWFeulCCQ)
![Screenshot 2023-07-30 at 11 42 50 AM](https://private-user-images.githubusercontent.com/61450246/257035804-1292a4f1-e101-4837-90bd-6018f8f61288.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjA3MjQsIm5iZiI6MTczOTAyMDQyNCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU4MDQtMTI5MmE0ZjEtZTEwMS00ODM3LTkwYmQtNjAxOGY4ZjYxMjg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEzMTM0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ4OGNjZmNmNWQ1ZGNmZmYwYWIyODNmZWJhNGI4NzUxYTkwMWJjOTRjMTJkNzgxY2NhOGY2NTc5MTBhZjU0ODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qWeZfS4UKZVL_Ep2NQvxqR2XdaRp3eSMtE0udob13D4)
To run AI-SaaS locally, follow these steps:
- Clone the repository:
git clone https://github.com/ayusshrathore/ai-saas.git
cd ai-saas
- Install dependencies:
npm install
# or
yarn install
- Configure environment variables:
To ensure proper functionality, set up environment variables for API keys and other sensitive information. Create a .env
file in the root directory and populate it with the necessary variables. For reference, consult the .env.example
file for the required variables.
- Run the application:
npm run dev
# or
yarn dev
The application should now be running locally at http://localhost:3000
.
AI-SaaS can be deployed to various hosting platforms that support Next.js applications. Before deployment, make sure you have configured the necessary environment variables for production.
Contributions to AI-SaaS are highly appreciated! If you encounter any bugs or have suggestions for new features, please feel free to open an issue or submit a pull request.
When contributing, adhere to the existing code style and include comprehensive test cases for new features.
AI-SaaS is released under the MIT License.
AI-SaaS is built with the invaluable support and integration of several open-source projects and technologies. I extend my gratitude to the developers and maintainers of Next.js, OpenAI, Replicate, Tailwind CSS, Prisma, and Stripe for their significant contributions to the development community.