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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NDItMDE3ZjIxYzgtYThkMi00YjcwLWIyMWItNjBjMWQwM2EyOGUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDL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VkSGVhZGVycz1ob3N0In0.jElkQG_v0z4CyJGwHsuSWH06Bq62aSyGyLiQqqQXaVw)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NjQtYThmMDRlYzktMmEzYi00MDdhLThmMTgtM2M5NDhkMWZhNTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMjY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNjMjkyMTBhOTVjY2JhYmQ3YjUzMTk2OWM4YTk1YTc1NzcyODg1ZjVjNzUxOWFjYThjNTA5YzZlYmVhNzFlMmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.LaupuSnbyAuBbJqN9mxeO51B_BAunX2vLWTZnvVT6S4)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3NzctMDI4YWI3NDQtODcwYy00MmQ1LWFhNWEtNzhmYTE5YTZkMzM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMjY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFhY2QwNmE4MmEzMzAwNmJiOTkxMmQwMGQ5NTBmZGY1MmYxMzBiZTViMDVjMzgwZGM4MGFkYmM3MTg3NGMyNGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cou-_00-Uc92-1naXGE_Uzwlvi9yIwbD_9QtVtqwWPQ)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTEtNDZlMDk1YzYtYjM2OS00ZWIyLTllMWUtZTIxOWUxNzAzNTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMjY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmY2VkZjVhNDIzYTNjYTIyMDNjYTllNDdmYjM4NDYzYjU5NGUwZDA4NTM5ZThhYmVhYzFjNzY5YTQ5ODc2ZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-XCcDvCiXtF7Njq_0KS-YBzx5BAz0oWgL4W_PhwTE4A)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU3OTktMThmNWIyZDItMjViMC00YjQxLWFkNWItMWM0NzMwMWEzMTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMjY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1NmRlMTEzOTU0MTQyMzFmNjE4MTJiMjdjMTUxZWY1MTdiZjFiN2RjYmNiYWUzMjY4MmI4YTZkMzAxOThmMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Mp8KKmxa6_k6uvVOk7nZBItvnMVgtb328qgtEu3pC0E)
![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDMxMDEsIm5iZiI6MTczOTQwMjgwMSwicGF0aCI6Ii82MTQ1MDI0Ni8yNTcwMzU4MDQtMTI5MmE0ZjEtZTEwMS00ODM3LTkwYmQtNjAxOGY4ZjYxMjg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIzMjY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0NWU4ZjVlZGQ0ZjExNmFiMzNkZGU3MWRjMTRmYmIxNWMyODAwYTU0YWU3Y2IwNWE2MmI1ZDc4M2U3NzFjMWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qhUf7bZ9uhx-V6_xrknBeJjM6IiWKPhkiIqSxTFUuds)
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.