LaunchKit · 2026
Back to Skills

doubao-image-gen

Use Zhipu (智谱) web search API for searching the internet.

0
0 downloads
by @honestqiao

Setup & Installation

openclaw skills install @honestqiao/doubao-image-gen

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install doubao-image-gen

What This Skill Does

Runs web searches using Zhipu's (智谱) GLM-4-Flash model and its built-in web_search tool. Returns current information from the internet in response to natural language queries. The API key must be set before use.

Brings live web search results directly into an agent workflow without requiring a separate search API subscription or browser automation.

When to use it

  • Looking up breaking news on a specific topic
  • Checking current prices or availability of a product
  • Finding the latest version or release notes for a library
  • Retrieving real-time sports or event results
  • Getting up-to-date facts before drafting a report

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What are the latest developments in quantum computing this week?

AGENT
  1. 1Read the DOUBAO_API_KEY from the environment
  2. 2Construct a POST request to the Zhipu chat completions endpoint with the web_search tool enabled
  3. 3Send the query via curl with a 30-second timeout
  4. 4Parse the JSON response with jq to extract the message content
  5. 5Return the search results to the user
OUTPUT

A summary of recent quantum computing news sourced from current web results

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

DOUBAO_API_KEY environment variableZhipu AI account at bigmodel.cn to generate the API key