← 返回
未分类 Key 中文

SearchOnlineAssets

Online asset search tool: queries public stock libraries (Pixabay) for high-quality photos, illustrations, vectors and videos, returning result metadata and...
在线素材搜索工具:查询公共素材库(如Pixabay),获取高质量图片、插画、矢量图和视频,返回结果元数据...
dlazyai dlazyai 来源
未分类 clawhub v1.0.9 1 版本 99811.9 Key: 需要
★ 0
Stars
📥 1,061
下载
💾 1
安装
1
版本
#latest

概述

searchOnlineAssets

English · 中文

Online asset search tool: queries public stock libraries (Pixabay) for high-quality photos, illustrations, vectors and videos, and returns result metadata + URLs for use in the current workflow.

Trigger Keywords

  • searchOnlineAssets
  • pixabay
  • online asset search

Authentication

All requests require a dLazy API key, configured through the CLI:

dlazy auth set YOUR_API_KEY

The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.

Getting Your API Key

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. Copy the key shown in the API Key section

Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.

About & Provenance

You can install on demand without persisting a global binary by running:

npx @dlazy/cli@1.0.9 <command>

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/cli@1.0.9). Review the GitHub source before installing.

How It Works

This skill is a thin wrapper around the public Pixabay search API, exposed through the dLazy tool runtime. When you invoke it:

  • The query and filter parameters you provide are forwarded to the Pixabay API.
  • Pixabay returns a list of hits; the tool projects each entry to a stable shape (id, tags, preview / web-format / large URLs, dimensions).
  • The skill itself does not access network or filesystem resources beyond the Pixabay HTTP request handled inside the dLazy tool runtime.

This is the standard SaaS pattern; the asset URLs returned are hosted by Pixabay (pixabay.com), not by dLazy. See dlazy.com for the full service terms.

Usage

CRITICAL INSTRUCTION FOR AGENT:

Invoke the searchOnlineAssets tool with a structured input object. This is an internal AI tool, not a CLI command — it runs inside the model's tool-call channel.

Input schema:

{
  query: string;                                            // required search keyword(s); prefer English for better recall
  imageType?: "all" | "photo" | "illustration" | "vector";  // default: "all"
  orientation?: "all" | "horizontal" | "vertical";          // default: "all"
  page?: number;                                            // default: 1
  perPage?: number;                                         // default: 10 (max 200 per Pixabay)
  lang?: string;                                            // default: "zh"; pass "en" for English-tagged matches
}

Behaviour notes:

  • safesearch is forced to true server-side; explicit content is filtered out.
  • Pixabay performs best with English keywords. Translate user-provided Chinese terms (e.g., "咖啡 → coffee") before issuing the request when accuracy matters.
  • Pick the most relevant largeImageURL (or matching video preview URL) and surface the URL plus tags to the user; do not dump the entire hits array.
  • If total === 0, tell the user no matching asset was found and suggest a broader keyword.

Output Format

{
  "total": 1234,
  "hits": [
    {
      "id": 5179107,
      "tags": "coffee, cup, latte art",
      "previewURL": "https://cdn.pixabay.com/.../preview.jpg",
      "webformatURL": "https://pixabay.com/.../webformat.jpg",
      "largeImageURL": "https://pixabay.com/.../large.jpg",
      "imageWidth": 6000,
      "imageHeight": 4000
    }
  ]
}

Examples

// Find horizontal photos of cityscapes
searchOnlineAssets({
  query: 'cityscape skyline',
  imageType: 'photo',
  orientation: 'horizontal',
  perPage: 6,
})
// Find vector icons for nature
searchOnlineAssets({
  query: 'leaf nature icon',
  imageType: 'vector',
  perPage: 12,
})

Error Handling

CodeError TypeExample Message
-------------------------------------------------------------------
401Unauthorized (No API Key)Pixabay API key is not configured
502Upstream API failedPixabay API error:
503Network / fetch failedFailed to search images from Pixabay

> AGENT CRITICAL INSTRUCTION:

>

> 1. If the tool throws Pixabay API key is not configured, the workspace is missing its Pixabay credentials — inform the user and stop; do not retry.

> 2. If Pixabay API error is returned, retry once with a simpler / shorter query before falling back to telling the user no result was found.

Tips

Visit https://dlazy.com for more information.

版本历史

共 1 个版本

  • v1.0.9 当前
    2026-04-30 22:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 426 📥 116,389
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,199
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 46,807