This is a simple Flask web app that uses OpenAI's GPT-4o model to generate 30 hashtags based on an uploaded image. Just upload an image, and the app will suggest hashtags you can copy and use for social media or marketing.
- Upload an image and get AI-generated hashtags
- Live image preview before submission
- Click-to-select hashtags
- Copy selected hashtags to a text area
- Python (Flask)
- HTML / CSS / JavaScript
- OpenAI API
- Jinja2 Templating
- Clone this repository
- Install dependencies:
pip install -r requirements.txt- Create a
.envfile and add your OpenAI API key:
OPENAI_KEY=your_api_key_here-
Run the app:
-
Open your browser and go to
http://localhost:5000
- Make sure your API key has access to GPT-4o.
- Uploaded images are saved temporarily during processing.
MIT License