This project is a meme generator that uses OpenAI's GPT and DALL-E models to create humorous memes based on user prompts.
-
Clone the repository:
git clone https://github.com/vandyand/meme-generator.git cd meme-generator -
Install dependencies:
npm install -
Create a
.envfile in the root directory with the following content:OPENAI_API_KEY=your_openai_api_key CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name CLOUDINARY_API_KEY=your_cloudinary_api_key CLOUDINARY_API_SECRET=your_cloudinary_api_secretReplace the placeholder values with your actual API keys.
-
Start the development server:
npm run dev -
Open your browser and navigate to
http://localhost:3000to use the meme generator.
- Enter a meme description in the input field.
- Click the "Generate Meme" button.
- Wait for the meme to be generated and displayed.
- Click on the generated meme to copy its URL to the clipboard.
- Node.js
- Express.js
- OpenAI API (GPT-3.5 and DALL-E)
- Cloudinary
- TailwindCSS
This application is hosted on Heroku. You can access the live version at: https://dumb-meme.herokuapp.com/
This project is licensed under the ISC License.