Skip to content

Web Application that uses DALL·E 2 to generate images from text prompt

License

Notifications You must be signed in to change notification settings

lowkeyypal/ai-image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

Built a web application that creates images from scratch based on user‑provided text.

Features

  • 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.

Screenshots

Tech Used

  • OpenAI API
  • NodeJS
  • Express
  • HTML
  • CSS
  • JS

Setup

NOTE: Use terminal on Windows for this setup.

  1. Install Express, OpenAI API and Dotenv
npm i express openai dotenv
  1. Create .env file
PORT=5000
OPENAI_API_KEY='YOUR_API_KEY'
  1. Start server
npm run dev  
  1. Visit localhost:5000 on your browser

License

MIT

About

Web Application that uses DALL·E 2 to generate images from text prompt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published