Live project link: https://makescene.com.
📸 The MakeScene - OpenAI-Image-Generator allows you to create an image given a text prompt. Build using Node, Express, React & OpenAI APIs. The more detailed the description, the more likely you are to get the result that you or your end user want
-
Clone this repository into your local machine
git clone https://github.com/theakshaymore/openAI
-
In the root of project directory, run following commands:
-
(to start backend)
npm install npm start
-
(to start frontend)
cd frontend npm install npm start
-
-
Setup environment variables
- create ".env" file in root directory
- add following
PORT=8000 OPENAI_API_KEY='your key from openapi.com'