MEGA-AI is a Web Application for generating images from text using stability-ai using only vanilla javascript.
The project is based on Fireship course for javascript.
- Run
nvm use
to use the correct Node.JS version. - Run
npm install
to install dependencies.
- Run
npm run dev
to start the application - Go to http://localhost:5173 to view the website.
To set up the enviroment you have to signup for replicate
to get your API key and paste it in .env
file.
replicate_KEY="Your replicate API key"
Run this command to start up the server:
node server.js
And now you are good to go.
Test the app and i am waiting for your feedback😊.