Repository navigation
User Guide Google API
The Google API tab fetches image results programmatically through the Google Custom Search JSON API and shows them as clickable thumbnails. It requires a Google API key, and unlike the web tabs it supports the AI Pick Best workflow directly.
- Open the Google Cloud Console.
- Create a project (or select an existing one).
- Enable the Custom Search JSON API for the project.
- Create an API key under APIs & Services > Credentials.
- In FindRomCover, open
Settings > API Settings..., paste the key, and click Save.
The search engine used by FindRomCover is preconfigured; you only need the API key.
!!! note The API key is stored encrypted in the settings database and is never written to log files.
- Select a game in the missing covers list.
- Switch to the Google API tab. Thumbnails load automatically.
- Adjust the Extra Query to refine results.
- Click a thumbnail to save it as the cover. The image is downloaded, converted to PNG if necessary, and saved as the sanitized
[gamename].png.
Thumbnail size follows Set Thumbnail Size (100–500 pixels), the same setting that controls the Local Files previews.
- Each request asks Google for a fixed 10 results.
- Results whose link is empty are skipped, so fewer than 10 thumbnails may appear.
- The query re-runs every time the Google API tab becomes active with a game selected. Results are not cached: switching away and back issues a fresh request and replaces the previous thumbnails.
- If the full-size image cannot be downloaded, or if it is narrower than the Min cover width setting (default 200 px, configured in AI Settings), FindRomCover tries the provider-hosted thumbnail as a fallback before giving up on that result.
- If no Google API key is set when you open the tab, FindRomCover explains that a key is required and opens
Settings > API Settings....
When AI Vision Assist is enabled, AI Pick Best works on this tab: the model inspects the Google results and highlights the best cover, which is moved to the front and marked with a green AI badge. See Picking Covers.
The Custom Search JSON API has a free daily quota (100 queries per day at the time of writing). Because the query re-runs on every tab activation, frequent tab switching can consume the quota faster. FindRomCover translates API failures into readable messages:
| Response | Meaning | What to do |
|---|---|---|
| 400 | Bad request | Check the query and key |
| 401 | Unauthorized | The API key was rejected; re-enter it under Settings > API Settings...
|
| 403 | Forbidden | The API is not enabled for the key, or billing/quota restrictions apply |
| 429 | Rate limit / quota exceeded | Wait until the quota resets or enable billing in Google Cloud |
Failures are logged as warnings with the full details available in the log window.
- One query returns at most 10 results; there is no paging.
- Every activation of the Google API tab with a selected game sends a new request, so avoid switching tabs repeatedly while hunting for one cover.
- The free tier is usually sufficient for manual cover hunting. For AI batch runs with API fallback, keep an eye on the daily quota — see Batch Fill.
| Symptom | Solution |
|---|---|
| "API Key is not set" | Add the key under Settings > API Settings...
|
| No results for a valid game | Refine the Extra Query; some titles are simply not indexed |
| All requests fail after many uses | You likely hit the daily quota; wait for the reset |
| Thumbnails load but clicking fails | Check the log for download or conversion errors and verify write access to the image folder |
| A narrow image was rejected | It was below Min cover width and the thumbnail fallback also did not qualify; lower the setting or pick another result |
FindRomCover — find and download missing cover art for your retro gaming ROM collection.
Getting Started
User Guide
- Interface Overview
- Folders & Scanning
- Local Files Search
- Web Search (Google Web & Bing Web)
- Google Custom Search API
- Image Handling
- Missing Covers List
- Screenshots
AI Vision Assist
- AI Vision Assist
- Providers & Models
- AI Settings
- Picking Covers
- Batch Fill
- Query History
- Recommended Models
- AI Troubleshooting
Configuration
- Settings Overview
- Themes & Appearance
- Similarity Algorithms
- Supported Extensions
- Data Storage
- Logs & Diagnostics
- Bug Reports
- Privacy
Reference
Development
More