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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NDItMDE3ZjIxYzgtYThkMi00YjcwLWIyMWItNjBjMWQwM2EyOGUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiOGZkOTZkNmRjNjQ3Y2YzMmY0YTNhNTE2M2UyOTg2MDY2ODlhNzBiN2VjZmJhZGRlNWRkNDZjNjQzYmNkZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7m9vochmIkG4NrJxB_kyZ2fFqK_yoDsKpQoVP28Y6oU)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NTQtYTIzMmRkODktOWE2Yi00ZjZkLWJjNmItOTllYzkyODFmYzc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzZmQ0YTk5YWQ3ZWVlZGU4MzExZDQzNTdhNTgwOWU1NjJiOTA1OTRkYmJiNmExMDcxNTAwYzNkOGM1YTNlY2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.H63YQW5NgVD6pEPVjFQ-dq0J7we5y-uBFM23i4zyqvs)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NjQtYThmMDRlYzktMmEzYi00MDdhLThmMTgtM2M5NDhkMWZhNTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0MjhmNDE2OGMzYTc0MTRmZDBhMTI3NjBmMWI3NWViNTRjOTE3NjQ5NDg0NTg3MGI2MzZjOGE1ZTFhYzlmOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hecRaPYoWJaYU874H1_bku4zutdf-hTxGkKxk-CFxwA)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NzctMDI4YWI3NDQtODcwYy00MmQ1LWFhNWEtNzhmYTE5YTZkMzM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3OWUzZmE4YWZlNDg3MDg4MDNlNDQ1YTY5ZjM3MjFhZTk2YzE4NzBiNTA0ZGRlYTE5NWE2YzM2ZjY0ZmIyZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8lcNr-gq84G2t47nI2MDkY8vmB9rBqk9-0cYNv5Z1jo)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTEtNDZlMDk1YzYtYjM2OS00ZWIyLTllMWUtZTIxOWUxNzAzNTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5MjFhMmE2NDAwNDE4Mzc5ZDBhODI0YWY1MjJiZmVjYTgwNTkzODYwMTFlN2MzOTI1N2Q3ZTRkZDllNWViZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ymp5Akmoh8QpRZz8fMuP4_g7msmI7EIuK_JX7moLdos)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTktMThmNWIyZDItMjViMC00YjQxLWFkNWItMWM0NzMwMWEzMTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyYzI5OGE1OWY3MWI1NDQ3YTVmOTE4YTM5NWNkYzllZDE5ZTRlMmZiYzlhMGU1MDIyNWNiYWZhNjUyZWM1YTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QpFPCmGgudLfn4QuxlneRDQ71XjIzdO3CKfnOCweekA)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNzc4NjAsIm5iZiI6MTczOTA3NzU2MCwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU4MDQtMTI5MmE0ZjEtZTEwMS00ODM3LTkwYmQtNjAxOGY4ZjYxMjg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA1MDYwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiNjg4MjU5ODkxMTRkN2FkMDMwNzMzYzFhNDFkMWRmNGMzY2E1OTE1M2ZlZDQ1M2VkZmQzYWRkMTNjZGNiZmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.5x1i_XAxrFkMkFOORIM-ySnhRBKlKZjekO2iGT08JRY)
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.