This Repository using OpenAI API to interact with ChatGPT & Dall·E 2. Built with ReactJS and Tailwind CSS
- Clone this repository
git clone https://github.com/harshitethic/Openai-clone/
- Install dependency library
npm i
- Copy
.env.example
to.env
and fill it with your API
cp .env.example .env
REACT_APP_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- Run Application
npm start
NOTE: Please take care of your API Key as OpenAI limits usage to $18.00 USD
You must first register on the openai website, then click the profile menu and select View API keys