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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NDItMDE3ZjIxYzgtYThkMi00YjcwLWIyMWItNjBjMWQwM2EyOGUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjMWI4NjVkYTlmODliNjFmMzc2YzEzM2Q0MmM0NzFhNzdjZGVlMGVmZGI5YTljMTA3YTFjODFlMjY1NzA0ZjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.v5oy5pfCURt2DGuYoQbu_jICUm5oMQtr1jYM_bc8WQI)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NTQtYTIzMmRkODktOWE2Yi00ZjZkLWJjNmItOTllYzkyODFmYzc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkYmIwZDg2ZGU1NjE5NDRhZGRjNzBjMTg5MjE3NTMyNTI4NGQ0MTU2NTlhN2M5MzExZWU4MjA3ZTVlNTY0MDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dS4mMQVqtubFXK9QCmEQcBmcmdIALoyE0in__2aEU4A)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NjQtYThmMDRlYzktMmEzYi00MDdhLThmMTgtM2M5NDhkMWZhNTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5ZTE3YzYzMTcwZmFjZmNjMzg1ZjI4NGE1MTQ0MzE3MDM1YjkwODdjYmMzYzgwZDZkMTQ1N2FlNWE4NDE2OTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.U7zCn2p9Rys72Htx1f2BzqJiCONHv0AxUAD_9rbjP70)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NzctMDI4YWI3NDQtODcwYy00MmQ1LWFhNWEtNzhmYTE5YTZkMzM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4NDAwYTQ5YWUxNzRmNjZjODQ0ZWE5ZDExMzA0M2VkMmQxMDcyZGNhNDZlNGM5YTBlNzNiYWQ3OWUxMjcwMzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OjRTTuGbwuo56uL5RROPZe8GWi7EZwtoCwRjuVClYZ0)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTEtNDZlMDk1YzYtYjM2OS00ZWIyLTllMWUtZTIxOWUxNzAzNTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU0NzQ0YmFkMDVmMTUzZjU3NDY3MjI3MDFkODc2MzdkNTBlOTQzNDY5YThjNWE2MDU5NTVhMjNlMDliYjUwZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Rw1YX9JMI6L-TFk-Ddnhb8mZrkeLSoFmmm6UT-rguZw)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTktMThmNWIyZDItMjViMC00YjQxLWFkNWItMWM0NzMwMWEzMTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2YWFkMTcxMDhiZjE4NWNhZWE0ZDFhMDhkOGQxMjVhZWFkYzI2OTk3NmUxZGE4MTRjNmYxYTU2ZGE2ZTFkZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TE-kok-XMRiEpY8A8N1bLz_HxU1kquN9UHYIHZY0-wY)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMzNDYzODYsIm5iZiI6MTcyMzM0NjA4NiwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU4MDQtMTI5MmE0ZjEtZTEwMS00ODM3LTkwYmQtNjAxOGY4ZjYxMjg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODExVDAzMTQ0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0MmFlZjVkNmZhNGRmOGM4MDMwMDdjYzkwYzJhMzEyMTdiZGNiZjAzYjQ4Mjk3MmI1YmUzNzI5NzIzZjkzNDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uXPLY1KcC95ulYPRYp3b1mceNGbfxLnFw7eQfpcpmwY)
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.