Reference

searchGoogleImages

Search Google Images and return image results with URLs and metadata.
mindstudio.searchGoogleImages({ query, exportType }) → Result

Searches Google Images and returns image results with URLs and metadata.

Parameters
query
string
RequiredThe image search query
exportType
string
RequiredFormat for the variable value: "text" or "json"
textjson
countryCode
string
Google gl country code (defaults to US)
languageCode
string
Google hl language code (defaults to "en")
dateRange
string
Time range filter: "hour", "day", "week", "month", "year", or "any"
hourdayweekmonthyearany
numResults
number
Number of results to return (1-100, default: 30)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.searchGoogleImages({
  query: /* ... */,
  exportType: /* ... */
});