Spaces:
Sleeping
Sleeping
metadata
title: VisualMind AI
emoji: ποΈ
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
VisualMind AI
Upload any image and instantly get an AI-generated caption, a detailed analysis, and a chat interface to ask follow-up questions about it.
What it does
- Upload an image (JPEG, PNG, WebP, or GIF up to 4 MB)
- BLIP (HuggingFace) generates a quick caption
- Llama 4 Scout (Groq) gives a deep analysis β objects, colors, text, context
- Ask follow-up questions in the chat β the AI remembers the image and your conversation
What you need
Two free API keys β no credit card required:
| Key | Where to get it |
|---|---|
| Groq API key | console.groq.com β API Keys |
| HuggingFace token | huggingface.co/settings/tokens β New token (enable Inference) |
Run it locally
git clone https://github.com/auntor101/visual-mind-ai
cd visual-mind-ai
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # Mac/Linux
pip install -r requirements.txt
copy .env.example .env # Windows
# cp .env.example .env # Mac/Linux
Edit .env and add your keys:
GROQ_API_KEY=gsk_...
HF_TOKEN=hf_...
Then run:
streamlit run app.py
Open http://localhost:8501 in your browser.
Deploy to HuggingFace Spaces
- Create a new Space at huggingface.co/spaces β choose Docker as the SDK
- Push this repo to that Space
- Go to Settings β Secrets and add
GROQ_API_KEYandHF_TOKEN - Wait for the build β your app will be live at the Space URL
Tech stack
- Streamlit β UI
- Groq β Llama 4 Scout 17B vision model
- HuggingFace Inference API β BLIP-large captioning
- Pillow β image processing