Built a web application that creates images from scratch based on user‑provided text.
- It uses DALL·E 2 to create realistic images and art from a description in natural language.
- Used NodeJS to create a REST API endpoint for fetching the generated image and displaying it on frontend.
- OpenAI API
- NodeJS
- Express
- HTML
- CSS
- JS
NOTE: Use terminal on Windows for this setup.
- Install Express, OpenAI API and Dotenv
npm i express openai dotenv- Create .env file
PORT=5000
OPENAI_API_KEY='YOUR_API_KEY'
- Start server
npm run dev - Visit localhost:5000 on your browser

