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 useto use the correct Node.JS version. - Run
npm installto install dependencies.
- Run
npm run devto 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.jsAnd now you are good to go.
Test the app and i am waiting for your feedback😊.