The following technologies have been utilized in this project:
- Node.js: A JavaScript runtime that allows server-side execution of JavaScript code.
- OpenAI API: An interface provided by OpenAI that enables the generation of images based on user prompts.
- MongoDB: A NoSQL database used for storing and managing data.
- Mongoose: A MongoDB object modeling library for Node.js that provides a straightforward way to interact with the database.
To use Imagify, you need to have Node.js and MongoDB installed on your machine. Follow the steps below:
-
Clone the repository: git clone https://github.com/your-username/AIchatbot.git
-
Install the dependencies: cd imagify npm install
-
Set up environment variables: Create a
.env
file in the root directory of the project and provide the required environment variables. For example:
OPENAI_API_KEY=your_openai_api_key MONGODB_URI=your_mongodb_uri
-
Start the server: npm start
-
Open a web browser and navigate to
http://localhost:3000
to access the Imagify application. -
Follow the instructions provided by the application to input prompts and generate images based on your descriptions.
Contributions to Imagify are welcome! If you find any bugs, have suggestions for improvements, or want to add new features, please create an issue or submit a pull request. Make sure to follow the project's code of conduct.
- The developers of Node.js, OpenAI API, MongoDB, and Mongoose for providing the tools and libraries used in this project.
- The open-source community for their continuous contributions to the software development ecosystem.