PicShot is an AI-powered image enhancement web app that automatically generates creative frames and captions for uploaded photos.
It uses BLIP (Bootstrapped Language Image Pretraining) for image captioning and OpenAI GPT for concept-based frame styling — all packed in a simple Flask web interface.
- 🧠 AI Captioning – BLIP model generates a descriptive caption for your uploaded image.
- 🎨 AI Framing – OpenAI creates a unique artistic frame or themed enhancement based on the image content.
- ⚡ Dynamic Frontend UI – Clean and responsive web interface built with HTML, CSS & JS.
- 💾 Download Output – Download your AI-framed image in one click.
- 🖼️ Instant Preview – Live preview of uploaded image before processing.
- 🔐 CORS Enabled – Secure and accessible Flask API communication.
Frontend:
- HTML5, CSS3, JavaScript
- Fetch API for async Flask communication
Backend:
- Python (Flask)
- Transformers (BLIP Model)
- OpenAI GPT API
- Pillow (Image Editing)
- Torch (for model inference)
Follow these steps to run PicShot locally:
# 1️⃣ Clone this repository
git clone https://github.com/Deepak-Birkhani/PicShot.git
cd PicShot
# 2️⃣ Create and activate a virtual environment
python -m venv venv
venv\Scripts\activate # (Windows)
# or
source venv/bin/activate # (Linux/Mac)
# 3️⃣ Install dependencies
pip install -r requirements.txt
# 4️⃣ Run the Flask server
python app.py