Skip to content

Using the OpenAI API, generate an image based on any text that is inputted

Notifications You must be signed in to change notification settings

aneeshv12/ImageGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageGenerator

Using the OpenAI API, generate an image based on any text that is inputted

Getting Started

  • Go to (https://beta.openai.com/) and register for a free account. After signing up, create an API key under settings.

  • Next, follow these steps in your command line

# Clone the repository using this command:
git clone [email protected]:aneeshv12/ImageGenerator.git

#After cloning, create a .env file using this command:
touch .env
  • In the .env file, enter the API key that you generated on the OpenAI API website like this:
VITE_Open_AI_Key = <API_KEY>

Installing

  • Run this to install all the required dependencies
npm install

Executing and running the program

  • Run this command to start the application:
npm run dev

About

Using the OpenAI API, generate an image based on any text that is inputted

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published