A simple web app that uses an AI model to generate natural-language captions for uploaded images. Powered by Hugging Face's BLIP image captioning model and built with Next.js + TypeScript.
- 📷 Upload an image and receive a descriptive caption
- 🤖 Uses Hugging Face Spaces with a BLIP captioning model (
meigo07/blip-captioning-api) - ⚡ Real-time inference via the
@gradio/client - ✅ TypeScript support with safe error handling
- 🧪 Great starting point for AI-assisted content tools
- Frontend: Next.js, TypeScript
- AI Model: BLIP
- API: Hugging Face Spaces + Gradio
- Utilities:
@gradio/client, base64 image handling
git clone https://github.com/your-username/ai-image-caption-generator.git
cd ai-img-caption-generator
npm install
npm run dev