Image Generator using OpenAI API
This is a simple image generator using OpenAI API. you can generate images by entering short description of the image or by entering a keyword.
Demo
https://image-generate-with-openai.netlify.app/

images generated by AI



How to use
- type a short description of the image or a keyword
- click on the generate button and wait 3-5 seconds for the images to load
- you will get 3 images generated by the API
API Reference
Note: Sign up for an API key and add it to the api.js file
Run Locally
Clone the project
git clone https://github.com/abhishekraoas/image-generate-with-openai.git
Go to the project directory
- Create api.js file in the root directory and add your API key
const api = "YOUR_API_KEY";
cd image-generate-with-openai
Open index.html in your browser
Log in or sign up for Devpost to join the conversation.