This Python application provides a user-friendly interface to interact with local Large Language Models (LLMs) for generating text prompts from images or enhancing a simple prompt. It supports popular local API servers like Ollama, LM Studio, and Koboldcpp.

Get the free Pro version: https://github.com/rorsaeed/ai-prompt-assistant-pro/
Before running the application, you MUST have one of the following installed and running with a vision-capable model loaded.
ollama run llava.LLaVA or Moondream GGUF).<-> icon).koboldcpp.exe from their GitHub Releases.--usevulkan).
# Example command to launch Koboldcpp
koboldcpp.exe --model "C:\path\to\your-vision-model.GGUF" --usevulkan
http://localhost:5001.You must have a vision-capable model ready to use.
A great GGUF model for generating detailed prompts is available here: bartowski/mlabonne_gemma-3-27b-it-abliterated-GGUF
The application now supports video analysis using Google's Gemini models. This feature allows you to upload and analyze video files for content description, scene analysis, and more.
temp_videos/ directoryThis is the recommended method for most Windows users. This script will automatically install everything you need.
Download the Installer:
Go to the GitHub Releases Page and download the Image-to-Prompt-Installer.zip file from the latest release.
Unzip the File:
Right-click the downloaded .zip file and select "Extract All..." to unzip the folder.
Run as Administrator:
Open the unzipped folder, right-click on the setup_everything.bat file, and choose "Run as administrator".
Approve Permissions: Windows will ask for permission to run the script. Click "Yes". A PowerShell window will open and begin the installation process.
Wait for Installation: The script will automatically check for and install Git, Python, and LM Studio if they are missing. It will then download the application code and set up all the necessary Python packages. This may take several minutes.
Follow Final Instructions:
Once finished, the script will open the final installation folder (C:\ImageToPromptApp) and display a message with the next steps.
After installation, follow these critical steps:
mlabonne_gemma-3-27b-it-abliterated-GGUF).<->).OpenAI API.C:\ImageToPromptApp).run.bat file. Your web browser will open with the application ready to use!Get the code from GitHub:
git clone https://github.com/rorsaeed/image-to-prompt.git
cd image-to-prompt
Run the simple installer:
Double-click install.bat. This will create a Python virtual environment and install all dependencies.
Launch the app!
Double-click run.bat.
(Optional) Update the app:
Double-click update.bat to pull the latest changes from GitHub.
Get the code from GitHub:
git clone https://github.com/rorsaeed/image-to-prompt.git
cd image-to-prompt
Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install the required packages:
pip install -r requirements.txt
Run the Streamlit application:
streamlit run app.py
Your web browser will open with the application running. Configure the API provider, URL, and select your model(s) from the sidebar to begin.
37 followers · starred Jul 2025
This Python application provides a user-friendly interface to interact with local Large Language Models (LLMs) for generating text prompts from images or enhancing a simple prompt. It supports popular local API servers like Ollama, LM Studio, and Koboldcpp.

Get the free Pro version: https://github.com/rorsaeed/ai-prompt-assistant-pro/
Before running the application, you MUST have one of the following installed and running with a vision-capable model loaded.
ollama run llava.LLaVA or Moondream GGUF).<-> icon).koboldcpp.exe from their GitHub Releases.--usevulkan).
# Example command to launch Koboldcpp
koboldcpp.exe --model "C:\path\to\your-vision-model.GGUF" --usevulkan
http://localhost:5001.You must have a vision-capable model ready to use.
A great GGUF model for generating detailed prompts is available here: bartowski/mlabonne_gemma-3-27b-it-abliterated-GGUF
The application now supports video analysis using Google's Gemini models. This feature allows you to upload and analyze video files for content description, scene analysis, and more.
temp_videos/ directoryThis is the recommended method for most Windows users. This script will automatically install everything you need.
Download the Installer:
Go to the GitHub Releases Page and download the Image-to-Prompt-Installer.zip file from the latest release.
Unzip the File:
Right-click the downloaded .zip file and select "Extract All..." to unzip the folder.
Run as Administrator:
Open the unzipped folder, right-click on the setup_everything.bat file, and choose "Run as administrator".
Approve Permissions: Windows will ask for permission to run the script. Click "Yes". A PowerShell window will open and begin the installation process.
Wait for Installation: The script will automatically check for and install Git, Python, and LM Studio if they are missing. It will then download the application code and set up all the necessary Python packages. This may take several minutes.
Follow Final Instructions:
Once finished, the script will open the final installation folder (C:\ImageToPromptApp) and display a message with the next steps.
After installation, follow these critical steps:
mlabonne_gemma-3-27b-it-abliterated-GGUF).<->).OpenAI API.C:\ImageToPromptApp).run.bat file. Your web browser will open with the application ready to use!Get the code from GitHub:
git clone https://github.com/rorsaeed/image-to-prompt.git
cd image-to-prompt
Run the simple installer:
Double-click install.bat. This will create a Python virtual environment and install all dependencies.
Launch the app!
Double-click run.bat.
(Optional) Update the app:
Double-click update.bat to pull the latest changes from GitHub.
Get the code from GitHub:
git clone https://github.com/rorsaeed/image-to-prompt.git
cd image-to-prompt
Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install the required packages:
pip install -r requirements.txt
Run the Streamlit application:
streamlit run app.py
Your web browser will open with the application running. Configure the API provider, URL, and select your model(s) from the sidebar to begin.
37 followers · starred Jul 2025