Skip to content

AI-powered photo framer and caption generator built with Flask, BLIP, and OpenAI — upload any image and get a beautifully framed, AI-enhanced version instantly.

Notifications You must be signed in to change notification settings

Deepak-Birkhani/PicShot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 PicShot — AI Image Framer

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.


🚀 Features

  • 🧠 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.

🏗️ Tech Stack

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)

🧰 Installation & Setup

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

About

AI-powered photo framer and caption generator built with Flask, BLIP, and OpenAI — upload any image and get a beautifully framed, AI-enhanced version instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published