Downloads · 30 days
0
nomanmanzoor/image-prompt-model
image-prompt-model is a image-to-text model from nomanmanzoor. Use it when you need a caption or text from an image. It is set up for transformers. The card lists the license as mit.
This is a simple and effective model that generates text prompts from uploaded images using BLIP + Transformers. It uses Salesforce/blip-image-captioning-base under the hood and is optimized for use with Streamlit.
Downloads · 30 days
0
Access
Public
Updated Jul 23, 2025
Repo size
1.4 MB
Likes
3
Public
Click a slice to open those files.
Other1.6 KB · 40%
From the Hugging Face model README
This is a simple and effective model that generates text prompts from uploaded images using BLIP + Transformers.
It uses Salesforce/blip-image-captioning-base under the hood and is optimized for use with Streamlit.
Upload an image of a mountain and get a prompt like:
“A scenic view of snowy mountains under a clear blue sky.”
from model import ImagePromptModel
model = ImagePromptModel()
result = model.generate_prompt("your_image.jpg")
print(result)