Install
openclaw skills install google-image-api-skillThis skill helps users automatically extract structured image data from Google Images via BrowserAct API. Agent should proactively apply this skill when users express needs like finding images for specific keywords, gathering product style images for competitors, building visual datasets at scale, scanning visual search results for market research, tracking localized image trends by country, compiling related image thumbnails and links, extracting image titles and source logos, fetching click through URLs from image results, monitoring competitor visual assets, sourcing creative content for specific topics, looking up product pictures in different regions, collecting structured image metadata without opening detail pages.
openclaw skills install google-image-api-skillThis skill provides users with one-click image data extraction directly from Google Images using the BrowserAct Google Image API template. It allows you to search with keywords, set country and language, control scroll depth and result limits, returning clean, structured image metadata directly via API.
Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take any further action; you should request and wait for the user to provide it collaboratively.
The Agent must inform the user at this point:
"Since you haven't configured the BrowserAct API Key yet, please go to the BrowserAct Console to get your Key first."
The Agent should flexibly configure the following parameters according to user needs when calling the script:
KeyWords (Search keywords)
stringflower, ai agent, teslaCountry (Country or region bias)
stringus, gb, ca, au, de, fr, es, jp, krusLanguage (UI language)
stringen, zh-CN, zh-TW, ja, ko, fr, de, esenScroll_count (Number of scroll actions)
number5Datelimit (Maximum items)
number50The Agent should execute the following independent script to achieve "results with one command":
# Example invocation
python -u ./scripts/google_image_api.py "KeyWords" "Country" "Language" Scroll_count Datelimit
Since this task involves automated browser operations, it may take a considerable amount of time (several minutes). The script will continuously output status logs with timestamps while running (e.g., [14:30:05] Task Status: running).
Agent Notice:
After successful execution, the script will parse and print the results directly from the API response. The results include:
is_product: Whether the result is detected as a product-style listinglink: Click-through URL associated with the resulttitle: Image result title or caption textsource_logo: Source site logo URLsource: Source site name shown in resultsrelated_content_id: Google Images related content identifierthumbnail: Thumbnail image URLindex: Result index in the listDuring the execution of the script, if an error occurs (such as network fluctuation or task failure), the Agent should follow this logic:
Check the output:
"Invalid authorization", it means the API Key is invalid or expired. In this case, do not retry; guide the user to check and provide the correct API Key."Invalid authorization" but the task execution fails (for example, the output starts with Error: or the result is empty), the Agent should automatically try executing the script one more time.Retry limit:
jp) or France (fr).