This is an image generator AI tool built with Node.js, Express, and the OpenAI API. It allows you to create unique and creative images using advanced artificial intelligence algorithms.
- Easy-to-Use Interface: Simple web interface for generating images.
- Powered by OpenAI: Utilizes the power of OpenAI API for image generation.
Before you begin, ensure you have met the following requirements:
- Node.js installed
- npm (Node Package Manager) installed
- OpenAI API key (sign up on OpenAI if you don't have one)
-
Clone the repository:
git clone https://github.com/BishoySedra/Image_Generator_AI_Tool.git
-
Navigate to the project directory:
cd Image_Generator_AI_Tool
-
Install dependencies:
npm install
-
Copy the
.env.example
file to.env
and fill in the essential credentials:cp .env.example .env
Update the
.env
file with your OpenAI API key. -
Start the application:
npm start
The application will be accessible at http://localhost:3000 or any port you specify in your
.env
file.
Make sure to set the following environment variables in your .env
file:
OPENAI_API_KEY
: Your OpenAI API key.PORT
: Your Server Port "OPTIONAL"