-
Notifications
You must be signed in to change notification settings - Fork 7
Getting Started
Welcome to LrGeniusAI! This guide will walk you through setting up the plugin, indexing your first batch of photos, and starting your AI-powered Lightroom workflow.
To begin, you must install both the Lightroom Classic plugin frontend and the Python backend server. These components communicate locally to process your images without freezing the Lightroom UI.
Please refer to the high-level installation instructions on the root README.md or the detailed steps in the plugin/README.md.
Because LrGeniusAI is an open-source project and the current installers are not code-signed, your operating system will likely flag them as "untrusted" or "malicious". This is a standard security precaution for any third-party software that has not been notarized by Microsoft or Apple.
When you run the installer or the backend .cmd file, you may see a "Windows protected your PC" dialog.
- Click More info.
- Click Run anyway.
When you try to open the .pkg installer or the backend binary:
- Right-click (or Control-click) the file in Finder.
- Select Open from the menu.
- In the dialog that appears, click Open again.
- If it still fails, go to
System Settings -> Privacy & Security, scroll down to the "Security" section, and click Open Anyway.
Once installed, open the Lightroom Plug-in Manager (File -> Plug-in Manager) and locate LrGeniusAI. Here you need to:
-
Set the Backend Server URL: This defaults to
http://127.0.0.1:8000but if you're running the backend on a different machine (e.g. via Docker), update the address here. - Configure Provider/API Keys: If you plan to use cloud providers like OpenAI or Google Gemini, enter your API keys. For local providers like Ollama or LM Studio, ensure their respective base URLs are correctly configured.
- Set Vertex AI Details: If using Google Cloud's Vertex AI, provide your project ID and preferred location.
Having trouble? Refer to the Troubleshooting guide for connectivity and API issues.
Before semantic search or AI-assisted culling can work, the backend needs to process ("index") your photos.
- Select one or more photos in your Lightroom Library grid.
- Navigate to
Library -> Plug-in Extras -> Analyze & Index Photos. - The plugin will pass the photos to the backend, generate descriptions, tags, and AI embeddings, and store them.
Once indexing finishes, try out Advanced Search, the People workflows, or use Retrieve Metadata to inject the generated tags straight back into your catalog.
Note: This step is only relevant if you are upgrading from an older version of LrGeniusAI.
If your previous database relied on Lightroom catalog UUIDs, you must migrate to the new photo_id system:
- Open
File -> Plug-in Manager. - Open LrGeniusAI settings.
- In the
Backend Serversection, click Migrate existing DB IDs to photo_id. - Wait for the progress dialog to complete. This ensures you do not lose any previously generated metadata or semantic search indexes.
After indexing your photos, you can automate the process of picking the best shots from bursts or removing near-duplicates:
- Select the group of photos you want to cull, or leave it empty to use the current folder view.
- Open
Library -> Plug-in Extras -> Cull Similar Photos. - Choose a culling preset (e.g.,
defaultorsports) depending on how aggressive you want the AI to be. - Wait for the backend to group and analyze your photos.
- LrGeniusAI will rapidly create a time-stamped Collection Set in Lightroom containing
Picks,Alternates,Reject Candidates, andDuplicates. Your view will automatically switch to thePickscollection so you can review the best shots right away.
We highly recommend creating regular backups of your backend data, especially before migrations, moving to a new server, or performing maintenance.
- Open
File -> Plug-in Manager. - Navigate to
Backend Serverand click Download DB backup. - Save the resulting
.zipfile somewhere safe. The backup contains the full persistent backend directory including your embeddings and metadata databases.
For users of Google's Vertex AI, you need to use Google Cloud ADC (Application Default Credentials) on the host running the server.
From your server terminal:
gcloud init
gcloud config set project YOUR_PROJECT_ID
gcloud auth application-default loginIf your backend is running in the remote Docker Compose environment:
mkdir -p gcloud
docker compose up -d --build
docker compose exec geniusai-server gcloud config set project YOUR_PROJECT_ID
docker compose exec geniusai-server gcloud auth application-default loginFor headless servers without a GUI/browser:
docker compose exec geniusai-server gcloud auth application-default login --no-browserThe ./gcloud:/root/.config/gcloud bind mount keeps your ADC credentials intact between container restarts.
For further reading, we've migrated several curated guides from the project website: