Install
openclaw skills install dataify-google-lensWhen the user requests "Call Google Lens" or "Search by Image", the dataify-google-lens skill is triggered.
openclaw skills install dataify-google-lensUse this skill to turn a user's Google Lens or reverse-image-search request into a Dataify Scraper API form submission.
Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.
engine value.pizza, us, en, dates, airport codes, or tokens as defaults.Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:
python3 scripts/preview_params.py --params-json '{"q":"USER_QUERY"}'
Pass every parsed current value to preview_params.py using --params-json or matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one.
9. After confirmation and token handling, call the bundled Python script with python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.
url for the image URL, set engine to google_lens, and infer optional fields only when the user asks for them.engine: google_lensjson: 1type: allno_cache: false
Fields with no documented default stay unset. Do not treat examples such as us, en, active, or true as defaults.Authorization in the table. Use the bundled script's preview mode, then show its Markdown table directly:python3 scripts/google_lens.py --url "https://example.com/image.jpg" --json 1 --type all --country us --preview
Ask the user: 请确认是否需要修改这些参数;确认无误后我再调用接口。
DATAIFY_API_TOKEN.python3. Run it from this skill directory, or use the absolute path to scripts/google_lens.py. The script submits form data to the hardcoded API endpoint; it does not send a JSON body.python3 scripts/google_lens.py --url "https://example.com/image.jpg" --json 1 --type all --country us
Natural-language fallback is available when useful:
python3 scripts/google_lens.py --request "Search Google Lens for https://example.com/image.jpg, products, country US, safe on, no cache"
Use references/google_lens_api.md when you need the exact field list, defaults, constraints, or examples.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_lens.url cannot be inferred from the user's request.Bearer is accepted and prefixed automatically.Authorization in the preview table, and never print the token value in the final explanation.Common mappings:
urljson: "1"json: "2"json: "3"json: "4"hlcountrytype: "all"type: "products"type: "about_this_image"type: "exact_matches"type: "visual_matches"all, visual_matches, or products -> qsafe: "active" or safe: "off"no_cache: "true"