Skip to content

rachit23tech/Ai-Instagram-Caption-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Instagram Caption Generator

An AI-powered application that generates engaging Instagram captions from images.
The system combines computer vision, large language models, and semantic ranking to create stylish captions with emojis, multilingual translations, and engagement scoring.

Built using Streamlit, BLIP Vision Models, Groq Llama LLMs, and CLIP embeddings.


Features

  • Generate Instagram captions from images
  • Multiple caption styles (Instagram, Funny, Savage, Aesthetic, Motivational, Poetic)
  • Emoji caption generation
  • Punjabi translation support
  • Viral score prediction (engagement estimate)
  • Caption ranking using CLIP embeddings
  • Automatic hashtag generation
  • Caption rating and dataset collection
  • Download generated captions
  • Streamlit web interface

Architecture

Image Upload ↓ BLIP Vision Model ↓ Image Description ↓ Groq Llama LLM ↓ Caption Package ↓ CLIP Ranking ↓ Streamlit UI

The system combines:

  • BLIP → Image understanding
  • Groq Llama → Caption generation
  • CLIP → Caption ranking
  • Streamlit → Interactive UI

Tech Stack

Component Technology
Frontend Streamlit
Vision Model BLIP (HuggingFace Transformers)
LLM Groq Llama
Semantic Ranking CLIP (Sentence Transformers)
Language Python
Deployment Streamlit Cloud

Installation

Clone the repository:

git clone https://github.com/rachit23tech/ai-instagram-caption-generator.git
cd ai-instagram-caption-generator

##Install dependencies:

pip install -r requirements.txt

About

AI-powered Instagram caption generator that converts images into styled captions using BLIP vision models, Groq Llama LLMs, and CLIP ranking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages